Subject: problem building trac in macppc port
To: None <pkgsrc-users@netbsd.org>
From: Rui Oliveira <rui_oliveira@bigfoot.com>
List: pkgsrc-users
Date: 03/17/2006 14:48:57
This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C649D1.EFD3DE70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
 
I've build trac in a macppc NetBSD 3.0. I compiles ok, but when I try to use
it, the following message appears in my web-browser.
 
----------------------------------------------------
Oops...
 
Trac detected an internal error:
 
ClearSilver not installed (/usr/pkg/lib/python2.4/site-packages/neo_cgi.so:
Unsupported relocation type 6 in non-PLT relocations
)
Traceback (most recent call last):
  File
"/usr/pkg/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line
206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/pkg/lib/python2.4/site-packages/trac/web/main.py", line 139, in
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/pkg/lib/python2.4/site-packages/trac/web/main.py", line 83, in
dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/usr/pkg/lib/python2.4/site-packages/trac/web/clearsilver.py", line
132, in __init__
    raise TracError, "ClearSilver not installed (%s)" % e
TracError: ClearSilver not installed
(/usr/pkg/lib/python2.4/site-packages/neo_cgi.so: Unsupported relocation
type 6 in non-PLT relocations
)

---------------------------------------------------

I've looked in the internet and found this link

http://mail-index.netbsd.org/port-powerpc/2005/03/11/0001.html

that talks about this problem and say to compile with -fPIC or -fpic.

 

Where do I put these instructions?

I have compiled a lot of packages in i386 NetBSD and a few in macppc but
I've never needed to change anything. Can some one please help me on this?

 

Rui

 

 


------=_NextPart_000_0001_01C649D1.EFD3DE70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1><pre><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Hi,<o:p></o:p></span></font></pre><pre><font =
size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>I&#8217;ve build trac in a macppc NetBSD 3.0. =
I compiles ok, but when I try to use it, the following message appears =
in my web-browser.<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dnavy face=3D"Courier New"><span =
style=3D'font-size:10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></pr=
e><pre><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'>----------------------------------------------------<o:p></o:=
p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Oops...<o:p></o:p></span></font></pre><pre><fo=
nt
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>Trac =
detected an internal error:<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>ClearSilver not installed =
(/usr/pkg/lib/python2.4/site-packages/neo_cgi.so: Unsupported relocation =
type 6 in non-PLT relocations<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>Traceback =
(most recent call last):<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>&nbsp; =
File =
&quot;/usr/pkg/lib/python2.4/site-packages/trac/web/modpython_frontend.py=
&quot;, line 206, in handler<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; =
dispatch_request(mpr.path_info, mpr, =
env)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>&nbsp; =
File &quot;/usr/pkg/lib/python2.4/site-packages/trac/web/main.py&quot;, =
line 139, in dispatch_request<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; =
dispatcher.dispatch(req)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>&nbsp; =
File &quot;/usr/pkg/lib/python2.4/site-packages/trac/web/main.py&quot;, =
line 83, in dispatch<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; req.hdf =3D =
HDFWrapper(loadpaths=3Dchrome.get_all_templates_dirs())<o:p></o:p></span>=
</font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>&nbsp; =
File =
&quot;/usr/pkg/lib/python2.4/site-packages/trac/web/clearsilver.py&quot;,=
 line 132, in __init__<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; raise TracError, =
&quot;ClearSilver not installed (%s)&quot; % =
e<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>TracError: ClearSilver not installed =
(/usr/pkg/lib/python2.4/site-packages/neo_cgi.so: Unsupported relocation =
type 6 in non-PLT relocations<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>)<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>------------------------------------=
---------------</span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve looked in the internet and found this =
link<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a
href=3D"http://mail-index.netbsd.org/port-powerpc/2005/03/11/0001.html"
title=3D"http://mail-index.netbsd.org/port-powerpc/2005/03/11/0001.html">=
http://mail-index.netbsd.org/port-powerpc/2005/03/11/0001.html</a><o:p></=
o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>that talks about this problem and say to compile with
&#8211;fPIC or &#8211;fpic.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Where do I put these =
instructions?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have compiled a lot of packages in i386 NetBSD and =
a few
in macppc but I&#8217;ve never needed to change anything. Can some one =
please
help me on this?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Rui<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0001_01C649D1.EFD3DE70--