LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unixODBC (https://www.linuxquestions.org/questions/linux-newbie-8/unixodbc-705381/)

nedzer 02-17-2009 10:13 AM

unixODBC
 
Hi,

I'm running RHEL 5 and trying to setup a Connection between my Business Objects Server and a remote MySQL 5.1 database.

After downloading the unixODBC-2.2.14.tar.gz,

I created a dirtectory in which to install it

mkdir /tmp/unixODBC

and then run this line

#./configure -- prefix=/tmp/unixODBC --enable-gui=No

it runs somewhat then stop at (see append). any way around this? If I remove the "--enable-gui" option it'll run OK.

Can anyone tell me what will be the effect of omitting this option? I've been trying to get this unixODBC to work for ages and am reluctant to in any way deviate from the prescribed instructions.

Thanks for your assistance.



[root@mulligan unixODBC-2.2.14]# ./configure --prefix=/tmp/unixODBC --enable-gui=No
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
... . .
checking whether make sets $(MAKE)... (cached) yes
configure: error: bad value No for --enable-gui

snowman81 02-17-2009 11:25 AM

It looks like that is an argument that is not supported. If you take the argument out you will have a gui. (presumably)

knudfl 02-17-2009 11:46 AM

The useable option :

'./configure --without-gui'

To compile with GUI, qt-devel or qt4-devel is required.

With both qt3 and qt4 present, qt4 will be used.
....

The word 'No' is never used in configure. 'no' : sometimes.
....

nedzer 02-18-2009 03:35 AM

unixODBC
 
Yeah the SAP BO documentation is

./configure --prefix=/tmp/unixODBC --enable-gui=No
make
make install

which gave me the error.

Thanks knudfl - it was the simplest of things to fix

./configure --prefix=/tmp/unixODBC --enable-gui=no

actually worked.

In the previous install I went with the other option which was to enable the GUI and then I had to install Trolltech Qt libraries.

I'll send the typo to Bus Obj's os they can update their documentation.

Thanks for the pointers.

Cheers, Ed


All times are GMT -5. The time now is 05:34 PM.