RadioBanter

RadioBanter (https://www.radiobanter.com/)
-   Dx (https://www.radiobanter.com/dx/)
-   -   tqsllib (LotW) won't build on Linux (https://www.radiobanter.com/dx/68396-tqsllib-lotw-wont-build-linux.html)

Doug Smith W9WI April 5th 05 06:27 PM

tqsllib (LotW) won't build on Linux
 
Well, with the new version I've tried to get LotW working on Linux again
-- and it still won't build.

Specifically, "make" on tqllib fails. I'm not anywhere near good enough
with C to understand what's going on or how to fix it. Anyone know?

The output from "make" is below:

make
make all-am
make[1]: Entering directory `/home/w9wi/tqsllib-2.0'
/bin/sh ./libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I. -I/usr/include -I/usr/include -I/usr/include -g3 -O -Wall
-DCONFDIR=\"/usr/local/share/tqsl\" -g -O2 -c -o openssl_cert.lo
openssl_cert.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include
-I/usr/include -g3 -O -Wall -DCONFDIR=\"/usr/local/share/tqsl\" -g -O2
-c openssl_cert.cpp -fPIC -DPIC -o .libs/openssl_cert.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system
directory
In file included from /usr/include/openssl/e_os.h:283,
from /usr/include/openssl/conf.h:66,
from /usr/include/openssl/x509v3.h:63,
from openssl_cert.cpp:141:
/usr/include/unistd.h:946: declaration of `char* crypt(const char*, const
char*) throw ()' throws different exceptions
/usr/include/openssl/des.h:193: than previous declaration `char*
crypt(const
char*, const char*)'
openssl_cert.cpp:2405: warning: `int
tqsl_cert_get_subject_name_count(X509*)'
defined but not used
openssl_cert.cpp:2414: warning: `int
tqsl_cert_get_subject_name_index(X509*,
int, TQSL_X509_NAME_ITEM*)' defined but not used
openssl_cert.cpp:2440: warning: `int tqsl_cert_get_subject_date(X509*,
const
char*, tQSL_Date*)' defined but not used
make[1]: *** [openssl_cert.lo] Error 1
make[1]: Leaving directory `/home/w9wi/tqsllib-2.0'
make: *** [all] Error 2
[w9wi@linux3 tqsllib-2.0]$

Would really love to be able to stop schlepping files between the Linux
box (where the log is kept) and the Windows machine... (on which I have
the only copy of tqsl that I can get to work)
--
Doug Smith W9WI
Pleasant View (Nashville), TN EM66
http://www.w9wi.com


Bob Nielsen April 5th 05 07:55 PM

On Tue, 05 Apr 2005 17:27:20 GMT, Doug Smith W9WI wrote:
Well, with the new version I've tried to get LotW working on Linux again
-- and it still won't build.

Specifically, "make" on tqllib fails. I'm not anywhere near good enough
with C to understand what's going on or how to fix it. Anyone know?

The output from "make" is below:

make
make all-am
make[1]: Entering directory `/home/w9wi/tqsllib-2.0'
/bin/sh ./libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I. -I/usr/include -I/usr/include -I/usr/include -g3 -O -Wall
-DCONFDIR=\"/usr/local/share/tqsl\" -g -O2 -c -o openssl_cert.lo
openssl_cert.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include
-I/usr/include -g3 -O -Wall -DCONFDIR=\"/usr/local/share/tqsl\" -g -O2
-c openssl_cert.cpp -fPIC -DPIC -o .libs/openssl_cert.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system
directory
In file included from /usr/include/openssl/e_os.h:283,
from /usr/include/openssl/conf.h:66,
from /usr/include/openssl/x509v3.h:63,
from openssl_cert.cpp:141:
/usr/include/unistd.h:946: declaration of `char* crypt(const char*, const
char*) throw ()' throws different exceptions
/usr/include/openssl/des.h:193: than previous declaration `char*
crypt(const
char*, const char*)'
openssl_cert.cpp:2405: warning: `int
tqsl_cert_get_subject_name_count(X509*)'
defined but not used
openssl_cert.cpp:2414: warning: `int
tqsl_cert_get_subject_name_index(X509*,
int, TQSL_X509_NAME_ITEM*)' defined but not used
openssl_cert.cpp:2440: warning: `int tqsl_cert_get_subject_date(X509*,
const
char*, tQSL_Date*)' defined but not used
make[1]: *** [openssl_cert.lo] Error 1
make[1]: Leaving directory `/home/w9wi/tqsllib-2.0'
make: *** [all] Error 2
[w9wi@linux3 tqsllib-2.0]$

Would really love to be able to stop schlepping files between the Linux
box (where the log is kept) and the Windows machine... (on which I have
the only copy of tqsl that I can get to work)


I got tqsllib to build, but couldn't compile trustedqsl without errors,
so I'm still running version 1.10 for now.

Bob, N7XY


AB2RC April 7th 05 12:39 PM

On 2005-04-05, Doug Smith W9WI wrote:
Well, with the new version I've tried to get LotW working on Linux again
-- and it still won't build.

Specifically, "make" on tqllib fails. I'm not anywhere near good enough
with C to understand what's going on or how to fix it. Anyone know?

The output from "make" is below:


I got the latest versions to compile nad run last night without any problems.

What distro of linux are you using ?
what version of gcc/g++ are you you using (what is the output of "g++ -v"
and "gcc -v" ?)

FWIW, I am using Mandrake 10.1 with gcc 3.4.1

--
Alex / AB2RC
Linux is user friendly, however it is not idiot friendly

Doug Smith W9WI April 7th 05 03:29 PM

AB2RC wrote:
I got the latest versions to compile nad run last night without any problems.

What distro of linux are you using ?
what version of gcc/g++ are you you using (what is the output of "g++ -v"
and "gcc -v" ?)


RH 8.

Both commands return:

[w9wi@linux3 w9wi]$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

--
Doug Smith W9WI
Pleasant View (Nashville), TN EM66
http://www.w9wi.com


AB2RC April 7th 05 06:39 PM

On 2005-04-07, Doug Smith W9WI wrote:

RH 8.

Both commands return:

[w9wi@linux3 w9wi]$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)



That is a 2 1/2 year old version of RedHat -- time to upgrade, just for
sake of security.

You are also running a version of gcc from August 2002, also time to upgrade.

You can probably get away with just updating the compilier, but it is
probably easier to upgrade the whole system.

You are probably running an old version of wxwindows also (needed for the
tqsl application guis), upgrade that to 3.4




--
Alex / AB2RC
Linux is user friendly, however it is not idiot friendly

Doug Smith W9WI April 8th 05 06:22 AM

AB2RC wrote:
That is a 2 1/2 year old version of RedHat -- time to upgrade, just for
sake of security.


Easier said than done, when one has dialup. It'll happen eventually
(via CD purchase) but if that's what's required to run one application
I'll do without the application.

--
Doug Smith W9WI
Pleasant View (Nashville), TN EM66
http://www.w9wi.com


AB2RC April 8th 05 10:43 AM

On 2005-04-08, Doug Smith W9WI wrote:
AB2RC wrote:
That is a 2 1/2 year old version of RedHat -- time to upgrade, just for
sake of security.


Easier said than done, when one has dialup. It'll happen eventually
(via CD purchase) but if that's what's required to run one application
I'll do without the application.


Same problem here wirh dialup -- too far out from everything for cable or dsl.
Try using cheapbytes or budget linux cd's http://cheapbytes.com or
http://www.blcds.com/

No financial interest in either, just a satisified customer of both.


--
Alex / AB2RC
Linux is user friendly, however it is not idiot friendly

clvrmnky April 21st 05 05:58 PM

On 08/04/2005 5:43 AM, AB2RC wrote:
On 2005-04-08, Doug Smith W9WI wrote:

AB2RC wrote:

That is a 2 1/2 year old version of RedHat -- time to upgrade, just for
sake of security.


Easier said than done, when one has dialup. It'll happen eventually
(via CD purchase) but if that's what's required to run one application
I'll do without the application.

Same problem here wirh dialup -- too far out from everything for cable or dsl.
Try using cheapbytes or budget linux cd's http://cheapbytes.com or
http://www.blcds.com/

No financial interest in either, just a satisified customer of both.

Your local Linux users group will be happy to cut you a copy of your
favourite distro for free, or the price of the media.

http://www.linux.org/groups/

Bob Nielsen April 21st 05 07:27 PM

On Thu, 21 Apr 2005 12:58:49 -0400, clvrmnky wrote:
On 08/04/2005 5:43 AM, AB2RC wrote:
On 2005-04-08, Doug Smith W9WI wrote:

AB2RC wrote:

That is a 2 1/2 year old version of RedHat -- time to upgrade, just for
sake of security.

Easier said than done, when one has dialup. It'll happen eventually
(via CD purchase) but if that's what's required to run one application
I'll do without the application.

Same problem here wirh dialup -- too far out from everything for cable or dsl.
Try using cheapbytes or budget linux cd's http://cheapbytes.com or
http://www.blcds.com/

No financial interest in either, just a satisified customer of both.

Your local Linux users group will be happy to cut you a copy of your
favourite distro for free, or the price of the media.

http://www.linux.org/groups/



Ubuntu Linux will send you a CD for free (shipping included).

http://shipit.ubuntu.com

Bob, N7XY


All times are GMT +1. The time now is 06:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
RadioBanter.com