[kde-solaris] bzip2 for KDE3 on Solaris 8

Wout Mertens kde-solaris@mail.kde.org
Mon Feb 17 13:22:01 2003


Ok. Seems to me the test in configure needs to be fixed for Solaris at
least.

Let's open a bug, but first, let's decide if the $lt_prog_compiler_pic
option has to be added (==-fPIC for gcc) or the -shared should be dropped?

Wout.

On Mon, 3 Feb 2003, M Hawkins wrote:

>
> On Friday 31 Jan 2003 11:23 am, Wout Mertens wrote:
> > Related problem:
> >
> > I built the shared .so myself, with the proposed changes in
> > README.COMPILE_ERRORS<...>. The configure test for BZ2_... is broken on
> > Solaris: When it runs, it fails with a 'relocation remains on readonly
> > segments' error from ld. This error only exists on Solaris, and it means
> > that the test file has to be built with -fPIC as well.
> >
> > Has anybody had the same problem or is it just me and am I wrong?
> >
>
> I had the same problem, it seems to be that the test is being compiled with
> the -shared flag.  This is causing the linker to add a -z text option.
>
> I fixed the problem by commenting out the line in the configure script that
> says:
>
> 	cxx_shared_flag="-shared"
>
> Which is just before the bzip check section at about line 35867
>
> > Wout.
> >
>
> --
> Mike Hawkins                                                Building E2
> AWE PLC                                                     Aldermaston
> Email: mh@awe.co.uk                                         Reading
> Tel: (0118) 9827067     Fax: (0118) 9824820                 Berkshire RG7 4PR
> --
> _______________________________________________________________________________
>
> The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited.  Please notify us immediately by email at intadmin@awe.co.uk, and then delete this message from your computer.  While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected.
>
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>