View previous topic :: View next topic |
Author |
Message |
-leliel- Apprentice
Joined: 03 May 2003 Posts: 294 Location: Germany
|
Posted: Thu May 08, 2003 12:52 pm Post subject: Installing MySQLcc without MySQL? |
|
|
Hi,
emerge -p mysqlcc tells me, I have to install mysql, too. Is there a way to tell emerge I don't want to install the mysql database on my computer, just the control center?
thanks _________________ - carpe noctem -
dunkelelf@jabber.org |
|
Back to top |
|
|
erebus n00b
Joined: 17 May 2002 Posts: 49 Location: United Kingdom
|
Posted: Thu May 08, 2003 1:57 pm Post subject: |
|
|
You could just try forcing the emerge to just emerge mysqlcc and none of the dependances that go with it using this command
Code: | emerge --nodeps mysqlcc |
Try
for more information on the options you can use.
But make sure all the other dependances are satisfied thou (such as qt etc..).. But this is no guarentte that it will... mysqlcc might need for mysql to be install... so give it a try but if that doesn't work you might end up having to install mysql as well.. |
|
Back to top |
|
|
Vxster n00b
Joined: 16 Jan 2003 Posts: 66 Location: London, UK
|
Posted: Thu May 08, 2003 3:46 pm Post subject: |
|
|
Have you made sure you don't have the USE flag set? I think by default it adds mysql support. |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Thu May 08, 2003 6:04 pm Post subject: |
|
|
if the above solutions dont work u can also tweak the ebuild - look for the 'depend' and 'rdepend' lines but be sure to read the install docs careful...
afterwards u might want to remove the package from /var/cache/edb/world so that it doesnt get updated... _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu May 08, 2003 8:26 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Fri May 09, 2003 8:04 am Post subject: |
|
|
I think you will need mysql because of the client libraries that mysqlcc uses. The dependency is not for the server but for libraries and header files. Thats one bad thing with Gentoo, there is no server/client separation. Maybe a new USE flag could be added for this, say server binaries/data are only installed if USE="server" is set.
Ok, it's already on bugzilla, so for all who want this, go to the Ebuild review thread and check ebuilds for possible server USE flag support. |
|
Back to top |
|
|
aethyr Veteran
Joined: 06 Apr 2003 Posts: 1085 Location: NYC
|
Posted: Fri May 09, 2003 8:11 am Post subject: |
|
|
Yes.
<zombie>
join us...
join us...
</zombie>
Heh, in all sincerity, these are the types of issues we're trying to discover with The Gentoo ebuild USE flag review effort.
This sounds like an issue that might affect many packages, so feel free to start a thread about it in the forum.
If you'd care to make mysqlcc your first ebuild review, even better :) |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Fri May 09, 2003 8:24 am Post subject: |
|
|
Genone wrote: | I think you will need mysql because of the client libraries that mysqlcc uses. The dependency is not for the server but for libraries and header files. Thats one bad thing with Gentoo, there is no server/client separation. |
thats only partly true - if in an ebuild only the line DEPEND=pkg occurs and it is not listed in the useflags it will be downloaded for headers and compile purposes only. if there is a line RDEPEND=pkg; pkg is needed for Runnning the pkg u are trying to install and it will be fully merged _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Fri May 09, 2003 10:18 am Post subject: |
|
|
slartibartfasz wrote: | Genone wrote: | I think you will need mysql because of the client libraries that mysqlcc uses. The dependency is not for the server but for libraries and header files. Thats one bad thing with Gentoo, there is no server/client separation. |
thats only partly true - if in an ebuild only the line DEPEND=pkg occurs and it is not listed in the useflags it will be downloaded for headers and compile purposes only. if there is a line RDEPEND=pkg; pkg is needed for Runnning the pkg u are trying to install and it will be fully merged |
Yes, and libraries are runtime dependencies, unless you link static. And if RDEPEND is empty it is set to DEPEND (so says man 5 ebuild). Not sure if this also applies if RDEPEND="". But nowhere is stated that DEPEND dependencies are not merged. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Fri May 09, 2003 10:25 am Post subject: |
|
|
aethyr wrote: | If you'd care to make mysqlcc your first ebuild review, even better |
No, but mysql. My computer is just so damn slow, so testing if the modifications are OK takes some time . |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Fri May 09, 2003 11:25 am Post subject: |
|
|
Genone wrote: | Yes, and libraries are runtime dependencies, unless you link static. And if RDEPEND is empty it is set to DEPEND (so says man 5 ebuild). Not sure if this also applies if RDEPEND="". But nowhere is stated that DEPEND dependencies are not merged. |
i'm not completely sure either if this is so for all cases, but only a few days ago i tweaked the subversion ebuild to use the newest version of berk-db - everything merged and works - though i still have the older berk-db version merged on my system - the newer was only used for linking... as i'm not a programmer i cant explain u how this works - all that i can do is to report what i see _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Fri May 09, 2003 11:51 am Post subject: |
|
|
So only carpaski knows ... |
|
Back to top |
|
|
|