port py-libxml2 error

2010-04-07 Thread gahn
Hi all:

I got problem for compiling py-libxml2:

-

path -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lz 
/usr/local/lib/libiconv.so -lpth -lutil -lm -lpython2.6-Wl,-soname 
-Wl,libxml2mod.so -o .libs/libxml2mod.so
/usr/bin/ld: cannot find -lpth
gmake[1]: *** [libxml2mod.la] Error 1
gmake[1]: Leaving directory 
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.6/python'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/textproc/py-libxml2.

---

the error seems to point the issue to python. i installed python2.6 since 
some other packages require newer version of python2.

how could i fix this problem?

thanks





  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port py-libxml2 error

2010-04-07 Thread Chuck Swiger
Hi--

On Apr 7, 2010, at 12:29 PM, gahn wrote:
[ ... ]
 the error seems to point the issue to python. i installed python2.6 since 
 some other packages require newer version of python2.
 
 how could i fix this problem?

Installing /usr/ports/devel/pth is likely to be the answer.  There may be a 
missing dependency, or there may be an issue with the options you used to build 
python.  However, I don't see it needed here:

 % pkg_info -r python26-2.6.4
 Information for python26-2.6.4:
 
 Depends on:
 

..and pth things only these are dependencies:

 % pkg_info -R pth-2.0.7
 Information for pth-2.0.7:
 
 Required by:
 amavisd-new-2.6.4_5,1
 gnupg-2.0.14
 libassuan-1.0.5
 p5-Mail-SpamAssassin-3.3.0_3

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org