Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 1999 01:27:58 -0700 (PDT)
From:      Tom Huppi <th@huppi.com>
To:        freebsd-questions@FreeBSD.org
Subject:   egcs Port -  Install Troubles
Message-ID:  <Pine.BSF.4.05.9910020012140.12640-100000@sis.huppih.com>

next in thread | raw e-mail | index | archive | help


Hi all.

This is the first time I have written to this list, so I would
appreciate any critiques...especially my descision to choose
'questions' rather than 'ports'...not so much of my spelling which
I am working on.

OK, the other day I tried to compile a test C++ program for a class
that I am taking.  It complained of a missing library so I decided
to install egcs before working out the library path stuff (and I
wasn't sure if the stock cc was built with C++ support or not.)

Since I ran into a problem with the egcs port install (and also,
parenthetically, a seemingly different problme with a gimp port
install some days before,) I upgraded from 3.1 to 3.3 before begging
for assistance.  The upgrade went well considering that it was my
first attempt I think.

Below are a few clips from my diary which document the problems I
am having, and I have put (what I consider to be) relevant portions
of a dmesg at the end in case it would help.

Thanks to anyone who can point me in a helpfull direction and/or
explain the cause and nature of the trouble I am having.  And, of
course, many many thanks to those who are involved in the FreeBSD
project...I am very impressed and get more so each day!

-Tom

991001

- Wiped out the egcs work directory and did a make then make install.
Same deal...  make install fails with this:

-------------------
...
gmake[2]: Entering directory `/usr/ports/lang/egcs/work
       /gcc-2.95.1/i386-unknown-freebsd 3.3/libiberty/testsuite'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/lang/egcs/work
       /gcc-2.95.1/i386-unknown-freebsd3.3/libiberty/testsuite'
gmake[1]: Leaving directory `/usr/ports/lang/egcs/work
       /gcc-2.95.1/i386-unknown-freebsd3.3/libiberty'
===>   Generating temporary packing list
/usr/libexec/elf/strip: /usr/local/bin/i386-portbld-freebsd3.3-gcc:
        No such file or directory
*** Error code 1

Stop.
*** Error code 1
...
---------------------
Note:  sure enough, /usr/local/bin/ has only i386-unknown-fre... directory.
Also:
        root@abit /usr> find . -name "*portbld*"
        ./local/lib/gcc-lib/i386-portbld-freebsd3.1
        ./local/lib/gcc-lib/i386-portbld-freebsd3.3

and:
        root@abit /usr/local/lib/gcc-lib> ll
        total 4
        drwxr-xr-x  3 root  wheel  512 Sep 28 01:22 i386-portbld-freebsd3.1
        drwxr-xr-x  3 root  wheel  512 Oct  1 04:54 i386-portbld-freebsd3.3
        drwxr-xr-x  3 root  wheel  512 Sep 28 01:21 i386-unknown-freebsd3.1
        drwxr-xr-x  3 root  wheel  512 Oct  1 04:54 i386-unknown-freebsd3.3


- Some research on the list archives shows that one person got it
to go by creating a symbolic link.  He didn't seem to get a response
when he asked around about what happened and if his kluge would
cause other trouble.  Another person had a conversation with O'Brien
which, unfortunately tapered off just when O'Brien was about to
tell him what happened :-(

- I was about to create a similar symb link, but a little more
research showed that perhaps a better understanding was in order
(above find and ls).  The Makefiles are kinda confusing to me so
perhaps I should ask my first question of the list...ports or
questions?

---------dmesg---------
root@abit /usr/local/lib/gcc-lib> dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.3-STABLE #4: Fri Oct  1 03:42:35 PDT 1999
    root@abit.huppih.com:/usr/src/sys/compile/ABIT
CPU: Pentium/P55C (233.86-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62689280 (61220K bytes)
Preloaded elf kernel "kernel" at 0xc0278000.
<snip>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910020012140.12640-100000>