FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 python fails
Author: jplock 
Date:   11-03-04 19:32

After portrevision #3 of lang/python, my ports install of mail/mailman no longer works because it complains that python can't find the socket module (both of these port installs were working fine prior to this latest portrevision and were able to be upgradeable [via portupgrade]). I've tried rebuilding python several times and each time I receive this error during the build process:

*** WARNING: renaming "_socket" since importing it failed: build/lib.freebsd-4.9-RELEASE-i386-2.3/_socket.so: Undefined symbol "__h_errno"

Anyone else getting this? I emailed the port maintainer but he has not returned my email.

Thanks.

Reply To This Message
 
 Re: python fails
Author: Justin 
Date:   12-03-04 12:38

Figured it out. I guess apparently, I had installed the dns/bind8 port a few weeks ago with the PORT_REPLACES_BASE_BIND8=yes make option. The /usr/include/netdb.h file that this port uses to overwrite the default freebsd netdb.h doesn't properly set the __h_errno variable. To fix this, I had to copy /usr/src/include/netdb.h back over the /usr/include/netdb.h. After that, everything compiled successfully again.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.