*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i want to install amsn on freebsd
and i know i need to install tk84
thats what i do
cd /usr/ports/x11-toolkits/tk84/ >
make install clean >
and i get all kind of errors
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tkInt.h:1173: error: syntax error before "int"
In file included from /usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:16:
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.h:74: error: syntax error before "Tcl_HashEntry"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.h:94: error: syntax error before "TkBorder"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.h:94: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.h:95: error: syntax error before "void"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.h:97: error: syntax error before "void"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:23: error: syntax error before "char"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:31: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:32: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:34: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:35: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:37: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:38: error: syntax error before "_ANSI_ARGS_"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:50: warning: initialization makes integer from pointer without a cast/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:51: error: `FreeBorderObjProc' undeclared here (not in a function)
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:51: warning: excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:51: warning: (near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:52: error: `DupBorderObjProc' undeclared here (not in a function)
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:52: warning: excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:52: warning: (near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:53: warning: excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:53: warning: (near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:55: warning: excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:55: warning: (near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:55: warning: data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:83: error: syntax error before "Tcl_Interp"
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:85: error: syntax error before '*' token
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:85: warning: data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.4/generic/tk3d.c:87: error: syntax error before '{' token
you might want to try syncing up your ports tree and see if the issue resides, you can do this by installing cvsup then running the following command:
cvsup -h cvsup9.freebsd.org -g -L 2 /usr/share/example/cvsup/ports-supfile
after that has finished up try installing amsn again, if it still fails you can install it with a binary package by running
pkg_add -r amsn
thanks for your help
I fixed the problem
by installing tcl/tk
and compaling the file (tcl8.4.4)
and amsn is installed
as i run it a get a message
In FreeBSD, wish is named with a version number. This is because
different versions of wish are not compatible with each other and
they can not all be called "wish"! You may need multiple versions
installed because a given port may depend on a specific version.
On your system, wish is installed under at least the following names:
wish8.3
went to "file:/usr/local/bin"
and I saw that i have 2 wish files "wish8.3" and "wish"
---what do i need to do now????
thanks you for the help.... eytan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.