[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-make] Re: Building GNU packages
From: |
llewelly |
Subject: |
[Bug-make] Re: Building GNU packages |
Date: |
17 Sep 2000 15:43:31 -0600 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
"Jeffrey L. Wasserman" <address@hidden> writes:
> Hello,
>
> On the gcc FAQ it said to send questions pertaining to build
> problems to this address. I am a user on a Solaris 2.7 system, and I find
> the available software less than adequate. So I've decided to compile a
> bunch of the GNU software, and keep the GNU executables and other
> necessary files in my own directory. I have 100 MB of personal space on
> this system.
If find yourself running out of space, try 'make bootstrap-lean'
instead of 'make bootstrap' .
>
> I've tried compiling some software, and it fails miserably. I've
> noticed that this system uses gcc 2.7.2 from the following command:
> bash-2.03$ gcc -v
> Reading specs from
> /usr/site/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/specs
> gcc version 2.7.2
I thought you said you were on a Solaris 2.7 system. This gcc 2.7.2 is
configured for solaris 2.5.1 . My (admittedly limitied)
experience with solaris suggests that this is likely to cause
problems.
I suggest you try to find a pre-compiled binary of gcc, and try
that. www.sunfreeware.com is one place to look for solaris binaries of
gcc, but I am afraid they will not have one that can be installed by
someone other than root.
>
> I've decided to build gcc-2.95.2, so the compiler will be up
> to date. I've tried building 'GNU make' and 'gcc', and can sucessfully
> run the "./configure". However, executing make after this fails with what
> look like parsing or syntax errors in the installed system libraries.
> Here are two sets of error messages I get when compiling GNU make. (I
> would give the gcc-compilation error messages, but I've had to delete the
> gcc sources due to space limitations. But the gcc errors are VERY similar
> to those for GNU make).
Since this may be a problem with gnu make, I am cc'ing this to the
gnu-make list.
>
> -----------------
>
> bash-2.03$ make
> make all-recursive
> Making all in glob
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c glob.c
> In file included from
> /usr/site/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/time.h:90,
> from /usr/include/sys/time.h:405,
> from /usr/include/sys/select.h:17,
> from
> /usr/site/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/sys/types.h:281,
> from glob.c:33:
> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
> union
> /usr/include/sys/siginfo.h:76: parse error before `}'
> glob.c: In function `glob_in_dir':
> glob.c:1319: `DIR' undeclared (first use this function)
> glob.c:1319: (Each undeclared identifier is reported only once
> glob.c:1319: for each function it appears in.)
> glob.c:1319: parse error before `)'
> glob.c:1333: dereferencing pointer to incomplete type
> glob.c:1339: dereferencing pointer to incomplete type
> glob.c:1404: parse error before `)'
> glob.c:1416: parse error before `)'
> *** Error code 1
> make: Fatal error: Command failed for target `glob.o'
> Current working directory /home/jeffwass/gnu/make-3.79.1/glob
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /home/jeffwass/gnu/make-3.79.1
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
>
> --------------------
>
> Wondering if this was due to errors with using the Solaris make instead of
> GNU make, I tried the build.sh script instead, and got the following
> errors:
>
> bash-2.03$ sh ./build.sh
> compiling ar.c...
> In file included from
> /usr/site/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/time.h:90,
> from /usr/include/sys/time.h:405,
> from /usr/include/sys/select.h:17,
> from
> /usr/site/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/sys/types.h:281,
> from gettext.h:27,
> from make.h:56,
> from ./ar.c:20:
> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
> union
> /usr/include/sys/siginfo.h:76: parse error before `}'
>
> -------------------
>
> Please help, I'd like to get the GNU software suite compiled, foster
> free-software on this Solaris system, and then compile other available
> software-packages as well.
>
> Thanks alot.
>
> - Jeffrey Wasserman
> Graduate Physics Student at Johns Hopkins University
> address@hidden
> http://www.pha.jhu.edu/~jeffwass
- [Bug-make] Re: Building GNU packages,
llewelly <=