aMSN Forums
February 11, 2012, 12:25:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: AMSN on FreeBSD 0.96_1  (Read 7663 times)
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« on: October 01, 2007, 09:23:54 am »

I'm trying to install AMSN on a FreeBSD machine via port but it keeps giving me this error:

===>  Building for amsn-0.96_1
  CXX     utils/TkCximage/src/TkCximage.cpp.o
In file included from utils/TkCximage/src/TkCximage.cpp:11:
utils/TkCximage/src/TkCximage.h:23:25: tkPlatDecls.h: No such file or directory
gmake: *** [utils/TkCximage/src/TkCximage.cpp.o] Error 1
*** Error code 2

Stop in /usr/ports/net-im/amsn.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #1 on: October 02, 2007, 08:25:50 am »

you need tk-dev and tcl-dev packages.
Logged

KaKaRoTo
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #2 on: October 02, 2007, 12:26:23 pm »

I did cvsup last night, been searching for the tcl-dev and tk-dev packages and didn't find any, only variants of tcl and tk names.

In /usr/local/lib I got:

rwxr-xr-x   5 root  wheel       512 Oct  2 07:24 tcl8
drwxr-xr-x   8 root  wheel       512 Oct  1 08:42 tcl8.4
drwxr-xr-x   6 root  wheel       512 Oct  2 07:24 tcl8.5
drwxr-xr-x  82 root  wheel      1536 Oct  2 07:30 tcllib
drwxr-xr-x   3 root  wheel       512 Oct  2 11:53 tclx8.4
drwxr-xr-x   5 root  wheel      1024 Oct  1 08:42 tk8.4
drwxr-xr-x   2 root  wheel       512 Oct  1 08:43 tls


Doesn't this mean I got tcl and tk installed?

Sorry for this, I'm kinda new in FreeBSD world
Logged
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #3 on: October 02, 2007, 01:12:20 pm »

Never mind I think I found it.

For those that had the same problem and didn't find out:

Go to http://www.tcl.tk/software/tcltk/downloadnow85.html download their packages then after extracting the contents of each (both tcl and tk) do:

cd unix
./configure
make install clean

for each one of those then try and install amsn and it will work.

Thank you for your help.
Logged
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #4 on: October 02, 2007, 02:39:03 pm »

I'm trying now to run aMSN but when I do it says "You can't load TkCximage..." I've already recompiled aMSN, tcl and tk and still doesn't work
Logged
Zalbor
Super Power User
**
Offline Offline

Posts: 253


View Profile
« Reply #5 on: October 03, 2007, 08:37:48 pm »

The page you link to is to download tcl/tk8.5 (which is still in beta by the way).
I'm on a linux system, but I got that same message you mention once, and I found out it was because I had compiles amsn with 8.5 (like you did) but the "default" (so to speak) version instaleld was still 8.4, and that's what caused the problem.
Try running amsn with wish8.5, if freebsd works similar to what I'm used to this command will be it:
Code:
wish8.5 ./amsn
Logged
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #6 on: October 03, 2007, 10:20:43 pm »

Thank you for the reply, I've installed the 8.5 version cause it was the one saying dev but I'll try with 8.4 and then with wish and post here if it works.
Logged
Reality
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #7 on: October 04, 2007, 10:26:35 am »

I did have the tcl8.4 installed, removed all tcl* and tk* and installed the 8.5 version however when compiling aMSN it still fetches and installs tk.

Though, using:

#wish8.5 /usr/local/bin/amsn

Works well, created a launcher with this command so I don't have to type it all the time even.

Thank you Zalbor for your help.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!