1 May 2012 14:11
Problem building hamlib under Cygwin
Kamil Zadora <kamil.zadora <at> gmail.com>
2012-05-01 12:11:31 GMT
2012-05-01 12:11:31 GMT
Hello,
In short: I am trying to build hamlib under Cygwin :). and as you may already deduct it does not go smoothly.
I have latest revision cloned from the git repo, I tried following the README.win32 but it seems to be a bit old (2004?), I assume hamlib is not often compiled under cygwin lately :)
Mentioned file suggest to execute following:
$ export CC="gcc -mno-cygwin"
$ export CXX="g++ -mno-cygwin"
$ ./autogen.sh --prefix=/usr/local --disable-static \
--without-tcl-binding --without-perl-binding \
--without-python-binding --build=i686-pc-cygwin --host=i686-pc-mingw32 \
--target=i686-pc-mingw32
Beside minor problems like --without-tcl-binding being no longer a proper option, script goes fine until:
...
checking if g++ -mno-cygwin supports -c -o file.o... (cached) yes
checking whether the g++ -mno-cygwin linker (/usr/bin/ld) supports shared libraies... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking ltdl.h usability... no
checking ltdl.h presence... no
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').
But the file exists:
$ test -e /usr/include/ltdl.h && echo "File exists" || echo "File does not exist"
File exists
I think that the relevant part of configure.ac script is:
dnl Check whether we can actually find ltdl.h
AC_CHECK_HEADER([ltdl.h], [AC_MSG_RESULT([yes])],
[ AC_MSG_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').]) ])
My autoconf fu is weak... so I have no idea what could be wrong here, except maybe that the default value of optional fourth parameter in
AC_CHECK_HEADER macro is not playing nice with my setup.
Here are my versions of required tools as per README.developer
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
autoconf (GNU Autoconf) 2.68
automake (GNU automake) 1.11.3
libtool (GNU libtool) 2.4
Suggestions are much appreciated!
Kamil Zadora - SQ9IVL
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Hamlib-developer mailing list Hamlib-developer <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hamlib-developer
RSS Feed