Hello,

I have recently downloaded a program package named pmag from fink.
When I install the pmag with fink I this is what happens:

sh-2.05b# fink install pmag
Information about 4901 packages read in 1 seconds.
The package 'pmag' will be built and installed.
The package 'gv' will be built and installed.

fink needs help picking an alternative to satisfy a virtual
dependency. The candidates:
(1)     ghostscript: Interpreter for PostScript and PDF
(2)     ghostscript-esp: Enhanced GNU Ghostscript with better CJK and
printer support
(3)     ghostscript6: Interpreter for PostScript and PDF, v6.01
(4)     system-ghostscript6: Placeholder package for manually
installed ghostscript 6.01
(5)     system-ghostscript8: Placeholder package for manually
installed ghostscript 8.51

Pick one: [1]
The package 'g77' will be built and installed.
The package 'xaw3d-shlibs' will be built and installed.
The package 'ghostscript' will be built and installed.

fink needs help picking an alternative to satisfy a virtual
dependency. The candidates:
(1)     ghostscript-fonts: Standard fonts for Ghostscript
(2)     system-ghostscript: Placeholder package for manually installed
ghostscript
(3)     system-ghostscript6: Placeholder package for manually
installed ghostscript 6.01
(4)     system-ghostscript8: Placeholder package for manually
installed ghostscript 8.51

Pick one: [1]
The package 'xaw3d' will be built and installed.
The package 'ghostscript-fonts' will be built and installed.
The package 'libpng3-shlibs' will be built and installed.
The package 'libjpeg-shlibs' will be built and installed.
The package 'libpng3' will be built and installed.
The package 'libjpeg' will be built and installed.
The package 'pkgconfig' will be built and installed.
The package 'libjpeg-bin' will be built and installed.
The package 'glib-shlibs' will be built and installed.
The package 'glib' will be built and installed.
The following package will be installed or updated:
 pmag
The following 14 additional packages will be installed:
 g77 ghostscript ghostscript-fonts glib glib-shlibs gv libjpeg
libjpeg-bin libjpeg-shlibs
 libpng3 libpng3-shlibs pkgconfig xaw3d xaw3d-shlibs
Do you want to continue? [Y/n] y

So then fink takes several minutes and outputs lots of command lines
but in the end I get errors that looks like this:

subdirs="f"; for dir in $subdirs; \
 do \
   if [ -d stage1/$dir ] ; then true ; else mkdir stage1/$dir ; fi ; \
 done
mv specs stage1/specs
mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c
insn-recog.c insn-emit.c insn-ex
ract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c
insn-constants.h tm-preds.h tree-
heck.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h
s-flags s-config s-codes
-mlib s-genrtl s-modes s-gtype gtyp-gen.h s-output s-recog s-emit
s-extract s-peep s-check s-
onditions s-attr s-attrtab s-opinit s-preds s-constants s-crt0 genemit
genoutput genrecog gen
xtract genflags gencodes genconfig genpeep genattrtab genattr
genopinit gengenrtl gencheck ge
preds genconstants gengtype genconditions genmodes genrtl.c genrtl.h
gt-*.h gtype-*.h gtype-d
sc.c xgcc cpp cc1  crt2.o  gcc-cross protoize unprotoize specs
collect2 collect2 gcov-iov gco
 gcov-dump *.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk g77
