I've been trying to install an unstable package (epstool) on a fresh  
install of fink intel 0.8.1. Steps taken so far:

1)Install Fink 0.8.1
2)Install FinkCommander 0.5.4
3)Run FinkCommander
4)Use FinkCommander Preferences to add unstable packages to the tree,  
FinkCommander asks for password a couple of times, doesn't add  
unstable tree (tells me to try command again...)
5)Unselect use unstable, apply, select use unstable, apply, get  
listing. Success!
6)Try to install epstool from source, get the following:

[snip]

gcc -I./src -I./objeps -DX11 -DUNIX -DNONAG -Wall -Wstrict-prototypes  
-Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common - 
Wcast-qual -Wwrite-strings -g   -DMULTITHREAD -I/sw/include  -o ./ 
objeps/xdll.o -c ./src/xdll.c
./src/xdll.c:19:19: error: stdio.h: No such file or directory
./src/xdll.c:20:20: error: string.h: No such file or directory
./src/xdll.c:21:19: error: dlfcn.h: No such file or directory
In file included from ./src/xdll.c:22:
./src/common.h:20:20: error: stdlib.h: No such file or directory
In file included from ./src/common.h:23,
                  from ./src/xdll.c:22:
./src/cplat.h:102:21: error: unistd.h: No such file or directory
./src/cplat.h:104:24: error: semaphore.h: No such file or directory
./src/cplat.h:105:22: error: pthread.h: No such file or directory
In file included from ./src/xdll.c:22:
./src/common.h:169: error: parse error before 'size'
./src/common.h:169: warning: function declaration isn't a prototype
./src/common.h:170: error: parse error before 'size_t'
./src/common.h:170: warning: function declaration isn't a prototype
./src/xdll.c: In function 'dll_msg':
./src/xdll.c:30: warning: implicit declaration of function 'strlen'
./src/xdll.c:32: warning: implicit declaration of function 'strncat'
./src/xdll.c: In function 'dll_open':
./src/xdll.c:50: warning: implicit declaration of function 'memset'
./src/xdll.c:56: warning: implicit declaration of function 'dlopen'
./src/xdll.c:56: error: 'RTLD_NOW' undeclared (first use in this  
function)
./src/xdll.c:56: error: (Each undeclared identifier is reported only  
once
./src/xdll.c:56: error: for each function it appears in.)
./src/xdll.c:56: warning: assignment makes pointer from integer  
without a cast
./src/xdll.c:57: error: 'NULL' undeclared (first use in this function)
./src/xdll.c:60: warning: implicit declaration of function 'dlerror'
./src/xdll.c:60: warning: passing argument 2 of 'dll_msg' makes  
pointer from integer without a cast
./src/xdll.c:64: warning: implicit declaration of function 'strncpy'
./src/xdll.c:74: warning: assignment makes pointer from integer  
without a cast
./src/xdll.c:78: warning: passing argument 2 of 'dll_msg' makes  
pointer from integer without a cast
./src/xdll.c: In function 'dll_close':
./src/xdll.c:89: warning: implicit declaration of function 'dlclose'
./src/xdll.c: In function 'dll_sym':
./src/xdll.c:96: warning: implicit declaration of function 'dlsym'
make[1]: *** [objeps/xdll.o] Error 1
make: *** [epstool] Error 2
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-epstool-3.0-1
(Reading database ... 4292 files and directories currently installed.)
Removing fink-buildlock-epstool-3.0-1 ...
Failed: phase compiling: epstool-3.0-1 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists.  As a last resort, you can try e- 
mailing
the maintainer directly:

7)Try fink selfupdate from FinkCommander, get:

fink needs you to choose a SelfUpdateMethod.
(1)     rsync
(2)     cvs
(3)     Stick to point releases

Choose an update method [1]

But no dialog this time for input. Arrgh!

8)Stop, terminate, try again, same problem.
9)Go to terminal, try fink selfupdate from there. rsync selected as  
the method. Apparent temporary success, until...

[snip]
cc -fno-common -Wall -Winline -O -g -D_FILE_OFFSET_BITS=64 -c  
blocksort.c
In file included from blocksort.c:69:
bzlib_private.h:65:20: error: stdlib.h: No such file or directory
bzlib_private.h:68:19: error: stdio.h: No such file or directory
bzlib_private.h:69:19: error: ctype.h: No such file or directory
bzlib_private.h:70:20: error: string.h: No such file or directory
In file included from bzlib_private.h:73,
                  from blocksort.c:69:
bzlib.h:181: error: parse error before 'FILE'
bzlib.h:209: error: parse error before 'FILE'
blocksort.c: In function 'fallbackSort':
blocksort.c:277: warning: implicit declaration of function 'fprintf'
blocksort.c:277: warning: incompatible implicit declaration of built- 
in function 'fprintf'
blocksort.c:277: error: 'stderr' undeclared (first use in this function)
blocksort.c:277: error: (Each undeclared identifier is reported only  
once
blocksort.c:277: error: for each function it appears in.)
blocksort.c: In function 'mainSort':
blocksort.c:814: warning: incompatible implicit declaration of built- 
in function 'fprintf'
blocksort.c:814: error: 'stderr' undeclared (first use in this function)
blocksort.c: In function 'BZ2_blockSort':
blocksort.c:1117: warning: incompatible implicit declaration of built- 
in function 'fprintf'
blocksort.c:1117: error: 'stderr' undeclared (first use in this  
function)
make: *** [blocksort.o] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-bzip2-1.0.3-1
(Reading database ... 4292 files and directories currently installed.)
Removing fink-buildlock-bzip2-1.0.3-1 ...
Failed: phase compiling: bzip2-1.0.3-1 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists.  As a last resort, you can try e- 
mailing
the maintainer directly:
[snip]

10)Throw hands up, email list. Looks to me like the compiler isn't  
finding the standard libraries, any ideas how to fix this?

Also, it seems there's a bug in FinkCommander on the first selfupdate  
(see steps 7-9 above)

Thanks

-Alex Montgomery

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to