On 04/07/2013 20:39, Alexander Hansen wrote: > On 7/4/13 11:31 AM, Luigi Ernesto Zanotti wrote: >> On 04/07/2013 20:26, Alexander Hansen wrote: >>> On 7/4/13 8:48 AM, Luigi Ernesto Zanotti wrote: >>>> On 04/07/2013 17:28, Alexander Hansen wrote: >>>>> On 7/4/13 8:23 AM, Luigi Ernesto Zanotti wrote: >>>>>> On 04/07/2013 16:39, Alexander Hansen wrote: >>>>>>> On 7/4/13 7:14 AM, Luigi Ernesto Zanotti wrote: >>>>>>>> On 04/07/2013 15:34, Alexander Hansen wrote: >>>>>>>>> On 7/4/13 3:33 AM, Luigi Ernesto Zanotti wrote: >>>>>>>>>> >>>>>>>>>> Owing to some troubles on my iMac, last week I decided to >>>>>>>>>> reinstall >>>>>>>>>> fink >>>>>>>>>> from scratch (fink-0-34-7). >>>>>>>>>> While installing root5 I got the following error: >>>>>>>>>> * >>>>>>>>>> /bin/mv /sw/src/fink.build/root-gts75-0.7.6-2/sw/bin/happrox >>>>>>>>>> /sw/src/fink.build/root-gts-bin-0.7.6-2/sw/bin/ >>>>>>>>>> mv: rename >>>>>>>>>> /sw/src/fink.build/root-gts75-0.7.6-2/sw/bin/happrox to >>>>>>>>>> /sw/src/fink.build/root-gts-bin-0.7.6-2/sw/bin/happrox: No such >>>>>>>>>> file or >>>>>>>>>> directory >>>>>>>>>> ### execution of /bin/mv failed, exit code 1 >>>>>>>>>> ### execution of /tmp/fink.fnOI2 failed, exit code 1 >>>>>>>>>> Removing runtime build-lock... >>>>>>>>>> Removing build-lock package... >>>>>>>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-gts75-0.7.6-2 >>>>>>>>>> (Reading database ... 62604 files and directories currently >>>>>>>>>> installed.) >>>>>>>>>> Removing fink-buildlock-gts75-0.7.6-2 ... >>>>>>>>>> Failed: phase installing: gts-bin-0.7.6-2 failed >>>>>>>>>> * >>>>>>>>>> So I tried to install "gts75" separately, but the same error >>>>>>>>>> occurs. >>>>>>>>>> On the other hand, installation on an old Mac-i386 was >>>>>>>>>> successful; in >>>>>>>>>> both cases the package is "/sw/src/gts-0.7.6.tar.gz". >>>>>>>>>> Looking at installation log files it seems tha the routine >>>>>>>>>> "happrox", >>>>>>>>>> located in "/sw/src/gts-0.7.6.tar.gz", is never compiled on the >>>>>>>>>> iMac. >>>>>>>>>> Do you have suggestions to solve the problem? >>>>>>>>>> Thanks in advance and best regards, >>>>>>>>>> >>>>>>>>>> Luigi Zanotti >>>>>>>>>> >>>>>>>>>> Info: >>>>>>>>>> iMac Intel core 2 Duo, OS X 10.8.4, Xcode 4.6.3 with tools >>>>>>>>>> Distribution version: selfupdate-rsync Wed Jul 3 12:17:35 2013, >>>>>>>>>> 10.8, >>>>>>>>>> x86_64 >>>>>>>>>> Trees: local/main stable/main >>>>>>>>>> Xcode.app: 4.6.3 >>>>>>>>>> Xcode command-line tools: 4.6.0.0.1.1365549073 >>>>>>>>>> Max. Fink build jobs: 1 >>>>>>>>>> >>>>>>>>>> Macbook i386, OS X 10.6.8, Xcode 3.2.6 >>>>>>>>>> >>>>>>>>> >>>>>>>>> I changed the subject because gts75 is what failed to build. >>>>>>>>> >>>>>>>>> As you thought, happrox never got compiled. That's not enough >>>>>>>>> information to come up with a fix, though, since we really >>>>>>>>> need to >>>>>>>>> see >>>>>>>>> _why_ this happened. >>>>>>>>> >>>>>>>>> I don't reproduce this error on 10.8 with Xcode 4.6.3. Let's >>>>>>>>> start by >>>>>>>>> checking your output from an attempt to build gts75 and see if >>>>>>>>> you >>>>>>>>> can >>>>>>>>> find another error earlier in the build. >>>>>>>>> >>>>>>>> By inspection of the redirected output of <fink install gts75> to >>>>>>>> file, >>>>>>>> with grep I could not find any mention of <happrox> except in >>>>>>>> the mv >>>>>>>> command that fails. The output is very big to send you a copy, so >>>>>>>> if you >>>>>>>> have to suggest any further inquiry you are welcome. >>>>>>>> Yours, >>>>>>>> Luigi Zanotti >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Prof. Luigi E. Zanotti >>>>>>>> Physics Department "G. Occhialini" >>>>>>>> University of Milano-Bicocca & INFN >>>>>>>> Piazza della Scienza 3 - 20126 Milano - Italy >>>>>>>> >>>>>>>> Tel.: +39 02 6448 24613 >>>>>>>> Cell.: +39 349 0997239 >>>>>>>> E-mail:[email protected] >>>>>>>> >>>>>>> >>>>>>> I found the following item in your build configuration: >>>>>>> >>>>>>> configure: WARNING: libnetpbm not found. Some programs will not be >>>>>>> available. >>>>>>> >>>>>>> The gts75 package carries an explicit dependency on >>>>>>> libnetpbm10-shlibs, and so it _should_ find libnetbpm. We can get >>>>>>> more information from >>>>>>> /sw/src/fink.build/gts75-0.7.6-2/gts-0.7.6/config.log . Check in >>>>>>> that >>>>>>> file at about line 814 where netpbm is being tested. At that >>>>>>> point I >>>>>>> have, for comparison: >>>>>>> >>>>>>> configure:20836: checking for pgm_init in -lnetpbm >>>>>>> configure:20866: gcc -o conftest -g -O2 -Wall >>>>>>> -Werror-implicit-function-declaration -Wstrict-prototypes >>>>>>> -Wmissing-prototypes -Wmissing-declarations -I/sw/include -L/sw/lib >>>>>>> conftest.c -lnetpbm >&5 >>>>>>> configure:20872: $? = 0 >>>>>>> configure:20875: test -z || test ! -s conftest.err >>>>>>> configure:20878: $? = 0 >>>>>>> configure:20881: test -s conftest >>>>>>> configure:20884: $? = 0 >>>>>>> configure:20897: result: yes >>>>>>> >>>>>>> Hopefully there will be an error message here which will help us >>>>>>> figure out what exactly is going on. >>>>>> I find at line 812 and after: >>>>>> >>>>>> configure:20825: result: yes >>>>>> configure:20836: checking for pgm_init in -lnetpbm >>>>>> configure:20866: gcc -o conftest -g -O2 -Wall >>>>>> -Werror-implicit-function-declaration -Wstrict-prototypes >>>>>> -Wmissing-prototypes -Wmissing-declarations -I/sw/include -L/sw/lib >>>>>> conftest.c -lnetpbm >&5 >>>>>> ld: library not found for -lnetpbm >>>>>> clang: error: linker command failed with exit code 1 (use -v to see >>>>>> invocation) >>>>>> configure:20872: $? = 1 >>>>>> configure: failed program was: >>>>>> | /* confdefs.h. */ >>>>>> | >>>>>> >>>>>> so here something is wrong! Now a list from fink: >>>>>> >>>>>> iMac-home-17:20:~> fink list netpbm >>>>>> Information about 7608 packages read in 3 seconds. >>>>>> netpbm 9.25-16 Graphics manipulation >>>>>> programs and libraries >>>>>> (i) netpbm-bin 10.47.44-2 Graphics manipulation >>>>>> programs >>>>>> and libraries >>>>>> i netpbm-shlibs 9.25-16 Graphics manipulation >>>>>> programs and libraries >>>>>> i netpbm10 10.47.44-2 Graphics manipulation >>>>>> programs and libraries >>>>>> i netpbm10-shlibs 10.47.44-2 Graphics manipulation >>>>>> programs and libraries >>>>>> >>>>>> What to do? >>>>>> Luigi Zanotti >>>>>> >>>>>> -- >>>>>> >>>>>> Prof. Luigi E. Zanotti >>>>>> Physics Department "G. Occhialini" >>>>>> University of Milano-Bicocca & INFN >>>>>> Piazza della Scienza 3 - 20126 Milano - Italy >>>>>> >>>>>> Tel.: +39 02 6448 24613 >>>>>> Cell.: +39 349 0997239 >>>>>> E-mail:[email protected] >>>>>> >>>>>> >>>>> >>>>> First, see if 'fink update netpbm-bin' resolves the issue--when the >>>>> different packages in a family have different versions this can cause >>>>> problems. >>>>> >>>> After -fink update netpbm-bin - I have: >>>> >>>> iMac-home-17:39:~> fink list netpbm >>>> Information about 7608 packages read in 1 seconds. >>>> netpbm 9.25-16 Graphics manipulation >>>> programs and libraries >>>> i netpbm-bin 10.47.44-2 Graphics manipulation >>>> programs and libraries >>>> i netpbm-shlibs 9.25-16 Graphics manipulation >>>> programs and libraries >>>> i netpbm10 10.47.44-2 Graphics manipulation >>>> programs and libraries >>>> i netpbm10-shlibs 10.47.44-2 Graphics manipulation >>>> programs and libraries >>>> >>>> but gts75 fails as before (same error in config.log). >>>> >>>> Luigi Zanotti >>>> >>>> -- >>>> >>>> Prof. Luigi E. Zanotti >>>> Physics Department "G. Occhialini" >>>> University of Milano-Bicocca & INFN >>>> Piazza della Scienza 3 - 20126 Milano - Italy >>>> >>>> Tel.: +39 02 6448 24613 >>>> Cell.: +39 349 0997239 >>>> E-mail:[email protected] >>>> >>> >>> Ok, I thought we should start with the simplest option first. >>> >>> Let's check for the presence of the libraries. What do you get from: >>> >>> ls -l /sw/lib/libnetpbm* >>> >> Here the answer: >> >> iMac-home-20:28:~> ls -l /sw/lib/libnetpbm* >> -rwxr-xr-x 1 root admin 200028 Jun 30 11:17 >> /sw/lib/libnetpbm.10.47.dylib* >> lrwxr-xr-x 1 root admin 21 Jun 30 11:17 >> /sw/lib/libnetpbm.10.dylib@ -> libnetpbm.10.47.dylib >> >> -- >> >> Prof. Luigi E. Zanotti >> Physics Department "G. Occhialini" >> University of Milano-Bicocca & INFN >> Piazza della Scienza 3 - 20126 Milano - Italy >> >> Tel.: +39 02 6448 24613 >> Cell.: +39 349 0997239 >> E-mail:[email protected] >> > > Ok. For some reason you don't have a /sw/lib/libnetpbm.dylib -> > /sw/lib/libnetpbm.10.47.dylib symlink, so the problem is literally > what the report in config.log indicates. > > Try "fink rebuild netpbm10" first, and if that doesn't generate the > symlink, then go ahead and generate it manually, e.g. > > cd /sw/lib > sudo ln -s /sw/lib/libnetpbm.10.47.dylib /sw/lib/libnetpbm.dylib > Very good! By creating the missing symlink gts75 was installed. As soon as possible I'll try with root5 - it should proceed smoothly now. Thank you again. Yours, Luigi Zanotti
-- Prof. Luigi E. Zanotti Physics Department "G. Occhialini" University of Milano-Bicocca & INFN Piazza della Scienza 20126 Milano Italy Tel.: +39 02 6448 2413 Cell.: +39 349 0997239 E-mail: [email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
