From: Bill S. <g4...@cl...> - 2014-09-24 16:44:51
|
On 24/09/2014 17:31, Joe Taylor wrote: > Hi Bill and Greg, Hi Joe, > > As you recognized, the procedure I went through installed the newly > built hamlib files, but not in the places I had expected. My mistake. > > I have now changed the "--prefix=..." part of the command that invokes > autogen.sh to read "--prefix=C:/JTSDK-QT/hamlib3/mingw32", and all > appears to be well. Newly built files appear in the bin, lib, include, > and share directories there, and the usual JTSDK-QT commands build > WSJT-X properly. Good. > > The only complaint issued by any of the scripts is this one from the > JTSDK-QT command "build wsjtx package": > > ####################################################################### > CPack: Create package > CPack: - package: > C:/JTSDK-QT/wsjtx/build/Release/wsjtx-1.4.0-rc1-win32.exe gene > rated. > > ----------------------------------------------------------------- > INSTALLER BUILD ERROR > ----------------------------------------------------------------- > > There was a problem building the package, or the script > could not find: > > C:\JTSDK-QT\wsjtx\build\Release\wsjtx-1.4.0-win32.exe > > Check the Cmake logs for any errors, or correct any build > script issues that were obverved and try to rebuild the package. > ####################################################################### > > The message is completely benign: the script just did not understand > that the package name would include the modifier "-rc1". > > > For the record then, here's what I did to build the latest version of > hamlib3 in Windows: > > In an MSYS shell:- > > mkdir ~/hamib_g4wjs > cd ~/hamlib_g4wjs > git clone git://git.code.sf.net/u/bsomervi/hamlib src > cd src > git checkout integration > mkdir ../build > cd ../build > ../src/autogen.sh --prefix=C:/JTSDK-QT/hamlib3/mingw32 \ > --disable-shared --enable-static \ > --without-cxx-binding --disable-winradio \ > CC=C:/JTSDK-QT/qt5/Tools/mingw48_32/bin/gcc \ > CXX=C:/JTSDK-QT/qt5/Tools/mingw48_32/bin/g++ \ > CFLAGS="-fdata-sections -ffunction-sections" \ > LDFLAGS="-Wl,--gc-sections" > make > make install > > ... and then, in the JTSDK-QT environment CMD shell: > > build wsjtx rinstall > build wsjtx package OK and for future reference if you need to pick up a new generation of hamlib then the recipe is: In an MSYS shell:- cd ~/hamlib_g4wjs/src git pull cd ../build make make install ... and then, in the JTSDK-QT environment CMD shell: build wsjtx rinstall build wsjtx package > > -- Joe 73 Bill G4WJS. |