OS/2, eCS & ArcaOS - Technical > Programming
compiling glib-2.36.4 & libidl-0.8.14 -- need help
R.M. Klippstein:
I'm trying to compile glib and libidl using both gcc 332 & (or) gcc335 and I'm getting malformed input file error. This is obviously something I'm doing wrong. I have no problems compiling in gcc using kmk, but these sources (glib & libidl) apparently don't use kmk. Years ago I compiled using "ash" but looks like that is no longer an option. Could someone please straighten me out as to how to do this?
thanks klipp
Dave Yeo:
Set MAKESHELL=ash to use ash with make, I personally prefer [pdk]sh which is available at Hobbes.
Can you post more info about the malformed file error, eg what command and output, basically the tail of your build log.
PS GCC 332 and its libc05 is ancient and buggy and GCC 335 is also old enough that much won't compile with it, especially C++ code though it should be fine for glib2 and libidl. Do you have the choice of using glib 1.21 and libidl 0.6.5? as they're available for compiling (older) Mozilla. I even have precompiled GCC 3.2.2 binaries as well as EMX and VACPP.
R.M. Klippstein:
Hey Dave, How are you doing? I was hoping I'd hear from you! Thanks for the reply. I think you're Set Makeshell=ash is probably what I need. The malformed file error is simply "malformed input file (not rel or archive) /usr/source/libidl-0.8.14.tar.bz2 (I get the same error using unzipped header libidl-0.8.14). I was using the older Glib & Libidl and then found out that the older version of libidl wouldn't work with GCC335 and had to be updated to libidl.0.8.14, but it carried with it the requirement that glib had to be updated to glib-2.36.4. and that's where I'm stuck now fighting my way through the $&$@#$% VBox source. I'll also try you're suggested [pdk]sh. I'll get back to work on this tomorrow.
Thanks again! klipp
Dave Yeo:
Here's glib and libidl prebuilt for GCC 3.2.2 and 3.3.5, http://hobbes.nmsu.edu/download/pub/os2/dev/util/glibidl_20070521.zip.
If you're trying to build glib2 from source you're going to run into lots of problems. There's a port available here, http://trac.netlabs.org/ports, need to download the source with SVN and build it though.
R.M. Klippstein:
Yeah Dave, you're right, I'm in for lots of problems! I've been trying to make glibidl_20070521.zip work for two weeks now, I can't make it work. I found the attached info on the Internet and now guess I'll have to get see if I can't get the newer Glib compiled. I've got glib-2.36.4.tar.gz downloaded but its not setup for kmk and I've forgotten how to compile is with ash. I'm hoping the port you mentioned that is on netlabs works out, I'll give it a try tomorrow -- gotta get some sleep now, I'm making too many mistakes! Thanks again for the help, I'll post the results of the glib compile on netlabs.
klipp
Navigation
[0] Message Index
[#] Next page
Go to full version