List Info

Thread: FreeBSD port?




FreeBSD port?
user name
2007-05-28 12:43:31
I went looking for a FreeBSD port of pysvn and didn't see
one.  Is 
anyone out there working on one?

Also, the software doesn't build on FreeBSD 6.2-STABLE fresh
from the 
box.  The error is "/usr/bin/ld: cannot find
-lresolv".  FreeBSD doesn't 
have -lresolv, it's rolled into libc as far as I can tell.

Thanks!

Jack.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: FreeBSD port?
user name
2007-05-28 13:22:26
Jack Twilley wrote:
> I went looking for a FreeBSD port of pysvn and didn't
see one.  Is
> anyone out there working on one?
> 
> Also, the software doesn't build on FreeBSD 6.2-STABLE
fresh from the
> box.  The error is "/usr/bin/ld: cannot find
-lresolv".  FreeBSD doesn't
> have -lresolv, it's rolled into libc as far as I can
tell.

I would expect pysvn to work fine under FreeBSD although I
have not
tried it myself.

I compiled pysvn on many UNIX platforms.
It is running fine on Linux, Solaris and IRIX for example.
I had to tweak the link lines a little (remove -lresolv and
others
that were neither needed nor available).
Try removing the -lxxx parameters from the link line that
cause error messages and see how far you get.

Carsten.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: FreeBSD port?
user name
2007-05-28 13:25:22
Carsten Koch wrote:
> Jack Twilley wrote:
>> I went looking for a FreeBSD port of pysvn and
didn't see one.  Is
>> anyone out there working on one?
>>
>> Also, the software doesn't build on FreeBSD
6.2-STABLE fresh from the
>> box.  The error is "/usr/bin/ld: cannot find
-lresolv".  FreeBSD doesn't
>> have -lresolv, it's rolled into libc as far as I
can tell.
> 
> I would expect pysvn to work fine under FreeBSD
although I have not
> tried it myself.

Apparently the person who wrote the makefile thought it
would work fine 
but didn't try it themselves, either.

> 
> I compiled pysvn on many UNIX platforms.
> It is running fine on Linux, Solaris and IRIX for
example.
> I had to tweak the link lines a little (remove -lresolv
and others
> that were neither needed nor available).
> Try removing the -lxxx parameters from the link line
that
> cause error messages and see how far you get.

I can tinker with it, but what I was asking was whether
anyone had a 
FreeBSD port of pysvn, because this kind of tinkering would
have been 
done as part of the port process and then I wouldn't have to
reinvent 
the wheel.

Thanks!

Jack.

> 
> Carsten.
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
> For additional commands, e-mail: users-helppysvn.tigris.org
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: FreeBSD port?
user name
2007-05-30 07:27:41
On Mon, May 28, 2007 at 10:43:31AM -0700,
 Jack Twilley <jmttwilley.org> wrote 
 a message of 14 lines which said:

> I went looking for a FreeBSD port of pysvn and didn't
see one.  Is
> anyone out there working on one?

No, sorry.

> Also, the software doesn't build on FreeBSD 6.2-STABLE
fresh from
> the box.  The error is "/usr/bin/ld: cannot find
-lresolv".  FreeBSD
> doesn't have -lresolv, it's rolled into libc as far as
I can tell.

Patching Makefile after the "python setup.py
configure" step worked
for me. Delete -lresolv and type make and everything goes
fine, I can
run my pysvn scripts.

(Same FreeBSD version, 6.2, Python 2.4.4)

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: FreeBSD port?
user name
2007-05-28 12:53:54
Jack Twilley wrote:
> I went looking for a FreeBSD port of pysvn and didn't
see one.  Is 
> anyone out there working on one?
>
> Also, the software doesn't build on FreeBSD 6.2-STABLE
fresh from the 
> box.  The error is "/usr/bin/ld: cannot find
-lresolv".  FreeBSD 
> doesn't have -lresolv, it's rolled into libc as far as
I can tell.
So edit setup.py for the place where it lists the libraries
to link in, 
remake the makefile, and run with it.

I like pysvn as a library, but the build system is fragile
in the 
extreme (as opposed to something autoconf-based, where it
actually 
checks which libraries are locally necessary/available).

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: FreeBSD port?
user name
2007-06-02 03:37:36
On May 28, 2007, at 18:53, Charles Duffy wrote:

> Jack Twilley wrote:
>> I went looking for a FreeBSD port of pysvn and
didn't see one.  Is  
>> anyone out there working on one?
>>
>> Also, the software doesn't build on FreeBSD
6.2-STABLE fresh from  
>> the box.  The error is "/usr/bin/ld: cannot
find -lresolv".   
>> FreeBSD doesn't have -lresolv, it's rolled into
libc as far as I  
>> can tell.
> So edit setup.py for the place where it lists the
libraries to link  
> in, remake the makefile, and run with it.
>
> I like pysvn as a library, but the build system is
fragile in the  
> extreme (as opposed to something autoconf-based, where
it actually  
> checks which libraries are locally
necessary/available).
>

I have freebsd 5.3 I've not need to upgrade to a freesbsd 6
here and  
I do test on freebsd 5.3.

I'm not familiar with the auto tools and so do not use them.
But I'd  
welcome a patch.

Mean while I can add the change for freebsd 6 if you can
tell me how  
to tell freebsd 5 and freebsd 6 apart?

What is the value of python's sys.platform?
I get "freebsd5" on my 5.3 system.

Barry





------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )