Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS 1.00.23 make failed on Spacr Solaris 11

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andrew Mak <amak AT mazda.com.au>
  • To: "freetds AT lists.ibiblio.org" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] FreeTDS 1.00.23 make failed on Spacr Solaris 11
  • Date: Thu, 22 Dec 2016 03:59:48 +0000

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:privacy AT mazda.com.au
*************************************************************************************************

Attachment: gmake-using_orig_libtool.txt.gz
Description: gmake-using_orig_libtool.txt.gz

Attachment: gmake-using_solaris_libtool.txt.gz
Description: gmake-using_solaris_libtool.txt.gz



  • [freetds] FreeTDS 1.00.23 make failed on Spacr Solaris 11, Andrew Mak, 12/21/2016

Archive powered by MHonArc 2.6.24.

Top of Page