[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    RE: [PyKDE] PyQt 3.5 build problems
From:       Peter Kropf <pkropf () legato ! com>
Date:       2002-12-19 15:48:49
[Download RAW message or body]

Just to follow up on my own posting... The problems stems from the fact that
the Qt code was compiled without the -fPIC option and as a result, the
libqassistantclient.a static library contained code that was not position
independent and the linker was unable to include it in the libqtcmodule.so
shared library. Once I rebuilt Qt with the -fPIC option to the QMAKE_CFLAGS
field of mkspecs/default/qmake.conf, PyQt built and seems to run just
fine...
 
- Peter
 
 

-----Original Message-----
From: Peter Kropf [mailto:pkropf@legato.com] 
Sent: Thursday, December 12, 2002 1:01 PM
To: PyQT Mailing List (pykde@mats.gmd.de)
Subject: [PyKDE] PyQt 3.5 build problems



I'm having trouble building the latest PyQt on Solaris 5.8. I'm using Qt
3.1.1, SIP 3.5 and PyQt 3.5. The problem looks to be on the linking of
libqtcmodule.so. The linker gives an error message as:

  ld: fatal: relocations remain against allocatable but non-writable
sections 
  collect2: ld returned 1 exit status 

I've attached the trace from make. Has anyone else encountered any problems
like this? 

Thanks! 

- Peter 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=287344415-19122002>Just 
to follow up on my own posting... The problems stems from the fact that the Qt 
code was compiled without the -fPIC option and as a result, the 
libqassistantclient.a static library contained code that was not position 
independent and the linker was unable to include it in the libqtcmodule.so 
shared library. Once I rebuilt Qt with the -fPIC option to the QMAKE_CFLAGS 
field of mkspecs/default/qmake.conf, PyQt built and seems to run just 
fine...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=287344415-19122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=287344415-19122002>- 
Peter</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=287344415-19122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Peter Kropf 
  [mailto:pkropf@legato.com] <BR><B>Sent:</B> Thursday, December 12, 2002 1:01 
  PM<BR><B>To:</B> PyQT Mailing List (pykde@mats.gmd.de)<BR><B>Subject:</B> 
  [PyKDE] PyQt 3.5 build problems<BR><BR></FONT></DIV>
  <P><FONT size=2>I'm having trouble building the latest PyQt on Solaris 5.8. 
  I'm using Qt 3.1.1, SIP 3.5 and PyQt 3.5. The problem looks to be on the 
  linking of libqtcmodule.so. The linker gives an error message as:</FONT></P>
  <P><FONT size=2>&nbsp; ld: fatal: relocations remain against allocatable but 
  non-writable sections</FONT> <BR><FONT size=2>&nbsp; collect2: ld returned 1 
  exit status</FONT> </P>
  <P><FONT size=2>I've attached the trace from make. Has anyone else encountered 
  any problems like this? </FONT></P>
  <P><FONT size=2>Thanks!</FONT> </P>
  <P><FONT size=2>- Peter</FONT> </P></BLOCKQUOTE></BODY></HTML>

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic