On Sun, 14 Apr 2002, Tom Schneider wrote:
Ernst:
Thanks for your help. A general installation script that works on all systems would be a big help.
I did the same installation successfully on several Linux SuSe 7.x machines with two more parameters for configure:
--prefix=${HOME}/.gnu # or some other place to put the binary --host=$MACHTYPE # resolves on my Linux as i686-suse-linux
I tried that:
(lots of messages that look ok) ... Configuration i386-pc-none not supported Configure in /users/tds/gpc/gpc-build/gcc failed, exiting.
% echo $MACHTYPE i386
After grabbing the tar, your script did this:
... 12550K .......... .......... .......... ... 100% @ 129.52 KB/s
13:53:35 (427.96 KB/s) - `gcc-2.95.2.tar.gz' saved [12885815]
Creating gcc-2.95.2 Checking permissions cd /tmp/tds/install.gpc/gpc-20020410 mv p /tmp/tds/install.gpc/gcc-2.95.2/gcc/ : mkdir /tmp/tds/install.gpc/gpc-build cd /tmp/tds/install.gpc/gpc-build /tmp/tds/install.gpc/gcc-2.95.2/configure --enable-languages=pascal --prefix=/us ers/tds/.gnu --host=i386 Configuration i386-pc-none not supported Configure in /tmp/tds/install.gpc/gpc-build/gcc failed, exiting. ERROR, Returncode after /tmp/tds/install.gpc/gcc-2.95.2/configure --enable-langu ages=pascal --prefix=/users/tds/.gnu --host=i386 is 1
Hallo Tom,
I don't know whether it will help to solve your problem, but nevertheless let me tell about some new experiences with 'install.gpc'.
- I removed the MACHTYPE feature, and on SuSe 7.x systems installation works fine, as before.
- When trying the installation on Sun Solaris 7 and 8 I run into similar problems as you report. Then, after reinstalling some gnu-tools (make-3.79, sed-3.02, grep-2.5 and patch-2.5) install.gpc worked fine without problems. I can't exactly say which one of the tools brought the breakthrough. The week point of the script is checking the right prerequisites and, if necessary, give some advice what to do.
- ... and great success on HP-UX 10.20 systems. When trying installation the job never aborted nearer to the end than ever before %-))
You may download the modified version of install.gpc and install.gnu from
http://www.desy.de/~bohnen/tools/install.gpc and http://www.desy.de/~bohnen/tools/install.gnu
Before use get some help with the -h switch and when installing software select maximum verbosity with -V 2, examples:
install.gpc -V 2 # installs gpc install.gnu -V 2 -i make 3.79 # installs make version 3.79
Regards Ernst-Ludwig