[BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
sindi keesan
keesan at sdf.lonestar.org
Tue Jan 3 23:55:56 EST 2006
On Tue, 3 Jan 2006, David Moberg wrote:
> sindi keesan wrote:
>
>>> Just execute:
>>> ln -sf /usr/bin/cpp /lib/cpp
>
>> What normally makes this link?
>
> Usually, the doinst.sh script that comes with the package.
egcs? I did not reinstall that, just glibc and linuxinc.
>> C preprocessor /lib/cpp fails sanity check.
>>
>> Netpbm will not compile properly on 2.95.6, says the README,
>
> I didn't know that 2.95.6 existed. Maybe it is even better than
> 2.95.3 for certain source code?
Not for netpbm, he said.
>
>> I did not have any /usr/include/linux to remove. What package normally
>> makes this link, which I probably broke at one point trying to shrink
>> glibc?
>
> linuxinc is supposed to put the headers in /usr/include/linux. Where
> did your copy put them?
I did not have a /usr/include/linux even after reinstalling linuxinc.
Maybe I goofed somehow. It works now that I made the link.
>>> Now set up a new symlink:
>>>
>>> ln -s /usr/src/linux-2.2.16/include/linux /usr/include/linux
>>
>> Could I instead of rm -rf and ln -s, just ln -sf?
>
> Maybe. I'm not sure what this will do if /usr/include/linux is a
> directory.
>
>> I have a /usr/lib/libz.so.1.1.3 to which is symlinked libz.so.1 (it was
>> not removed for some reason) and there is no libz.so.1.2.3 anywhere on my
>> computer, including the directory where I just compiled libz. I think the
>> libz people are assuming you have a more recent linux that comes with this
>> file, instead of providing it for you to compile.
>
> You should be able to compile it. Maybe there is a configuration file that
> you can edit to build the shared library?
I will try to find one. The shared libraries were built by default for
libjpeg and libpng. I think for zlib there was a 'configure' (Not at
that computer now).
>> I would rather provide a package with the .so libraries since they are
>> also used by other programs (such as zgv and delilinux links2 with svgalib
>> support, but the BL3 links2 is statically compiled; so is ghostscript, I
>> think).
>>
>> libz.so.1.2.3 ?60-70K libz.a 79K
>> WHERE DO I FIND THIS? I could compile statically with libz.a since
>> it is small, I guess.
>>
> Are you using SW81 development libraries? You should get libraries
> and library source code from SW81. The netpbm programs will then
> probably not work on a stock BL2.
SW81 full glibc, everything else SW71. I tried to use SW81 glibc-so and
SW71 full glibc and thoroughly messed up BL and had to start over.
To switch compilers do I need gcc-2.95.3 and gcc-g++-2.95.3? Anything
else from SW81?
What do you mean by development libraries?
I am not compiling for stock BL2 but for upgraded to glibc 2.2.5, which is
what I needed for Opera or precompiled xpdf or precompiled curl and
openssl.
> Use SW71 instead for BL2 binaries.
>
>> I have the version you made for BL3 already, and have not run into any
>> programs I want that are not in there. Do you recall which ones would not
>> compile?
>
> There are too many to list.
The ones I wanted did compile. I have little idea what most of the others
do.
> David
More information about the BasLinux
mailing list