From: Charles S. <ham...@gm...> - 2011-03-23 17:17:12
|
Kamal, Are you still waiting for something after.your successful compile? Charles On Mar 22, 2011 12:36 PM, "Kamal Mostafa" <ka...@wh...> wrote: > On Tue, 2011-03-22 at 06:41 -0400, Charles Suprin wrote: >> On a lark I tried >> compiling in cygwin. That did not go so great. >> >> So running the directions from the normal head and the >> test_mingw32_build head, I get as far as the check for ltdl in the >> ./configure process. Below is what I ran. > > I'm unclear about your logs / procedure below. Is this an attempt to > build with cygwin, or mingw32?... > > >> # Import internal ./libltdl and build it for mingw32 >> libtoolize --ltdl >> ( cd libltdl; ./configure --host=i586-mingw32msvc && make ) >> >> # Configure and build hamlib for mingw32 >> ./configure --disable-static \ >> --host=i586-mingw32msvc \ >> --prefix=/tmp/mingw-inst \ >> --without-rpc-backends \ >> PKG_CONFIG_LIBDIR= ac_cv_path_PKG_CONFIG=no >> >> And this is how it dies: >> >> checking for ltdl.h... no >> configure: error: ltdl.h not found. Please install the libltdl development >> files package which provides /usr/include/ltdl.h >> (perhaps called 'libltdl-dev' or 'libltdl-devel'). > > The 'libtoolize --ltdl' step should have copied a local "./libltdl" > directory into your hamlib source tree, and ltdl.h should be found in > there (that's the purpose of the test-mingw32-build branch). Perhaps > that (or the following step) did not work properly for you? > >> I am wondering if we need to get the header files and the library for >> cross compiling installled into: >> /usr/i586-mingw32msvc/include/ >> /usr/i586-mingw32msvc/lib/ >> There seems to be many other common libraries there. > > If there existed a pre-built package which supplied libltdl-for-mingw32, > we'd certainly prefer to use it -- but (for Debian) there isn't any such > package. Hence, we must cross-compile it ourselves. But no, we don't > need to actually install it into /usr/i586-mingw... since the configure > script mod in test-mingw32-build should locate and use the > local ./libltdl version. > > Charles, please verify that these two steps actually worked: > > # Import internal ./libltdl and build it for mingw32 > libtoolize --ltdl > ( cd libltdl; ./configure --host=i586-mingw32msvc && make ) > > 73 de KA6MAL > > -Kamal |