On Oct 24, 2008, at 7:41 AM, Stéphane Zampelli wrote:
'fink rebuild xpdf' failed, mainly because (as far as I can see, see
log below) the library gcc_s was not found.
What is gcc_s and how can I install it?
Thank you,
S.Z.
***BEGIN***
bash-3.2$ sudo fink selfupdate
curl --connect-timeout 30 -f -L -A 'fink/0.27.16' -O
http://www.finkproject.org/CURRENT-FINK-10.5
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
0 13 0 13 0 0 26 0 --:--:-- --:--:--
--:--:-- 0
You already have the package descriptions from the latest Fink point
release. (installed:10.5-0.9.0.1 available:10.5-0.9.0.1)
If you wish to change your update method to one which updates more
frequently, run the command 'fink selfupdate-rsync'.
bash-3.2$ cat /sw/src/fink.build/xpdf-3.00-1015/xpdf-3.00/
config.log | grep gccrre
bash-3.2$ sudo fink rebuild xpdf
Information about 2531 packages read in 0 seconds.
The following package will be rebuilt:
xpdf
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-xpdf-3.00-1015 /
sw/src/fink.build
dpkg-deb : construction du paquet « fink-buildlock-xpdf-3.00-1015 »
dans « /sw/src/fink.build/fink-buildlock-
xpdf-3.00-1015_2008.10.24-13.37.45_darwin-i386.deb ».
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
xpdf-3.00-1015_2008.10.24-13.37.45_darwin-i386.deb
Sélection du paquet fink-buildlock-xpdf-3.00-1015 précédemment
désélectionné.
(Lecture de la base de données... 18516 fichiers et répertoires déjà
installés.)
Dépaquetage de fink-buildlock-xpdf-3.00-1015 (à partir de .../fink-
buildlock-xpdf-3.00-1015_2008.10.24-13.37.45_darwin-i386.deb) ...
Paramétrage de fink-buildlock-xpdf-3.00-1015 (2008.10.24-13.37.45) ...
gzip -dc /sw/src/xpdf-3.00.tar.gz | /sw/bin/tar -xf - --no-same-
owner --no-same-permissions
sed 's|@PREFIX@|/sw|g' < /sw/fink/dists/stable/main/finkinfo/text/
xpdf.patch | patch -p1
patching file xpdf/XRef.cc
patching file xpdf/Gfx.cc
patching file xpdf/GfxState.cc
patching file doc/sample-xpdfrc
patching file xpdf/XRef.cc
./configure --prefix=/sw --mandir='${prefix}/share/man' --infodir='$
{prefix}/share/info' --with-freetype2-includes=/usr/X11R6/include/
freetype2 --with-freetype2-library=/usr/X11R6/lib --with-t1-
includes=/sw/include --with-t1-library=/sw/lib --with-Xm-library=/sw/
lib --with-Xm-includes=/sw/include --enable-a4-paper --without-
libpaper-library
checking for gcc... gcc
checking for C compiler default output... configure: error: C
compiler cannot create executables
See `config.log' for more details.
### execution of ./configure failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-xpdf-3.00-1015
(Lecture de la base de données... 18517 fichiers et répertoires déjà
installés.)
Suppression de fink-buildlock-xpdf-3.00-1015 ...
Failed: phase compiling: xpdf-3.00-1015 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, with a carbon copy to the maintainer:
None <[EMAIL PROTECTED]>
Note that this is preferable to emailing the maintainer directly,
since
most fink package maintainers do not have access to all possible
hardware and software configurations.
bash-3.2$ cat -n /sw/src/fink.build/xpdf-3.00-1015/xpdf-3.00/
config.log | grep gcc
53 configure:1422: checking for gcc
54 configure:1438: found /usr/bin/gcc
55 configure:1448: result: gcc
57 configure:1695: gcc --version </dev/null >&5
58 i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer,
Inc. build 5250)
64 configure:1700: gcc -v </dev/null >&5
67 Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/
configure --disable-checking -enable-werror --prefix=/usr --mandir=/
share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-
name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/
4.0.0 --build=powerpc-apple-darwin8 --with-arch=pentium-m --with-
tune=prescott --program-prefix= --host=i686-apple-darwin8 --
target=i686-apple-darwin8
69 gcc version 4.0.1 (Apple Computer, Inc. build 5250)
71 configure:1705: gcc -V </dev/null >&5
72 gcc: argument to `-V' is missing
75 configure:1735: gcc -I/usr/X11R6/include -I/usr/X11R6/
include -I/sw/include -L/usr/X11R6/lib conftest.c >&5
76 /usr/bin/ld: can't locate file for: -lgcc_s.10.5
126 ac_cv_prog_ac_ct_CC=gcc
133 CC='gcc'
181 ac_ct_CC='gcc'
bash-3.2$ sudo apt-cache search gcc_s
bash-3.2$
***END***
apt-cache actually doesn't give any useful information here: only a
very few packages use a Fink-installed compiler.
The rest of them use Apple's Xcode. A missing /usr/lib/libgcc_s.
10.5.dylib indicates something incomplete in your install of Xcode.
This file was supposed to have been installed by the DevSDK package.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners