Alexander Hansen wrote:
> Robert Black wrote:
>   
>> Fink still doesn't selfupdate, because the system can't find g77. when  
>> I compile a FORTRAN program with g77, it works fine, so I don't know  
>> what the issue is with fink. I also have gfortran and g95. Why can't  
>> fink use either of those?
>>
>> Any ideas?
>>
>> Mac OSX 10.5.7 G5 1.8 MHz PPC, XQuartz 2.3.2.2
>>
>> I got lots of output like this below, but when it came to checking for  
>> g77, the make hung. I had to issue a control-C to get it to continue.
>>
>> Robert A. Black
>>
>> Research Meteorologist                  4301 Rickenbacker Cswy.
>> NOAA/AOML/HRD                            Miami, FL 33149-1026
>>
>> Ph:   (305) 361-4314
>> FAX: (305) 361-4528 (NEW)
>>
>> E-Mail: [email protected]
>> (Any opinions expressed are mine alone, not NOAA policy)
>>
>>
>>   
>>     
> <snip>
>   
>> The following 4 packages will be installed or updated:
>>   apt apt-shlibs dpkg fink-mirrors
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-dpkg-1.10.21-1228 / 
>> sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-dpkg-1.10.21-1228' in `/sw/ 
>> src/fink.build/fink-buildlock- 
>> dpkg-1.10.21-1228_2009.06.10-08.50.25_darwin-powerpc.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- 
>> dpkg-1.10.21-1228_2009.06.10-08.50.25_darwin-powerpc.deb
>> Selecting previously deselected package fink-buildlock- 
>> dpkg-1.10.21-1228.
>> (Reading database ... 20290 files and directories currently installed.)
>> Unpacking fink-buildlock-dpkg-1.10.21-1228 (from .../fink-buildlock- 
>> dpkg-1.10.21-1228_2009.06.10-08.50.25_darwin-powerpc.deb) ...
>> Setting up fink-buildlock-dpkg-1.10.21-1228 (2009.06.10-08.50.25) ...
>> gzip -dc /sw/src/dpkg_1.10.21.tar.gz | /sw/bin/tar -xf -  --no-same- 
>> owner --no-same-permissions
>> gzip -dc /sw/src/gettext-0.14.5.tar.gz | /sw/bin/tar -xf -  --no-same- 
>> owner --no-same-permissions
>> [ -r /sw/fink/dists/unstable/main/finkinfo/base/dpkg.patch ]
>> cd /sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/..; sed 's| 
>> @PREFIX@|/sw|g' < /sw/fink/dists/unstable/main/finkinfo/base/ 
>> dpkg.patch | patch -p0
>> patching file gettext-0.14.5/gettext-tools/lib/execute.c
>> patching file gettext-0.14.5/gettext-tools/lib/pipe.c
>> patching file dpkg-1.10.21/include/parsedump.h
>> patching file dpkg-1.10.21/Makefile.conf.in
>> patching file dpkg-1.10.21/dpkg-deb/Makefile.in
>> patching file dpkg-1.10.21/dpkg-deb/build.c
>> patching file dpkg-1.10.21/dpkg-deb/dpkg-deb.1
>> patching file dpkg-1.10.21/dselect/Makefile.in
>> patching file dpkg-1.10.21/dselect/dselect.8
>> patching file dpkg-1.10.21/dselect/main.cc
>> patching file dpkg-1.10.21/dselect/pkgdepcon.cc
>> patching file dpkg-1.10.21/include/dpkg.h.in
>> patching file dpkg-1.10.21/lib/nfmalloc.c
>> patching file dpkg-1.10.21/lib/tarfn.c
>> patching file dpkg-1.10.21/main/Makefile.in
>> patching file dpkg-1.10.21/main/archives.c
>> patching file dpkg-1.10.21/main/configure.c
>> patching file dpkg-1.10.21/main/dpkg-query.8
>> patching file dpkg-1.10.21/main/dpkg.8
>> patching file dpkg-1.10.21/main/enquiry.c
>> patching file dpkg-1.10.21/main/filesdb.c
>> patching file dpkg-1.10.21/main/help.c
>> patching file dpkg-1.10.21/main/main.c
>> patching file dpkg-1.10.21/main/main.h
>> patching file dpkg-1.10.21/main/packages.c
>> patching file dpkg-1.10.21/man/en/dpkg.cfg.5
>> patching file dpkg-1.10.21/man/en/dselect.cfg.5
>> patching file dpkg-1.10.21/man/fr/cleanup-info.8
>> patching file dpkg-1.10.21/man/fr/dpkg-deb.1
>> patching file dpkg-1.10.21/man/fr/dpkg-divert.8
>> patching file dpkg-1.10.21/man/fr/dpkg-query.8
>> patching file dpkg-1.10.21/man/fr/dpkg-scanpackages.8
>> patching file dpkg-1.10.21/man/fr/dpkg-source.1
>> patching file dpkg-1.10.21/man/fr/dpkg-split.8
>> patching file dpkg-1.10.21/man/fr/dpkg-statoverride.8
>> patching file dpkg-1.10.21/man/fr/dpkg.8
>> patching file dpkg-1.10.21/man/fr/install-info.8
>> patching file dpkg-1.10.21/man/fr/update-alternatives.8
>> patching file dpkg-1.10.21/man/ja/cleanup-info.8
>> patching file dpkg-1.10.21/man/ja/dpkg-deb.1
>> patching file dpkg-1.10.21/man/ja/dpkg-divert.8
>> patching file dpkg-1.10.21/man/ja/dpkg-scanpackages.8
>> patching file dpkg-1.10.21/man/ja/dpkg-statoverride.8
>> patching file dpkg-1.10.21/man/ja/dpkg.8
>> patching file dpkg-1.10.21/man/ja/install-info.8
>> patching file dpkg-1.10.21/man/ja/update-alternatives.8
>> patching file dpkg-1.10.21/man/pt_BR/update-alternatives.8
>> patching file dpkg-1.10.21/man/ru/dpkg.8
>> patching file dpkg-1.10.21/man/sv/dpkg-deb.1
>> patching file dpkg-1.10.21/man/sv/dpkg-query.8
>> patching file dpkg-1.10.21/man/sv/dpkg-split.8
>> patching file dpkg-1.10.21/man/sv/dpkg.8
>> patching file dpkg-1.10.21/man/sv/dpkg.cfg.5
>> patching file dpkg-1.10.21/man/sv/dselect.8
>> patching file dpkg-1.10.21/man/sv/dselect.cfg.5
>> patching file dpkg-1.10.21/origin.fink
>> patching file dpkg-1.10.21/scripts/cleanup-info.8
>> patching file dpkg-1.10.21/scripts/dpkg-divert.8
>> patching file dpkg-1.10.21/scripts/dpkg-name.sh
>> patching file dpkg-1.10.21/scripts/dpkg-scanpackages.8
>> patching file dpkg-1.10.21/scripts/dpkg-source.1
>> patching file dpkg-1.10.21/scripts/dpkg-statoverride.8
>> patching file dpkg-1.10.21/scripts/install-info.8
>> patching file dpkg-1.10.21/scripts/update-alternatives.8
>> patching file dpkg-1.10.21/scripts/update-alternatives.pl
>> patching file dpkg-1.10.21/split/Makefile.in
>> patching file dpkg-1.10.21/split/dpkg-split.8
>> patching file dpkg-1.10.21/utils/Makefile.in
>> patching file dpkg-1.10.21/main/help.c
>> patching file dpkg-1.10.21/include/dpkg.h.in
>> patching file dpkg-1.10.21/lib/mlib.c
>> patching file dpkg-1.10.21/dpkg-deb/build.c
>> Hunk #1 succeeded at 447 (offset 2 lines).
>> patching file dpkg-1.10.21/lib/mlib.c
>> cd /sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/../gettext-0.14.5/ 
>> build-aux; perl -pi -e 's/.*chmod.*777.*$//g' ltmain.sh
>> cd optlib; perl -pi -e 's/(getopt|getopt1).c//g' Makefile.in; rm getopt*
>> echo "x86_64-darwin           darwin-x86_64   darwin-x86_64" >> /sw/ 
>> src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/archtable
>> if [ $UID -ne 0 ]; then echo "dpkg cannot be built with --build-as- 
>> nobody"; exit 1; fi
>> /sw/bin/fink -y install gettext-bin libgettext3-dev libiconv-dev  
>> libncurses5
>> Information about 9115 packages read in 2 seconds.
>> No packages to install.
>> cd /sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/../gettext-0.14.5/ 
>> gettext-tools; env EMACS=no ./configure --prefix="/sw/src/fink.build/ 
>> dpkg-1.10.21-1228/dpkg-1.10.21/../_inst/sw" --infodir='${prefix}/share/ 
>> info' --mandir='${prefix}/share/man' --with-included-gettext --disable- 
>> csharp --disable-rpath --disable-shared; make; rm -rf /sw/src/ 
>> fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/../_inst; make install
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for gawk... no
>> checking for mawk... no
>> checking for nawk... no
>> checking for awk... awk
>> checking whether make sets $(MAKE)... yes
>> checking for gcc... gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... yes
>> checking whether we are cross compiling... no
>> checking for suffix of executables...
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ANSI C... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... none
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for bison... bison -y
>> checking for Java to native code compiler... none
>> checking how to run the C preprocessor... gcc -E
>> checking for egrep... grep -E
>> checking for Java compiler... javac
>> checking for jar... jar
>> checking for Java virtual machine... java
>> checking for preferred C# implementation... no
>> checking for C# compiler... no
>> checking for C# program execution engine... no
>> checking build system type... powerpc-apple-darwin9.7.0
>> checking host system type... powerpc-apple-darwin9.7.0
>> checking for library containing strerror... none required
>> checking for AIX... no
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking minix/config.h usability... no
>> checking minix/config.h presence... no
>> checking for minix/config.h... no
>> checking for a sed that does not truncate output... /usr/bin/sed
>> checking for ld used by gcc... /usr/libexec/gcc/powerpc-apple- 
>> darwin9/4.0.1/ld
>> checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ 
>> ld) is GNU ld... no
>> checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to  
>> reload object files... -r
>> checking for BSD-compatible nm... /usr/bin/nm -p
>> checking whether ln -s works... yes
>> checking how to recognise dependent libraries... pass_all
>> checking dlfcn.h usability... yes
>> checking dlfcn.h presence... yes
>> checking for dlfcn.h... yes
>> checking for g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking dependency style of g++... none
>> checking how to run the C++ preprocessor... g++ -E
>> checking for g77... g77
>> checking whether we are using the GNU Fortran 77 compiler... no
>> checking whether g77 accepts -g... ^Cmake: *** No targets specified  
>> and no makefile found.  Stop.
>> make: Nothing to be done for `install'.
>> PERL=/usr/bin/perl ac_cv_path_MSGFMT="/sw/src/fink.build/ 
>> dpkg-1.10.21-1228/dpkg-1.10.21/../_inst/sw/bin/msgfmt"  
>> ac_cv_path_XGETTEXT="/sw/src/fink.build/dpkg-1.10.21-1228/ 
>> dpkg-1.10.21/../_inst/sw/bin/xgettext" ./configure --build=powerpc- 
>> apple-darwin --prefix=/sw --without-start-stop-daemon --without-sgml- 
>> doc --with-a
>>
>>
>>   
>>     
> dpkg doesn't even _use_ fortran in any flavor to build.  A lot of
> packages use stock configure scripts that look for g77, though, even if
> they don't actually use it.
>
> I've never seen this, but try removing g77, at least until the
> configuration step is done. 
>   
(especially older packages)

On further review:  our g77 is detected as the GNU Fortran compiler, but
it looks like your g77 wasn't installed via Fink.  Third-party compilers
often cause our builds to be unhappy.   Move the 'g77' executable out of
the PATH temporarily--in case you have multiple versions installed,
check with "which g77" to see which one is causing problems and move that.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to