Jiri B <ji...@devio.us> writes:

> I wanted to start using python bindings for Selenium web apps
> testing server..., but their source includes Linux library
> only.

I don't know much about selenium, but it seems you have problems with
files you manually include in the package.  Is there any reason?

> So I'm trying to build it on OpenBSD. Anybody would like to
> give a hand?
>
> The port Makefile is here:
>
>     
> https://github.com/jirib/openbsd-mystuff/blob/master/devel/py-selenium/Makefile
>
> jirib
>
> cd /data/pobj/py-selenium-2.28.0/selenium-2.28.0 && cc -shared -fPIC -O2 -pipe
> /data/pobj/py-selenium-2.28.0/selenium-2.28.0/x_ignore_nofocus.c 
> -I/usr/local/include/libelf -L/usr/local/lib -L/usr/X11R6/lib 
> -I/usr/X11R6/include
> x_ignore_nofocus.c -lelf

Use -I${LOCALBASE}/include and change your perl -pie to
's,elf.h,libelflibelf.h,'

Then you'll hit some other problem.

> In file included from 
> /data/pobj/py-selenium-2.28.0/selenium-2.28.0/x_ignore_nofocus.c:13:
> /usr/local/include/libelf/libelf.h:31:28: error: libelf/sys_elf.h: No such 
> file or directory

-- 
Jérémie Courrèges-Anglas
GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Reply via email to