12/09/05
Alright port and binary are totally done, from latest trunk of the svn.
I'm talking to edwin@freebsd.org to see if we can merge our ports His doesn't use the configure or autotools stuff which I believe might be fatal as the files that are generated are generated with hard paths.
I can provide anyone who wants to try the binary out and help me test it on other machines. Note this is a native port, this is pre-patched (hopefully I'll get arround to generating patch files) and will install everything and register itself.
Less changes are required with the latest source. prefix.cpp still needs to patched as usually I've done this so you don't need to. And AngleScript expects malloc.h but that's depreicated and malloc is included in stdlib.h This is also fixed for you. Other than that the Makefile.in for src/plugins/codecompletion/resources was changed because INSTALL_PROGRAM is for binaries only on FreeBSD this was changed to INSTALL_DATA.
Mandrav:
associations.cpp needs to be wrapped in some #ifdefs __WXMSW__
They are for windows registry settings only. unix doesn't support them.
And any chance you'll ever get around to fixing the prefix.cpp? its really simple. I've provided you with the fix.
11/19/05
I have made a port I will be testing and submitting the port to freebsd.org
I will make a binary package for freebsd that way they can portinstall -P or pkg_add [-r] it and it'll work.
It does check for dependencies and will setup the autotools for you. the configure script is not longer built by the bootstrap, I have no idea if this will work or not.
configure should handle it self, if it doesn't i'll set up the bootstrap script.
One particular note I had to change the Makefile.am for a few things.
Everything seems to compile correctly.
It uses gmake rather than regular old make and will check for your version of autotools in there.
I'll let you know when the port is available for installation, hopefully it'll be up with in a few days. I just need to find host sites. for the tarball.
--------------------------------------------------------------------------------------------- ---------------------------------------------
I had a working version just last night, then major cvs updates so I decided to get going on that.
And so I did.
There were several linker problems, src/src wasn't linking against src/sdk src/sdk/tinxml src/sdk/as
No idea why configure didn't set this up.
As a result added objects:
configmanager
projectmanager
base64
crc32
globals
libangelscript
libtinyxml
to the src/src Makefile. and added ../sdk/.libs as an include dir and library include directory
make sure you export SED='sed' to make sure libtool works
its added to the libtool (which is what needs it) so just a fair warning. It has compiled cleanly.
my new prefix.cpp should be merged into cvs as it gets rid of all that nasty implict casting to char* from NULL.
I'm going to make an actual port that'll be in the ports tree soon
It will compile in FreeBSD and run. There are some pre-reqs though you must have wxgtk2-xxx built across the board and the files still available. aclocal expects them for some reason. Going to read up to get configure a prebuilt thing that will autoconfigure it self.
when you goto configure makesure you configure with your version of wx-config unless you decided to link it before hand.
ex. ./configure --with-wx-config=wxgtk2-2.6-config
optionally you can add --enable-contrib and it should sitll all work.
Though it expects wx-config to be there for your wx-applications so please make a link to it if you're going to be using it.
An oddity is when creating a wx-app it does not generate the wx_pch.h file. No clue why and trying to add it crashes Code::Blocks.