Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How cn a configure option be passed when emerging?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Cubano
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 79
Location: LONDON, UK

PostPosted: Tue Mar 01, 2005 8:40 pm    Post subject: How cn a configure option be passed when emerging? Reply with quote

I have run into a problem in getting the QT MYSQL plugin working correctly. It seems a bit tricky however I may have found a solution.

A recent post (http://lists.trolltech.com/qt-interest/2005-01/thread00968-0.html suggests to recompile qt as follows:

./configure --prefix=/usr -enable-opengl -plugin-sql-mysql -I/opt/mysql/include/mysql -L/opt/mysql/lib/mysql

then:

make sub-plugins

can this be done through portage?

I've only so far done the straight forward however I'm a little reluctant to do this by hand if there is another learning way.
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Tue Mar 01, 2005 9:01 pm    Post subject: Reply with quote

The ebuild does that already if you have the "mysql" use flag set.
Back to top
View user's profile Send private message
Cubano
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 79
Location: LONDON, UK

PostPosted: Tue Mar 01, 2005 9:10 pm    Post subject: Reply with quote

Is the "mysql" USE flag the only flag being passed here?
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Tue Mar 01, 2005 9:21 pm    Post subject: Reply with quote

I'm not sure I understand what you mean.
Just do:
Code:
emerge -pv qt

and make sure that opengl and mysql have a '+' in front of them (man emerge to get the details).
Back to top
View user's profile Send private message
Cubano
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 79
Location: LONDON, UK

PostPosted: Tue Mar 01, 2005 9:37 pm    Post subject: Reply with quote

Quote:
bash-2.05b# emerge -pv qt

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] dev-db/mysql-4.0.23-r1 +berkdb -debug -innodb +perl +readline (-selinux) +ssl -static +tcpd 0 kB
[ebuild R ] x11-libs/qt-3.3.3 +cups -debug -doc -firebird +gif -icc -immqt-immqt-bc +ipv6 +mysql -nas -odbc +opengl -postgres -sqlite +xinerama +zlib 0 kB


Hmmm looks good then. Thanks.
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Wed Mar 02, 2005 12:37 am    Post subject: Reply with quote

And as to actually passing your own ./configure options, use the EXTRA_ECONF variable like so:
Code:
EXTRA_ECONF="--with-something --disable-something-else" emerge somepackage
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Sun Apr 03, 2005 3:58 pm    Post subject: Reply with quote

Moved to dups in favour of https://forums.gentoo.org/viewtopic-p-1890942.html#1890942
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum