Thank you -- I added your patches to the CVS version.
I'm installing a freebsd 9.2 virtual machine to look at the swig issues,
but I suspect that if you didn't see the solution, I'll not be lucky either.
Paul
On Mon, Jan 13, 2014 at 4:00 PM, Johan Ström <[email protected]> wrote:
> Hi,
>
> a few years ago I wrote a basic FreeBSD port for owfs [1]. I have now
> updated it with the latest owfs release and also improved port with regard
> to config options etc.
> The patches have been submitted separately [2], but the attached shar file
> contains the same patches.
>
> Some features are known broken, such as all SWIG bindings.. I'm not sure
> whats wrong but they do not compile at all. For example, if I enable python
> I get the following errors when I do make install (NOT in make!):
>
> ------
> install -o root -g wheel -m 444 owcapi.h
> '/usr/ports/comms/owfs/work/stage/usr/local/include'
> Making install in swig
> Making install in python
> Making install in ow
> python setup.py install
> --install-lib="/usr/ports/comms/owfs/work/stage/usr/local/lib/python2.7/site-packages"
> running install
> running build
> running build_py
> creating build
> creating build/lib.freebsd-8.4-RELEASE-p4-amd64-2.7
> creating build/lib.freebsd-8.4-RELEASE-p4-amd64-2.7/ow
> copying ow/__init__.py -> build/lib.freebsd-8.4-RELEASE-p4-amd64-2.7/ow
> running build_ext
> building '_OW' extension
> creating build/temp.freebsd-8.4-RELEASE-p4-amd64-2.7
> cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -fPIC -I../../owlib/src/include
> -I../../../src/include -I/usr/local/include/python2.7 -c ow_wrap.c -o
> build/temp.freebsd-8.4-RELEASE-p4-amd64-2.7/ow_wrap.o -D_FI
> LE_OFFSET_BITS=64 -I/usr/local/include/python2.7
> -I/usr/local/include/python2.7 -fno-strict-aliasing -O2 -pipe
> -fno-strict-aliasing -DNDEBUG
> In file included from ../../owlib/src/include/ow.h:216,
> from ow_wrap.c:2697:
> ../../owlib/src/include/compat.h: In function 'timegm':
> ../../owlib/src/include/compat.h:84: error: storage class specified for
> parameter '__compar_fn_t'
> ../../owlib/src/include/compat.h:113: error: storage class specified for
> parameter '__action_fn_t'
> In file included from ../../owlib/src/include/ow.h:219,
> from ow_wrap.c:2697:
> ../../owlib/src/include/ow_debug.h:32: warning: empty declaration
> ../../owlib/src/include/ow_debug.h:33: warning: empty declaration
> ../../owlib/src/include/ow_debug.h:36: warning: empty declaration
> ../../owlib/src/include/ow_debug.h:41: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '{' token
> ../../owlib/src/include/ow_debug.h:43: error: storage class specified for
> parameter 'log_available'
> ../../owlib/src/include/ow_debug.h:108: error: storage class specified for
> parameter 'sem_init_failed'
> ../../owlib/src/include/ow_debug.h:119: error: storage class specified for
> parameter 'mutex_init_failed'
> ../../owlib/src/include/ow_debug.h:124: error: storage class specified for
> parameter 'mutex_destroy_failed'
> ../../owlib/src/include/ow_debug.h:129: error: storage class specified for
> parameter 'mutex_lock_failed'
> ../../owlib/src/include/ow_debug.h:134: error: storage class specified for
> parameter 'mutex_unlock_failed'
> ../../owlib/src/include/ow_debug.h:139: error: storage class specified for
> parameter 'mutexattr_init_failed'
> ../../owlib/src/include/ow_debug.h:144: error: storage class specified for
> parameter 'mutexattr_destroy_failed'
> ../../owlib/src/include/ow_debug.h:149: error: storage class specified for
> parameter 'mutexattr_settype_failed'
> ../../owlib/src/include/ow_debug.h:154: error: storage class specified for
> parameter 'cond_timedwait_failed'
> ../../owlib/src/include/ow_debug.h:159: error: storage class specified for
> parameter 'cond_wait_failed'
> ../../owlib/src/include/ow_debug.h:164: error: storage class specified for
> parameter 'cond_signal_failed'
> ../../owlib/src/include/ow_debug.h:169: error: storage class specified for
> parameter 'cond_init_failed'
> ../../owlib/src/include/ow_debug.h:174: error: storage class specified for
> parameter 'cond_destroy_failed'
> In file included from ../../owlib/src/include/ow.h:248,
> ...
> ------
>
> and so on for about 1000 rows.. Any ideas? This is with SWIG Version
> 1.3.40.
>
> Best regards
> Johan
>
> [1]
> http://owfs-developers.1086194.n5.nabble.com/FreeBSD-owfs-in-ports-package-td6486.html
> [2] http://sourceforge.net/p/owfs/patches/18/
>
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers