On 04/12/2014 09:27 AM, Greg Beam wrote:

Hi Greg,

> 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.

In fact, I have hamlib 3 from

git://hamlib.git.sourceforge.net/gitroot/hamlib/hamlib

but without Bill modifications. Now I understand that I will need hamlib 
3 from Bill's special repo.

> 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

On my system, there is still the hamlib coming from my normal Linux 
distribution. My addition hamlib is on a special place in my home 
directory and it is installed on /usr/local/. Therefore I have to direct 
Cmake to use it at this special place in place of the "normal" hamlib 
coming from my distribution. All the remaining objects should be 
searched at the usual places. But Qt5 is a further exception because it 
is also installed in my home directory.

As an example, when compiling fldigi, I use the following sequence:

LD_RUN_PATH=/usr/local/lib HAMLIB_CFLAGS="-I /usr/local/include/hamlib" 
./configure --enable-optimizations=sse2 --with-hamlib

Of course, there is no Cmake.

When compiling wsjtx without special hamlib settings, I have used the 
following environment settings:

PATH=$HOME/TMP/qt5/qtbase/bin/:$PATH
export PATH

Many thanks again, Greg and all the other.

Best 88 de Claude


------------------------------------------------------------------------------
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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to