I'm attempting to build and package this for FreeBSD. I don't know how to use autoconf but I'm used to build stuff using GNU configure.
I haven't been able to use my local pnglib because it's installed in /usr/local/ and configure only has --x-include options, not --local-include ! Any hints on how to do this are appreciated.
I also noticed it wants to build tcl/tk and there is no option to specify where they can be found.
Is Utah Raster Toolkit (URT) very modified?? I have built that too from the original sources.
Building all those things independently of brlcad greatly helps me package (the versions with FreeBSD have been tested/optimized already) and will reduce the building time.
thanks for releasing this code, and sorry for complaining about configure: I'm sure it took a lot of time to get working.
Pedro.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can try to add extra options via configure using the --with-cppflags, --with-cflags, --with-ldflags, --with-libs, etc or use the traditional CFLAGS, LDFLAGS, etc. Example to use pnglib from /usr/local:
Tcl/tk are presently not configurable for a couple reasons. Tk is actually modified. There is one significant customization that is required (and sitting as a patch in the hands of the Tk devs). Tcl/itcl/itk/iwidgets could all be tested for and used if a local exists, but the build hooks just haven't been added yet.
I don't believe that URT is modified, but I'm not certain. Regardless, our version of URT is potentially incompatible if URT has continued to be maintained and improved over the years. Our versions goes back a ways. Someone just needs to try and provide any fixes need. ;)
Thanks for the thanks.. it did take a long time. The build system is generally much more complicated than most packages, and incompatibilities between various components of the GNU Build System have caused us more grief than I care to recall.
Cheers!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's good to know -- BRL-CAD ships version 3.0 of the URT. I'll see if we can get a test and update to 3.1b in sometime over the next couple weeks. Fortunately, there was only one actual code patch in the above listed patch.. the other changes were to the URT build system which we completely replaced by converting it to our GNU build system (aka autoconf-based) build.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see.. I ported urt for FreeBSD and then abandoned it years ago. We use it only to build Rayshade. The URL we use is this:
ftp://ftp.iastate.edu/pub/utah-raster/
I looked at the BRLcad urt briefly: it looks like there is only one patch (that you made) that is interesting. After I finish packaging brlcad I'll review urt more carefully (My box is slow and building takes time).
Pedro.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sean;
Please note that urt-3.1b has a nice sed script to change the names of the structures (the header names have changed too). The new structures are more "C++ friendly". I just found that script was a great aid while trying to build some stuff that used the old urt.
cheers,
Pedro.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the tip.. I took a quick look through the FreeBSD patches to 3.0 and it looked like we had everything that wasn't build system related already (or a better alternate). So now I'm looking at the changes to update from 3.0 to 3.1b for inclusion into the next patch release. Thanks again.
Cheers!
Sean
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again;
Just FYI, I reported a configure warning related to sys/mount.h as a bug, but it doesn't have any effect on the actual building (it seems). See the bug report for a log and the system header.
Pedro.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi;
I'm attempting to build and package this for FreeBSD. I don't know how to use autoconf but I'm used to build stuff using GNU configure.
I haven't been able to use my local pnglib because it's installed in /usr/local/ and configure only has --x-include options, not --local-include ! Any hints on how to do this are appreciated.
I also noticed it wants to build tcl/tk and there is no option to specify where they can be found.
Is Utah Raster Toolkit (URT) very modified?? I have built that too from the original sources.
Building all those things independently of brlcad greatly helps me package (the versions with FreeBSD have been tested/optimized already) and will reduce the building time.
thanks for releasing this code, and sorry for complaining about configure: I'm sure it took a lot of time to get working.
Pedro.
You can try to add extra options via configure using the --with-cppflags, --with-cflags, --with-ldflags, --with-libs, etc or use the traditional CFLAGS, LDFLAGS, etc. Example to use pnglib from /usr/local:
./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" --with-libs="-lpng"
Tcl/tk are presently not configurable for a couple reasons. Tk is actually modified. There is one significant customization that is required (and sitting as a patch in the hands of the Tk devs). Tcl/itcl/itk/iwidgets could all be tested for and used if a local exists, but the build hooks just haven't been added yet.
I don't believe that URT is modified, but I'm not certain. Regardless, our version of URT is potentially incompatible if URT has continued to be maintained and improved over the years. Our versions goes back a ways. Someone just needs to try and provide any fixes need. ;)
Thanks for the thanks.. it did take a long time. The build system is generally much more complicated than most packages, and incompatibilities between various components of the GNU Build System have caused us more grief than I care to recall.
Cheers!
Thanks ! I'll try it.
Now that I remember, I couldn't disable-debug either.
URT hasn't seen new developments in years. The last version is 3.1b, FreeBSD carries it with a minor patch and some building updates for the recent gcc. Plus we build it with netpgm. Here are some patches, if you are interested:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/urt/files/
http://www.funet.fi/pub/graphics/packages/urt/rel2/urt-3.1b-3.1b1.patch
I would like to help, but I'm pretty busy just getting brlcad to build for now :).
thanks again,
Pedro.
That's good to know -- BRL-CAD ships version 3.0 of the URT. I'll see if we can get a test and update to 3.1b in sometime over the next couple weeks. Fortunately, there was only one actual code patch in the above listed patch.. the other changes were to the URT build system which we completely replaced by converting it to our GNU build system (aka autoconf-based) build.
I see.. I ported urt for FreeBSD and then abandoned it years ago. We use it only to build Rayshade. The URL we use is this:
ftp://ftp.iastate.edu/pub/utah-raster/
I looked at the BRLcad urt briefly: it looks like there is only one patch (that you made) that is interesting. After I finish packaging brlcad I'll review urt more carefully (My box is slow and building takes time).
Pedro.
Sean;
Please note that urt-3.1b has a nice sed script to change the names of the structures (the header names have changed too). The new structures are more "C++ friendly". I just found that script was a great aid while trying to build some stuff that used the old urt.
cheers,
Pedro.
Pedro,
Thanks for the tip.. I took a quick look through the FreeBSD patches to 3.0 and it looked like we had everything that wasn't build system related already (or a better alternate). So now I'm looking at the changes to update from 3.0 to 3.1b for inclusion into the next patch release. Thanks again.
Cheers!
Sean
Not all :).
I just submitted a new update for some security issues. I'll show you a patch in the developer forum (seems more appropiate for this).
Pedro.
Hi again;
Just FYI, I reported a configure warning related to sys/mount.h as a bug, but it doesn't have any effect on the actual building (it seems). See the bug report for a log and the system header.
Pedro.