Do what it says:

sudo ranlib /sw/lib/libintl.a

then try the installation again.

Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX
� 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jen Chang
Chen
Sent: Thursday, July 10, 2003 9:45 PM
To: [EMAIL PROTECTED]
Subject: [Fink-beginners] Compiling problem of popt-1.7-1

Dear Fink guru:
I would like to install popt-1.7-1, and there is a compiling problem. I
listed a fragment of error messages in the following. �

(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
source='test1.c' object='test1.o' libtool=no \
depfile='.deps/test1.Po' tmpdepfile='.deps/test1.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. �-I/sw/include �-Wall -g -O2 -c
`test -f 'test1.c' || echo './'`test1.c
/bin/sh ./libtool --mode=link gcc �-Wall -g -O2 �-lintl -L/sw/lib -o test1
-all-static test1.o libpopt.la 
libtool: link: warning: complete static linking is impossible in this
configuration
gcc -Wall -g -O2 -o test1 test1.o �-L/sw/lib ./.libs/libpopt.a
/sw/lib/libintl.a -liconv
ld: table of contents for archive: /sw/lib/libintl.a is out of date; rerun
ranlib(1) (can't load from it)
make[2]: *** [test1] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling popt-1.7-1 failed

I checked the config.log in the �/sw/src/popt-1.7-1/popt-1.7� directory.
�Could someone give me some advices? Thank you very much.

conftest.c:2: undefined type, found `choke'
conftest.c:2: illegal external declaration, missing `;' after `me'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
conftest.c:2: parse error before "me"
configure:2566: $? = 1
configure: failed program was:
#ifndef __cplusplus
��choke me
#endif
......
configure:2780: gcc -o conftest -g -O2 -I/sw/include -lintl -L/sw/lib
conftest.c -lcposix ��>&5
ld: can't locate file for: -lcposix
configure:2783: $? = 1
configure: failed program was:
#line 2754 "configure"
#include "confdefs.h"


OS 10.2.6
Development tool: December 2002 and with patch (I have typed ��sudo
gcc_select 3.�) 
Fink: Package manager version: 0.13.2
���������Distribution version: 0.5.3.cvs

Jen Chang



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to