Subject: | |
From: | |
Reply To: | |
Date: | Thu, 3 Aug 2000 18:43:11 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Okay, I went back to the 2.95.1 (I KNOW that one worked). I dug through permissions. There will several problems but I found them:
Problem: couldn't find cpp
Fix: added /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/2.95.1 to my profile's PATH
P: cpp Permission Denied
F: chmod og+rx /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/2.95.1/cpp
P: stdio.h Permission Denied
F: chmod og+r /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/2.95.1/include/stdio.h
P: socket.h and types.h Permission Denied
F: chmod og+r /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/2.95.1/include/sys/types.h
This one fix to types fixed the socket.h problems.
Also, my POSIX shell /etc/profile was changed (the old was was backed up though). As some one pointed on kindly a few months ago, I made sure it had:
export CFLAGS="-DSYSV -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -D_MPEXL_SOURCE -DPOSIX"
export CC=gcc
export CPP="${CC} -E"
export CPPFLAGS="${CFLAGS}"
export CXXFLAGS="${CFLAGS}"
export LDLIBS="-L/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/2.95.1"
export LDFLAGS="-lsocket -lcurses -lsvipc"
export LD_LIBRARY_PATH=.
Then, of course, my Makefile uses these :)
As for the new packaging format for GCC (2.95.2). Hmmmm.... I know I come from a UNIX background so I am tainted but the 2.95.1 install procedure was so nice (or at least, it seemed friendly to me). The new method seems like a glorified blind UNTAR "hope for the best". Maybe the difference is the old way gave me useful information on its status so I felt I knew what it was doing <grin>. More than likely I just need to get comfortable with the new packaging (like I have a choice)
However, I'll wait a while for 2.95.2 until I see how the installs go for others.
Thanks to everyone who responded for their help! Bed time for Bonzo.
|
|
|