Not include the required -devel part (include files)
That would be a problem.
Install in a location unsuited for Strawberry
That would not be a problem - we can easily hack our way around that.
Cheers, Rob | [reply] |
| [reply] [d/l] [select] |
error: redefinition of typedef...
Yukkie poo.
If you want to persevere ... try commenting out those definitions in db.h. If, perchance, win32.h and sys/types.h have already defined those typedefs in a suitable way, then removing those definitions from db.h would work. If they've been defined in such a way that's not compatible with the db.h definitions, then you're probably sunk.(If, having made those amendments to db.h, you then get other *similar* errors, it's probably time to give up.)
At some stage you'll need to make the library files accessible, too. But see how far you get with the above suggestions, first ... if you think it's worth the effort :-)
Btw, libraries built using cygwin will *not* work with strawberry perl unless you build the library on cygwin as a *cross-compilation*. I've had good success cross-compiling libraries (that do work with strawberry) with cygwin by adding
--host=i686-pc-mingw32 --build=i686-pc-cygwin
CC='gcc -mno-cygwin ' host_alias=i686-pc-mingw32
arguments to ./configure - though I'm told that not all of those arguments are needed. (As I said, when I tried to cross-compile db, I still got the error relating to socklen_t. But that error does not arise when building for cygwin itself.)
Cheers,
Rob
| [reply] [d/l] |