LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-10-2008, 03:35 AM   #1
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Rep: Reputation: 15
unixODBC configure


Hi,

I'm installing unixODBC so my Bus Obj's can chat to a remote mySQL

[eberwick@moran unixODBC-2.2.14]$ ./configure --prefix=/tmp/unixODBC --enable-gui=No
checking for a BSD-compatible install... /usr/bin/install -c
..etc
.etc
checking whether make sets $(MAKE)... (cached) yes
configure: error: bad value No for --enable-gui

what should I do? change the gui-Yes, just so the configure has more a chance of running.

I've looked up google and there's not much help there.

Thanks for your assistance in advance.

Cheers,
 
Old 12-11-2008, 12:20 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by nedzer View Post
Hi,

I'm installing unixODBC so my Bus Obj's can chat to a remote mySQL

[eberwick@moran unixODBC-2.2.14]$ ./configure --prefix=/tmp/unixODBC --enable-gui=No
checking for a BSD-compatible install... /usr/bin/install -c
..etc
.etc
checking whether make sets $(MAKE)... (cached) yes
configure: error: bad value No for --enable-gui

what should I do? change the gui-Yes, just so the configure has more a chance of running.

I've looked up google and there's not much help there.

Thanks for your assistance in advance.

Cheers,
How about reading the README that came with it? It's telling you that the option for --enable-gui is bad. Either give it something it likes, or leave that parameter off. The readme and installation instructions should tell you what options you can put in there.

Otherwise, you can contact the developer of that program, and report a bug, if you're following the directions as they said.
 
Old 12-11-2008, 04:49 PM   #3
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Hello...

Absolutely read the README, or also checkout and see if your configure file has help options attached to it that contains the options that can be passed to the configure script.

If your trying to set the gui to no... its more likely the option you require is --without-gui OR --disable-gui.

But try ./configure -h OR ./configure --help

You may have a nice helpful configure script that will give you all the details you need.
Regards,
MJ
 
Old 12-12-2008, 04:09 AM   #4
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Original Poster
Rep: Reputation: 15
Hi MJ,

read through the README, bascially just pointed me the INSTALL. Again nothing remarkable in here apart from a few package dependancies which I partially got installed yesterday (I have another thread running on LQ for that)

I tried
# ./configure --prefix=/tmp/unixODBC --without-gui

no error so you were right the option was incorrect.

Ran the make, make install without subsequent error and great the Libraries have now been installed.

Appreciate the tip
 
Old 12-12-2008, 06:17 AM   #5
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Glad to have been of assistance, its good to see you posted the fix a it may help others in the future.

But did you try out the?
./configure -h OR ./configure --help

because whenever installing software from source (i do it all the time and hardly ever use RPM and i don't use debian) its damn useful if the source package comes with the -h or --help option as this produces all the arguments you need. Honestly give it a try you may find that there are other things you want to compile into the software or even leave out of the software.

Regards,
MJ

Last edited by helptonewbie; 12-12-2008 at 06:18 AM.
 
  


Reply

Tags
configure, error, install, unixodbc, value



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
myODBC and unixODBC LandRoverMan Programming 2 04-21-2009 06:14 AM
unixODBC lord-fu *BSD 1 12-20-2006 08:54 PM
unixODBC and sybase eantoranz Programming 3 12-20-2005 01:54 PM
unixODBC ottavio78 Linux - Software 1 12-15-2003 07:26 AM
MySQL and uniXODBC LandRoverMan Linux - Software 0 06-09-2003 12:13 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration