dbTalk Databases Forums  

Configure script broken?

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Configure script broken? in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Configure script broken? - 08-07-2006 , 04:17 PM






------_=_NextPart_001_01C6BA65.9AFA5781
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Sorry for such a n00b question, but for some reason, the configure
script contained within the mysql++-2.1.1 tarball doesn't work.
Something is "broken" within the script:

[p29409@brts ~/mysql++-2.1.1]$ uname -mapi
Linux brts 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 17:05:24 EDT 2006 i686
athlon i386 GNU/Linux
[p29409@brts ~/mysql++-2.1.1]$ pwd
/home/p29409/mysql++-2.1.1
[p29409@brts ~/mysql++-2.1.1]$ ps
PID TTY TIME CMD
21743 pts/2 00:00:00 tcsh
24290 pts/2 00:00:00 ps
[p29409@brts ~/mysql++-2.1.1]$ ./configure
../configure: Command not found.
[p29409@brts ~/mysql++-2.1.1]$ bash
[p29409@brts mysql++-2.1.1]$ ./configure
: bad interpreter: No such file or directory
[p29409@brts mysql++-2.1.1]$ sh
sh-3.00$ ./configure
: bad interpreter: No such file or directory
sh-3.00$

Anyone have a suggestion? I'm obviously missing something...

Matthew Walters
Integrated Space Systems
General Dynamics AIS
phone: (480) 441-2643
fax: (480) 441-8500
pager: 1-877-502-8167 or mailto:8775028167 (AT) skytel (DOT) com



------_=_NextPart_001_01C6BA65.9AFA5781--

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: Configure script broken? - 08-07-2006 , 05:33 PM






I hate to respond to my own post, but I thought I might provide an
answer to my problem. I was putting the untarred version of
mysql++-2.1.1 into ClearCase, and trying to build from ClearCase.
However, once I do this, the configure script will not run. I tried
copying the entire source into my home directory, adjusting the
permissions (chmod 777) on all the files/directories, thinking it was a
write problem. That didn't help either. Something "happened" to the
configure script when I put this file under ClearCase control.

So, in retrospect, there is nothing wrong with the configure script.
Sorry to bother the community with this.

I have configured and built successfully by just gunzipping/untarring
the source in my own home directory.

Matthew Walters
Integrated Space Systems
General Dynamics AIS
phone: (480) 441-2643
fax: (480) 441-8500


-----Original Message-----
From: Walters, Matthew-P29409 [mailto:Matthew.Walters (AT) gdc4s (DOT) com]=20
Sent: Monday, August 07, 2006 2:08 PM
To: plusplus (AT) lists (DOT) mysql.com
Subject: Configure script broken?

Sorry for such a n00b question, but for some reason, the configure
script contained within the mysql++-2.1.1 tarball doesn't work.
Something is "broken" within the script:

[p29409@brts ~/mysql++-2.1.1]$ uname -mapi Linux brts 2.6.9-34.0.1.ELsmp
#1 SMP Wed May 17 17:05:24 EDT 2006 i686 athlon i386 GNU/Linux
[p29409@brts ~/mysql++-2.1.1]$ pwd
/home/p29409/mysql++-2.1.1
[p29409@brts ~/mysql++-2.1.1]$ ps
PID TTY TIME CMD
21743 pts/2 00:00:00 tcsh
24290 pts/2 00:00:00 ps
[p29409@brts ~/mysql++-2.1.1]$ ./configure
../configure: Command not found.
[p29409@brts ~/mysql++-2.1.1]$ bash
[p29409@brts mysql++-2.1.1]$ ./configure
: bad interpreter: No such file or directory [p29409@brts
mysql++-2.1.1]$ sh sh-3.00$ ./configure
: bad interpreter: No such file or directory sh-3.00$

Anyone have a suggestion? I'm obviously missing something...

Matthew Walters
Integrated Space Systems
General Dynamics AIS
phone: (480) 441-2643
fax: (480) 441-8500
pager: 1-877-502-8167 or mailto:8775028167 (AT) skytel (DOT) com



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: Configure script broken? - 08-08-2006 , 02:00 PM



Walters, Matthew-P29409 wrote:
Quote:
mysql++-2.1.1 into ClearCase, and trying to build from ClearCase.
However, once I do this, the configure script will not run.
....
mysql++-2.1.1]$ sh sh-3.00$ ./configure
: bad interpreter: No such file or directory sh-3.00$
It's doing newline translation incorrectly. You'll find CRLFs in the
configure script that you check out, which prevents the kernel from
grokking the shbang line at the top.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.