pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42598 (fix py-gstreamer0.10 build breakage)



The following reply was made to PR pkg/42598; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/42598 (fix py-gstreamer0.10 build breakage)
Date: Wed, 01 Dec 2010 21:45:47 +0900

 On Wed, 13 Jan 2010 14:41:52 +0900, <obache%netbsd.org@localhost> wrote:
 
 > Synopsis: fix py-gstreamer0.10 build breakage
 >
 > Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
 > Responsible-Changed-By: obache%NetBSD.org@localhost
 > Responsible-Changed-When: Wed, 13 Jan 2010 05:41:52 +0000
 > Responsible-Changed-Why:
 > Problem on DragonFly BSD.
 > maybe general issue at linked against libpython.
 
 At least on Python-2.6,
 1. configure
   1) check whether '-pthread' is accepted, then "CC= cc -pthread".
   2) also check '-lphread' is required for sem_init(3) (not using -pthread).
      then add -lpthead to ${LIBS}.
 
 On DragonFly, -pthread is accepted, but -lpthread is not required for 
sem_init(3)
 
 2. make
   1) phtyon26 executable is linked with ${CC} with ${LIBS}.
   2) libpython26.so will be linked with "cc -shared" with ${LIBS}.
 
 On DragonFly, executable is linked with libpthread, but libpython is not.
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index