|
|
|
|
#1 |
|
Prospect
Join Date: Jan 2002
Posts: 39
|
Fink & Sources
Hi,
I'm trying to install from source using Fink and I'm running into problems left and right. (Yes, I read the FAQ & yes, I installed the developer tools to have the right compiler.) Package names for example: mc (lib slang 1.4.4 won't download, because the new one is 1.4.5.; got me the old version somewhere else, but the compiling process stops with some missing include) mad (output follows: make make all-recursive Making all in intl cc -c -DLOCALEDIR=\"/sw/share/locale\" -DGNULOCALEDIR=\"/sw/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I/sw/include -Wall -g -O2 intl-compat.c libgettext.h:33: header file 'sys/types.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[2]: *** [intl-compat.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 ### make failed, exit code 2 Failed: compiling mad-0.14.0b-1 failed ) Thanks for your kind support. -Mi |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
For your slang problem, Download: slang-1.4.4.tar.gz from here:
http://www.sunfreeware.com/solaris_2.5_list.html Download: slang-1.4.4.tar.gz Then, cd to wherever you have the file. Then, cp slang-1.4.4.tar.gz /sw/src Finally, run again "fink install mc" Fink will recognize the file from /sw/src Please, more information: Fink version, XFree86 version Cheers... |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
There are problems with the package mc.
Please, if you have problems installing, post the errors here. What version of gettext you have installed? You may try: "fink rebuild gettext" and then, again: "fink install mad" Cheers... Last edited by sao; 02-25-2002 at 11:38 PM. |
|
|
|
|
|
#4 | ||||||||||||||||||||||||||||||||||||||
|
Prospect
Join Date: Jan 2002
Posts: 39
|
None. I hadn't installed it before. What does it do?
I did that. Here's the output starting with make: make make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in intl /bin/sh ../libtool --mode=compile cc -c -DLOCALEDIR=\"/sw/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/share/locale\" -DLIBDIR=\"/sw/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -no-cpp-precomp -I/sw/include -g -O2 intl-compat.c mkdir .libs cc -c -DLOCALEDIR=\"/sw/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/share/locale\" -DLIBDIR=\"/sw/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -no-cpp-precomp -I/sw/include -g -O2 intl-compat.c -fno-common -DPIC -o .libs/intl-compat.lo In file included from intl-compat.c:24: libgnuintl.h:22: locale.h: No such file or directory In file included from intl-compat.c:25: gettextP.h:23: stddef.h: No such file or directory make[2]: *** [intl-compat.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 ### make failed, exit code 2 Failed: compiling gettext-0.10.40-2 failed I use Fink Distribution version 0.3.2a, package manager 0.9.7. My XFree is 4.2.0. I use XDarwin to start it up. Thanks!! -Mi |
||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Prospect
Join Date: Jan 2002
Posts: 39
|
That's exactly where I got it before! :-)
Yep. That's what I did before. I did it again now and here's the output, beginning with make: cd src; make all mkdir /sw/src/slang-1.4.4-4/slang-1.4.4/src/objs cp sysconf.h config.h cd /sw/src/slang-1.4.4-4/slang-1.4.4/src/objs; cc -c -I/sw/include -fno-strength-reduce -Dunix -DSLANG /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c /sw/src/slang-1.4.4-4/slang-1.4.4/src/slinclud.h:7: header file 'stdio.h' not found /sw/src/slang-1.4.4-4/slang-1.4.4/src/slinclud.h:8: header file 'string.h' not found /sw/src/slang-1.4.4-4/slang-1.4.4/src/slang.h:89: header file 'stdio.h' not found /sw/src/slang-1.4.4-4/slang-1.4.4/src/slang.h:92: header file 'stddef.h' not found /sw/src/slang-1.4.4-4/slang-1.4.4/src/slang.h:475: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/slang.h:476: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/slang.h:968: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:94: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:96: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:135: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:148: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:160: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:180: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:194: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:204: undefined type, found `FILE' /sw/src/slang-1.4.4-4/slang-1.4.4/src/sltermin.c:236: undefined type, found `FILE' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: *** [/sw/src/slang-1.4.4-4/slang-1.4.4/src/objs/sltermin.o] Error 1 make: *** [all] Error 2 ### failed, exit code 2 Failed: compiling slang-1.4.4-4 failed
See within my other reply. Did you get it to run on your system? I hardly ever got any compile from source done using Fink - I always took the binaries via atp-get. Thanks (again), -Mi. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Ok, let's start again.
It looks like you're missing header files. MacOS X version ? Did you installed the "December" Developer Tools ? Cheers... |
|
|
|
|
|
#7 |
|
Prospect
Join Date: Jan 2002
Posts: 39
|
I reinstalled DeveloperToolsDec2001, hadn't done every single part, I guess.
I got OS 10.1.3. Now I can compile mc and mad. Works fine. (With mc though I can't use the f10 key on my iBook - do you know any workaround?) One thing that happened after reinstalling DevTools: When trying to "mount -smbfs" (Samba) I get an: smbfs: can't set locale '' Any idea about this? Mounting works fine, it seems, though. |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
That's why I asked. Fink needs the December Developer Tools properly installed to function.
mc is used as the gnome file manager, but it doesn't actually seem to be needed by most of the gnome packages, I had similar problems when building mc, so I installed most packages without it. I don't know of a workaround for the F10 key(quit), let me know if you find one. Mine works, but I have trouble with other function keys. I also installed "mad" without any problem. About "smbfs: can't set locale '': I can't be of much help here. But... A call to setlocale will fail if the requested locale's support files cannot be found or accessed. The simplest way to specify what locale to use is to set the LANG environment variable. 1-Check your ~/.cshrc or ~/.tcshrc file. or track down any missing locale files and install restore them or patch them up with links. or track down where LANG is defined and change it. (Remember that X has its own locale information.) Also, can you run "which make" and let me know the result. Cheers... Last edited by sao; 02-26-2002 at 08:15 PM. |
|
|
|
|
|
#9 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Prospect
Join Date: Jan 2002
Posts: 39
|
Thanks again for the DecDevTool-Help!
LANG is set
I got an ~/.cshrc. It only contains "source /sw/bin/init.csh"
I don't really know how to do that :-) The strange thing about all of this is: Since I installed the DecDevTools, I have that behaviour within Samba. Do you think it could help to just reinstall that? I didn't do it using Fink, but by way of the binary from xamba.sourceforge.net. Any idea what could happen if that err message stays on?
/usr/bin/make -Mi PS: Please excuse some of my sillyness - I'm a newbie to compiling & all that. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#10 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
as i understood it, those 'locale' messages are warnings and should be ignored.
|
|
|
|
|
|
#11 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Sorry, can't help you more, as I don't know much about samba.
But, as MervTormel says, if they are just warnings, maybe can be ignored. Cheers... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|