Hi Claude,
This info is form Bill (G3WJS) regarding a similar situation.
For background, Hamlib3 is not released from the HL developers yet, so
you probably won't find it in your Linux distro repositories.
I have a WSJT-X build script I'm using (testing) to build with, it's
working but not ready for publishing yet.
The basic steps are close to this:
1. Install WSJT-X package deps (fftw, Qt5, gfortran, i386 lbs etc)
2. Install autoconf, libtool, m4 (Hamlib3 build deps)
3. Checkout WSJT-X $HOME/src/wsjtx
4. Checkout Hamlib3 (from Bills branch)
4. Build Hamlib3
5. Build WSJT-X
>From Bill's Email:
----------------------------------------------------------------------
To get Hamlib and build it from source you need git, autoconf, libtool
and, a recent C & C++ compiler. Fetch the source by something like:
*GET HAMLIB3*
-------------
git clone git://git.code.sf.net/u/bsomervi/hamlib ~/src/u-bsomervi-hamlib
The master branch is currently the same as the main Hamlib repo, my
latest changes awaiting acceptance to Hamlib are in the integration
branch which you switch to like:
cd ~/src/u-bsomervi-hamlib
git checkout integration
*BUILD HAMLIB3*
---------------
To build it something like:
mkdir build
cd build
../autogen.sh --enable-shared \
--disable-static --prefix=~/test-install/hamlib
make && make install
*BUILD WSJT-X*
--------------
Then to put it all together you need to tell the WSJT-X CMake build
where to find the new Hamlib. First you need to loose the original
configuration cache so, assume your WSJT-X build tree is at
~/build/wsjtx and your WSJT-X source is at ~/src/wsjtx:
cd ~/build/wsjtx
rm CMakeCache.txt
cmake -D CMAKE_PREFIX_PATH=~/test-install/hamlib \
-D CMAKE_INSTALL_PREFIX=~/test-install/wsjtx \
~/src/wsjtx
cmake --build . --target install -- -kj
*RUN NEWLY BUILT WSJT-X*
------------------------
Then you should be good to go with WSJT-X in ~/test-install/wsjtx/bin .
>
> 73 Eric NO3M
Hope this helps Eric,
73
Bill
G4WJS.
------------------------
73's
Greg, KI7MT
On 4/12/2014 06:33, Claude Frantz wrote:
> On 04/11/2014 07:40 PM, Greg Beam wrote:
>
> Hamlib 3 is not part of my current Linux distribution. I have compiled
> and installed it separately.
>
> What is the recommended method to tell Cmake to use this Hamlib 3
> include and dynamic modules ?
>
> Thanks a lot !
>
> Best 88 de Claude
>
>> The Makefile.linux build method has not worked since 3942 or 2842 cant
>> remember which. You need to build it with CMake and you Hamlib3 also.
>>
>> I just built r4011 on Ubuntu 14.04 Beta2. I have it monitoring on 10m
>> this afternoon. All seems ok,
>>
>> 73's
>> Greg, KI7MT
>>
>>
>>
>> On 04/09/2014 11:31 PM, Waldek SPdwaONG wrote:
>>> Hi,
>>>
>>> I have download latest version WSJT-X r4005 from svn adn I have try
>>> compile on my UBUNTU 13.04 but I have problem follow:
>>> when I have try compile:
>>>
>>> cd lib/
>>> make -f Makefile.linux
>>> .....
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel