Trouble building OpenJDK on FreeBSD 7

Daniel Engberg diizzyy at gmail.com
Mon Oct 13 23:19:48 PDT 2008


Greg Lewis wrote:
> On Thu, Oct 09, 2008 at 09:14:18PM +0200, Daniel Engberg wrote:
>   
>> Greg Lewis wrote:
>>     
>>> On Thu, Oct 09, 2008 at 09:54:58AM +0200, Daniel Engberg wrote:
>>>   
>>>       
>>>> Hi,
>>>>
>>>> I'm trying to get OpenJDK to build (checkout yesterday) on FreeBSD 7 but 
>>>> can't seem to get it to compile. It all works fine until it tries to 
>>>> find X11 libs/headers which it fails at.
>>>>     
>>>>         
>>> I have patches for this.  I'm just figuring out how to push them up to
>>> the main tree (or whatever the right mercurial term is :).  You'll need
>>> to set ALT_X11_PATH to /usr/local and it will work.
>>>       
>> I still get stuck at the same place :(
>> I have all depends installed for the jdk16 port (which should be 
>> sufficient?) and of course Apache Ant.
>>     
>
> I haven't pushed the patches up yet...
>   
Now that Greg pushed his patches I can build OpenJDK but unfortunately 
Azureus (which in my case was the program I wanted to get working) 
doesn't work. It fails at binding network interfaces which is a bit of a 
drawback compared to earlier JRE's which at least starts Azureus. As 
I've said earlier I'm not a developer not I can't help with coding (i.e 
fixing the issue) but keep up the good work. For those who are wondering 
here's the error message I get:

StartServer ERROR: unable to bind to 127.0.0.1:6880 for passed torrent info
StartSocket: passing startup args to already-running process.
java.net.SocketException: Invalid argument
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:380)
        at java.net.Socket.connect(Socket.java:569)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.<init>(Socket.java:416)
        at java.net.Socket.<init>(Socket.java:199)
        at 
org.gudy.azureus2.ui.common.Main$StartSocket.<init>(Main.java:370)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:155)

Best regards,
Daniel



More information about the bsd-port-dev mailing list