swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2nd Problem Installing Swarm2.0 in LinuxPPC R5


From: Darren Schreiber
Subject: 2nd Problem Installing Swarm2.0 in LinuxPPC R5
Date: Sun, 5 Sep 1999 00:42:39 -0700

I did a fresh install of LinuxPPC from the CD-ROM. I followed the instructions you provided. The only deviation I made was copying gcc-2.95.1.tar.gz into the the arc directory rather than using ftp (I don't have the modem for linux).

The results follow:

[darren@(none) darren]$ tar -C $S -z -x -f $A/gcc-2.95.1.tar.gz
[darren@(none) darren]$ mkdir -p build/gcc-2.95.1
[darren@(none) darren]$ cd build/gcc-2.95.1
[darren@(none) gcc-2.95.1]$ $S/gcc-2.95.1/configure --srcdir=$S --prefix=$P
Configuring for a powerpc-unknown-linux-gnu host.
grep: /home/darren/src/configure.in: No such file or directory
*** /home/darren/src/configure.in has no "per-host:" line.
grep: /home/darren/src/configure.in: No such file or directory
[darren@(none) gcc-2.95.1]$ make bootstrap
make: *** No rule to make target `bootstrap'. Stop.


1. What am I doing wrong? How do I fix it?

You also suggested that I tried using rpm.

[darren@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
failed to open //var/lib/rpm/packages.rpm

I verified that the file packages.rpm is located there.


2. Is the error because I was using my personal account instead of root? Can I do an rpm installation from a personal account?


So I logged in as root.

[root@(none) darren]# rpm -ivh gcc-objc-2.95.1-0a.ppc.rpm
error: failed dependencies:
cpp = 2.95.1 is needed by gcc-objc-2.95.1-0a
gcc = 2.95.1 is needed by gcc-objc-2.95.1-0a
gcc-c++ = 2.95.1 is needed by gcc-objc-2.95.1-0a
[root@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
error: failed dependencies:
cpp = 2.95.1 is needed by gcc-2.95.1-0a
binutils >= 2.9.4.0.8 is needed by gcc-2.95.1-0a

[root@(none) darren]# rpm -ivh cpp-2.95.1-0a.ppc.rpm
error: file /lib/cpp from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c
error: file /usr/bin/cpp from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c
error: file /usr/info/cpp.info.gz from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c

[root@(none) darren]# rpm -ivh --force cpp-2.95.1-0a.ppc.rpm
cpp ##################################################
[root@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
error: failed dependencies:
binutils >= 2.9.4.0.8 is needed by gcc-2.95.1-0a
[root@(none) darren]#

[root@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
error: failed dependencies:
binutils >= 2.9.4.0.8 is needed by gcc-2.95.1-0a
[root@(none) darren]#

[root@(none) darren]# rpm -ivh --force binutils-2.9.5.0.6-0a.ppc.rpm
binutils ##################################################

[root@(none) darren]# rpm -ivh --force gcc-2.95.1-0a.ppc.rpm
gcc ##################################################
[root@(none) darren]#

[root@(none) darren]# rpm -ivh gcc-objc-2.95.1-0a.ppc.rpm
error: failed dependencies:
gcc-c++ = 2.95.1 is needed by gcc-objc-2.95.1-0a

[root@(none) darren]# rpm -ivh gcc-c++-2.95.1-0a.ppc.rpm
error: failed dependencies:
libstdc++ = 2.10.0 is needed by gcc-c++-2.95.1-0a
[root@(none) darren]#

I added libstdc++-2.10.0 and used rpm. Then used rpm for gcc-c++-2.95.1-0a.ppc.rpm and then gcc-objc-2.95.1-0a.ppc.rpm.

Everything seemed ok at this point, but I was somewhat concerned about forcing the installs.

Next, I logged in a user account and checked all the versions of the swarm-required software.

[darren@(none) darren]$ rpm -q xpm
xpm-3.4j-5
[darren@(none) darren]$ rpm -q libffi
package libffi is not installed
[darren@(none) darren]$ rpm -q libpng
libpng-1.0.3-2
[darren@(none) darren]$ rpm -q tcl
tcl-8.0.4-30a
[darren@(none) darren]$ rpm -q tk
tk-8.0.4-30a
[darren@(none) darren]$ rpm -q blt
blt-2.4g-4
[darren@(none) darren]$ rpm -q ffcall
package ffcall is not installed


3. Do I need newer versions of tk/tcl? I guessed that 8.0.4 was newer than 8.0p2.





Since it looked like all I needed to install was libffi, I untarred it, used ./configured, make, and make install. This looked good... the ending message said:

To link against installed libraries in LIBDIR, users may have to:
- add LIBDIR to their `LD_LIBRARY_PATH' environment variable
- use the `-LLIBDIR' linker flag
make[1]: Leaving directory `/home/darren/libffi-1.20/src'

I then untarred Swarm-2.0.

[darren@(none) swarm-2.0]$ ./configure --with-defaultdir=$HOME/needed --prefix=$HOME/needed --with-ffidir=$HOME/libffi-1.20

Midway through the compile I got the following:

loading cache ../config.cache
*************** Warning ****************
The mframe software has not been ported to powerpc-linux-gnu.
Using information from ${top_srcdir}/config/powerpc/compiler-info-generic.h
****************************************
checking for DLL options... using plain extern

The configure ended as follows:

updating cache ../config.cache
creating ./config.status
creating Makefile
creating avcall.h

This looked normal, so I typed make.
[darren@(none) swarm-2.0]$ make

That ended with the following:

rm -f .libs/class.lo
gcc -DHAVE_CONFIG_H -I. -I/home/darren/swarm-2.0/libobjc -I. -I./objc -I/home/darren/swarm-2.0/libobjc/objc -I/home/darren/swarm-2.0/libobjc -DBUILDING_LIBOBJC -g -O2 -c -fPIC -DPIC class.c -o .libs/class.lo
gcc -DHAVE_CONFIG_H -I. -I/home/darren/swarm-2.0/libobjc -I. -I./objc -I/home/darren/swarm-2.0/libobjc/objc -I/home/darren/swarm-2.0/libobjc -DBUILDING_LIBOBJC -g -O2 -c class.c -o class.o >/dev/null 2>&1
mv -f .libs/class.lo class.lo
make[4]: *** No rule to make target `/home/darren/swarm-2.0/libobjc/config/powerpc/compiler-info-generic.h', needed by `compiler-info.h'. Stop.
make[4]: Leaving directory `/home/darren/swarm-2.0/libobjc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/darren/swarm-2.0/libobjc'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/darren/swarm-2.0/libobjc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/swarm-2.0'
make: *** [all-recursive-am] Error 2
[darren@(none) swarm-2.0]$


4. Where do I go from here?


Thanks in advance for your continuing aid.




_____________________________________________

Darren Schreiber
Attorney at Law
Graduate Student
Political Science, UCLA
address@hidden
reply via email to

[Prev in Thread] Current Thread [Next in Thread]