FreeTDS 1.00.23 make failed on Spacr Solaris 11
Andrew Mak <[email protected]> Thu, 22 Dec 2016 03:59:48 +0000
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
I downloaded the tar ball and start to build FreeTDS on a SPARC Solaris 11.3 machine.
The "./configure" run successfully.
The "gmake" failed with
../../libtool[1721]: eval: syntax error at line 1: `|' unexpected
gmake[3]: *** [libct.la] Error 3
Please refer to attached "gmake-using_orig_libtool.txt.gz" for details, the file is generated using "gmake V=1 &> gmake-using_orig_libtool.txt".
2nd attempt, copied the Solaris libtool to the FreeTDS directory, replacing the libtool from FreeTDS.
The Solaris "libtool" with the following modification
# sdiff -s `which libtool` libtool-modi
308c308,309
CC="cc" | #amak# CC="cc"
> CC="gcc"
317c318,319
pic_flag=" -KPIC -DPIC" | #amak# pic_flag=" -KPIC -DPIC"
> pic_flag=" -fPIC -DPIC"
10116c10118,10119
pic_flag=" -KPIC -DPIC" | #amak# pic_flag=" -KPIC -DPIC"
> pic_flag=" -fPIC -DPIC"
This get me further but still failed with
libtool: link: gcc -D_REENTRANT -pthreads -g -O2 -Wdeclaration-after-statement -o .libs/fisql fisql.o terminal.o edit.o handlers.o interrupt.o ../../dblib/.libs/libsybdb.so -lnsl -lsocket -lssl -lcrypto ../../replacements/.libs/libreplacements.a -lncurses -lreadline -pthreads -R/usr/local/lib
gcc: error: ../../dblib/.libs/libsybdb.so: No such file or directory
gmake[3]: *** [fisql] Error 1
Please refer to attached "gmake-using_solaris_libtool.txt.gz" for details. The file is generated using "gmake V=1 &> gmake-using_solaris_libtool.txt"
Any suggestion/advice?
Regards
Andrew Mak
*************************************************************************************************
This email and its attachments contain confidential, private and/or personal information and should be strictly treated as such. If you are not the intended recipient of this email, please notify us immediately on +61 3 8540 1800 and delete and permanently erase the email, its attachments and all copies thereof, including all copies stored in any backup system or other medium. All of the emailed information is intended for a specific individual purpose and may be subject to copyright and/or professional privilege. If you are not the intended recipient of this email, you and your agents must not use, disseminate, print or copy the emailed information or any part thereof, or take action based on the emailed information or any part thereof, without Mazda's express written consent. Mazda does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used by the intended recipient on the basis that the recipient assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether or not caused by the negligence of the sender.
If this is a commercial electronic message within the meaning of the Spam Act, you may indicate that you do not wish to receive any further commercial electronic messages from Mazda Australia by sending an e-mail to mailto:[email protected]
*************************************************************************************************
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
gmake-using_orig_libtool.txt.gz
(application/x-gzip, 4.2 KB) - not displayed
gmake-using_solaris_libtool.txt.gz
(application/x-gzip, 6.9 KB) - not displayed