g77-cross f771 stage1
mv: rename s-crt0 to stage1/s-crt0: No such file or directory
mv: crt2.o: No such file or directory
mv: rename gcc-cross to stage1/gcc-cross: No such file or directory
mv: rename protoize to stage1/protoize: No such file or directory
mv: rename unprotoize to stage1/unprotoize: No such file or directory
mv: specs: No such file or directory
mv: collect2: No such file or directory
mv: rename gcov to stage1/gcov: No such file or directory
mv: rename gcov-dump to stage1/gcov-dump: No such file or directory
mv: rename *.[0-9][0-9].* to stage1/*.[0-9][0-9].*: No such file or directory
mv: rename *.[si] to stage1/*.[si]: No such file or directory
mv: rename g77-cross to stage1/g77-cross: No such file or directory
mv: rename f771 to stage1/f771: No such file or directory
make[2]: [stage1-start] Error 1 (ignored)
if [ -f as ] ; then (cd stage1 && ln -s ../as .) ; else true ; fi
if [ -f ld ] ; then (cd stage1 && ln -s ../ld .) ; else true ; fi
if [ -f collect-ld ] ; then (cd stage1 && ln -s ../collect-ld .) ;
else true ; fi
rm -f stage1/libgcc.a stage1/libgcc_eh.a stage1/libgcov.a
cp libgcc.a stage1
` if [ -f /sw/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib
] ; then echo /
w/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib ;
else if [ "i686-apple-dar
in8.5.2" = "i686-apple-darwin8.5.2" ] ; then echo ranlib; else
t='s,y,y,'; echo ranlib | sed
e $t ; fi; fi` stage1/libgcc.a
cp libgcov.a stage1
` if [ -f /sw/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib
] ; then echo /
w/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib ;
else if [ "i686-apple-dar
in8.5.2" = "i686-apple-darwin8.5.2" ] ; then echo ranlib; else
t='s,y,y,'; echo ranlib | sed
e $t ; fi; fi` stage1/libgcov.a
if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage1; \
   ` if [ -f /sw/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib
] ; then ech
 /sw/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib ;
else if [ "i686-apple-
arwin8.5.2" = "i686-apple-darwin8.5.2" ] ; then echo ranlib; else
t='s,y,y,'; echo ranlib | s
d -e $t ; fi; fi` stage1/libgcc_eh.a; \
fi
for f in .. ; do if [ x${f} != x.. ]; then \
  cp stage1/${f} . ; \
else true; \
fi; done
mv -f f/*.o f/fini f/stamp-str f/str-*.h f/str-*.j g77spec.o stage1/f
mv: rename f/*.o to stage1/f/*.o: No such file or directory
mv: rename f/fini to stage1/f/fini: No such file or directory
mv: rename f/stamp-str to stage1/f/stamp-str: No such file or directory
mv: rename f/str-*.h to stage1/f/str-*.h: No such file or directory
mv: rename f/str-*.j to stage1/f/str-*.j: No such file or directory
mv: rename g77spec.o to stage1/f/g77spec.o: No such file or directory
make[2]: [f77.stage1] Error 1 (ignored)
for dir in . f ; \
do \
  rm -f $dir/*.{gcda,gcno} ; \
done
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/"
CC_FOR_BUILD=" stage1/xgcc
-Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/" \
         STAGE_PREFIX=stage1/ \
         ADAC="\$(CC)" CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WA
N="-pedantic -Wno-long-long -Werror" libdir=/sw/lib LANGUAGES="c gcov
gcov-dump f77" MAKEOVER
IDES= OUTPUT_OPTION="-o \$@" \
         CFLAGS="-g -O2" WERROR="-Werror"
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwri
e-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Werror -fno-comm
n   -DHAVE_CONFIG_H -DGENERATOR_FILE -I/sw/include   -I. -I.
-I../../gcc-3.4-20031015/gcc -I.
/../gcc-3.4-20031015/gcc/. -I../../gcc-3.4-20031015/gcc/../include 
../../gcc-3.4-20031015/gc
/genmodes.c -o genmodes.o
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwri
e-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Werror -fno-comm
n   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I.
-I../../gcc-3.4-20031015/gcc -I../../gcc-3.4-200
1015/gcc/. -I../../gcc-3.4-20031015/gcc/../include  -I/sw/include  
../../gcc-3.4-20031015/gc
/errors.c -o errors.o
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-
trings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Werror -fno-common
 -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genmodes \
 genmodes.o errors.o ../libiberty/libiberty.a
xgcc: installation problem, cannot exec `c++filt3': No such file or directory
/usr/bin/ld: Undefined symbols:
__init_keymgr
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
### execution of /var/tmp/tmp.2.XKqSWk failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-g77-3.4-20031015-2
(Reading database ... 5336 files and directories currently installed.)
Removing fink-buildlock-g77-3.4-20031015-2 ...
Failed: phase compiling: g77-3.4-20031015-2 failed




The pmag package contains lots of source code that needs to be
compiled with a provided "make.all" file that is full of f77 command
lines. I have in the past used these programs on a linux machine by
manually typing in the "make.all" command. So I tried finding the
source code for this package and entering the "make.all" or "bash
make.all" I get the following errors.

sh-2.05b# make.all
sh: make.all: command not found
sh-2.05b# bash make.all
make.all: line 1: f77: command not found
make.all: line 2: f77: command not found
make.all: line 3: f77: command not found
make.all: line 4: f77: command not found
make.all: line 5: f77: command not found
make.all: line 6: f77: command not found
make.all: line 9: f77: command not found
make.all: line 13: f77: command not found
make.all: line 14: f77: command not found
make.all: line 15: f77: command not found
make.all: line 18: f77: command not found
make.all: line 19: f77: command not found
make.all: line 20: f77: command not found
make.all: line 21: f77: command not found
make.all: line 22: f77: command not found
make.all: line 23: f77: command not found
make.all: line 24: f77: command not found
make.all: line 25: f77: command not found
make.all: line 26: f77: command not found
make.all: line 27: f77: command not found
make.all: line 28: f77: command not found
make.all: line 29: f77: command not found
make.all: line 30: f77: command not found
make.all: line 31: f77: command not found
make.all: line 34: f77: command not found
make.all: line 36: f77: command not found
make.all: line 37: f77: command not found
make.all: line 40: f77: command not found
make.all: line 42: f77: command not found
make.all: line 43: f77: command not found
make.all: line 45: f77: command not found
make.all: line 48: f77: command not found
make.all: line 49: f77: command not found
make.all: line 50: f77: command not found
make.all: line 52: f77: command not found
make.all: line 54: f77: command not found
make.all: line 55: f77: command not found
make.all: line 56: f77: command not found
make.all: line 57: f77: command not found
make.all: line 58: f77: command not found
make.all: line 59: f77: command not found
make.all: line 60: f77: command not found
make.all: line 63: f77: command not found
make.all: line 64: f77: command not found
make.all: line 66: f77: command not found
make.all: line 67: f77: command not found
make.all: line 69: f77: command not found
make.all: line 70: f77: command not found
make.all: line 73: f77: command not found
make.all: line 78: f77: command not found
make.all: line 79: f77: command not found
make.all: line 83: f77: command not found
make.all: line 84: f77: command not found
make.all: line 90: f77: command not found
make.all: line 93: f77: command not found
make.all: line 95: f77: command not found
make.all: line 96: f77: command not found
make.all: line 97: f77: command not found
make.all: line 99: f77: command not found
make.all: line 100: f77: command not found
make.all: line 102: f77: command not found
make.all: line 103: f77: command not found
make.all: line 104: f77: command not found
make.all: line 106: f77: command not found
make.all: line 107: f77: command not found
make.all: line 109: f77: command not found
make.all: line 111: f77: command not found
make.all: line 113: f77: command not found
make.all: line 114: f77: command not found
make.all: line 115: f77: command not found
make.all: line 116: f77: command not found
make.all: line 120: f77: command not found
make.all: line 122: f77: command not found
make.all: line 123: f77: command not found
rm: *.o: No such file or directory


It was suggested to me that I reinstall g77 and try again.
Unfortunately when I enter "fink install g77" I get these errors:

/sw/src/fink.build/g77-3.4-20031015-2/darwin/gcc/../binutils/ranlib ;
else if [ "i686-apple-darwin8.5.2" = "i686-apple-darwin8.5.2" ] ; then
echo ranlib; else t='s,y,y,'; echo ranlib | sed -e $t ; fi; fi`
stage1/libgcc_eh.a; \
fi
for f in .. ; do if [ x${f} != x.. ]; then \
  cp stage1/${f} . ; \
else true; \
fi; done
mv -f f/*.o f/fini f/stamp-str f/str-*.h f/str-*.j g77spec.o stage1/f
mv: rename f/*.o to stage1/f/*.o: No such file or directory
mv: rename f/fini to stage1/f/fini: No such file or directory
mv: rename f/stamp-str to stage1/f/stamp-str: No such file or directory
mv: rename f/str-*.h to stage1/f/str-*.h: No such file or directory
mv: rename f/str-*.j to stage1/f/str-*.j: No such file or directory
mv: rename g77spec.o to stage1/f/g77spec.o: No such file or directory
make[2]: [f77.stage1] Error 1 (ignored)
for dir in . f ; \
do \
  rm -f $dir/*.{gcda,gcno} ; \
done
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/"
CC_FOR_BUILD=" stage1/xgcc -Bstage1/
-B/sw/i686-apple-darwin8.5.2/bin/" \
         STAGE_PREFIX=stage1/ \
         ADAC="\$(CC)" CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic
-Wno-long-long -Werror" libdir=/sw/lib LANGUAGES="c gcov gcov-dump
f77" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
         CFLAGS="-g -O2" WERROR="-Werror"
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE -I/sw/include   -I. -I.
-I../../gcc-3.4-20031015/gcc -I../../gcc-3.4-20031015/gcc/.
-I../../gcc-3.4-20031015/gcc/../include 
../../gcc-3.4-20031015/gcc/genmodes.c -o genmodes.o
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.4-20031015/gcc
-I../../gcc-3.4-20031015/gcc/. -I../../gcc-3.4-20031015/gcc/../include
 -I/sw/include   ../../gcc-3.4-20031015/gcc/errors.c -o errors.o
stage1/xgcc -Bstage1/ -B/sw/i686-apple-darwin8.5.2/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o genmodes \
 genmodes.o errors.o ../libiberty/libiberty.a
xgcc: installation problem, cannot exec `c++filt3': No such file or directory
/usr/bin/ld: Undefined symbols:
__init_keymgr
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
### execution of /var/tmp/tmp.2.cAVKXQ failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-g77-3.4-20031015-2
(Reading database ... 5336 files and directories currently installed.)
Removing fink-buildlock-g77-3.4-20031015-2 ...
Failed: phase compiling: g77-3.4-20031015-2 failed



I am using a new intel mac (macbook pro) with OS 10.4.3, Fink version
0.24.14 - as suggested on the fink news page. I'm running all these
commands on X11

Thank you for your time and consideration,
Linda Hurley


--
Linda L. D. Hurley
Ph.D. Candidate
Department of Earth and Planetary Sciences
MSC03-2040,
1 University of New Mexico
Albuquerque, NM  87131-0001
[EMAIL PROTECTED]
[EMAIL PROTECTED]


_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to