DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd October 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default ${PYSITELIB} in PLIST

I trying to port the seafile-client to NetBSD. The seafile-client requires seafile-daemon which requires ccnet which requires the library libsearpc. Libsearpc uses Python modules, so for the PLIST I have to add paths depending which Python version is used. But when I type "make package" I only get the neat error message that the files aren't found because ${PYSITELIB} weren't resolved. Either sections "Automatic manual page handling" or "Creating binary package" handles correct the variable ${PYSITELIB}? Any ideas what is wrong?

I uploaded the project to Pkgsrc-wip for testing.
__________________
NetBSD 8.99.25(AMD64)@Xiaomi Air 1.Gen
Reply With Quote
  #2   (View Single Post)  
Old 23rd October 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

I'm assuming you're talking about wip/seafile-libsearpc?

Looking at the Makefile, you've not included any of the "magic" python includes. Without those, variables such as PYSITELIB are not going to be defined.

Include ../../lang/python/extension.mk, and see if that improves things for you.
Reply With Quote
  #3   (View Single Post)  
Old 23rd October 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default

Thank you very much. I tried yesterday also the other Makefiles in lang/python but today after some refactoring I can build a package. The next step will be ccnet.
__________________
NetBSD 8.99.25(AMD64)@Xiaomi Air 1.Gen
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a strange package problem .. bash @name exists but plist empty daemonfowl OpenBSD Packages and Ports 25 11th April 2012 02:06 AM


All times are GMT. The time now is 03:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick