Hi Greg,

comments in line below:

On 24/03/2016 22:13, KI7MT wrote:
> I'm not seeing this on Ubuntu 14.04 nor 16.04. The only things I'm
> seeing during the Hamlib configure phase is:
>
> -----
> checking for libusb_init in -lusb-1.0... no
> configure: WARNING: libusb_init was not found in libusb-1.0--USB
> backends will be disabled
> -----
That is because you do not have libusb-1.0-dev installed which is fine.
>
> Then in the config summary:
> --
> Enable USB backends             no
> -----
>
> I don't have libudev-dev nor libusb-1.0-0-dev installed. I've not
> checked Windows lately.
>
> libusb-1/.0-0 has a udev depends:
> Depends: libc6 (>= 2.17), libudev1 (>= 183)
They are the run time dependencies but also implied are link time 
dependencies to the -dev packages which are necessary when static 
linking is invoked. This is because the static archive libraries needed 
for static linking are only in the -dev packages.

This is a consequence of our choice to statically link Hamlib into 
WSJT-X, this is necessary as we need functionality that is not available 
in the versions of Hamlib available from distribution repositories. If I 
can get a patch to Hamlib accepted to add a --without-libusb configure 
option then I will recommend that WSJT-X builds use a Hamlib configured 
that way. For users that have libusb-1.0-dev installed then for now they 
can install libudev-dev as well since the Hamlib configure will 
automatically configure libusb-1.0.

I'm not sure why the Hamlib build itself is not failing with link errors 
when it builds its own utilities in static link mode, perhaps it is 
managing to dynamically link libudev when the static archive is not 
available but that is not what it should do.

For Windows this not an issue since even if libusb-1.0-dev is available 
it must be added to the Hamlib build manually and it has no other 
requirements anyway.

73
Bill
G4WJS.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to