View previous topic :: View next topic |
Author |
Message |
Nicolinux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/6054821313e6232494c94c.jpg)
Joined: 22 Dec 2002 Posts: 204
|
Posted: Tue Sep 07, 2004 10:31 pm Post subject: How to dump webapp-config? |
|
|
Hi,
I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works. I know that I could inject webapp-config before installing phpmyadmin but this produces the following error:
Code: |
* vhosts USE flag not set - auto-installing using webapp-config
* This is an installation
* phpmyadmin-2.5.7_p1 is not installed - using install mode
* Running /usr/sbin/webapp-config -I -h localhost -u root -d /phpmyadmin phpmyadmin 2.5.7_p1
/usr/sbin/ebuild.sh: line 483: /usr/sbin/webapp-config: No such file or directory
|
Thanks for your help
Stefan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Sep 07, 2004 11:13 pm Post subject: Re: How to dump webapp-config? |
|
|
Nicolinux wrote: | I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works. |
No chance. All web related packages will be ported to it. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nicolinux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/6054821313e6232494c94c.jpg)
Joined: 22 Dec 2002 Posts: 204
|
Posted: Wed Sep 08, 2004 7:50 am Post subject: |
|
|
The freedom of choices...
However I guess I am stuck with installing those thing on my own, without portage.
Thanks anyway.
Stefan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Mon Oct 11, 2004 7:04 pm Post subject: Re: How to dump webapp-config? |
|
|
Carlo wrote: | Nicolinux wrote: | I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works. |
No chance. All web related packages will be ported to it. | This is egemony, dictatorship, ...
I hate it too. The furthest I would agree with the glep is for ebuilds to dump them in some common repository (/usr/share/webapps is ok). For the rest, it's food for cat.
Any other pills we have to swallow? (à la Microsoft way) _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Oct 11, 2004 8:05 pm Post subject: |
|
|
Well, no reason to show us your most scary face. Read GLEP 11, man webapp-config and whatelse you may find, join the gentoo-web-user mailing list and /flame/ there. The chance to get heard is much higher this way. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Tue Oct 12, 2004 5:05 am Post subject: |
|
|
Carlo wrote: | Well, no reason to show us your most scary face. | You meant to say, my hugly face ![Wink :wink:](images/smiles/icon_wink.gif) _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Oct 28, 2004 9:44 am Post subject: |
|
|
Well. I have to admin that webapp-config is the first "feature" of Gentoo that I can really, utterly and with extreme violence hate.
Man. That thing cost me an hour of my life plus tweo weeks I will die sooner because of additional strain from heavy stress ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Thu Oct 28, 2004 10:09 am Post subject: |
|
|
Post your rant here. ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
westi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/975017534409b5b2b1e806.jpg)
Joined: 23 Apr 2004 Posts: 5 Location: UK
|
Posted: Thu Oct 28, 2004 2:17 pm Post subject: webapp-config |
|
|
What is it that you all particulaly hate about webapp-config?
With use=-vhosts it should make no difference to your usage of webapps installed via portage.
Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Oct 28, 2004 2:45 pm Post subject: Re: webapp-config |
|
|
westi wrote: | What is it that you all particulaly hate about webapp-config?
With use=-vhosts it should make no difference to your usage of webapps installed via portage.
Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ![Wink ;-)](images/smiles/icon_wink.gif) |
Note the use of "should" ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
westi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/975017534409b5b2b1e806.jpg)
Joined: 23 Apr 2004 Posts: 5 Location: UK
|
Posted: Thu Oct 28, 2004 3:11 pm Post subject: Re: webapp-config |
|
|
wgi wrote: | westi wrote: | What is it that you all particulaly hate about webapp-config?
With use=-vhosts it should make no difference to your usage of webapps installed via portage.
Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ![Wink ;-)](images/smiles/icon_wink.gif) |
Note the use of "should" ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
With use=-vhosts (The default btw) you should not need to interact directly with webapp-config at all afaiu.
What specific problems do you have with webapp-config? Please share them so that the dev's can address them rather than just saying you think it is is rubbish!! ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyberpatrol Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Wed Nov 10, 2004 6:55 pm Post subject: |
|
|
Because Carlo has closed my own thread I just post it here again.
After searching and reading a while in the forum and in this thread I found that it should be enough to set the use flag "-vhost" to get rid of this webapp-config. But unfortunatly it's not true. On the contrary webapp-config's behaviour is more annoying than without use flag "-vhost".
And I didn't find a useful and readable and understandable documentation for this webapp-config. This GLEP 11 thing is only useful for developers and manpages - also the webapp-config manpage - are just a documentation about the syntax. They don't explain how a program works generally.
As I have written in another thread I don't want to have webapps like htdig, phpsysinfo and phpmyadmin installed more than once. And I want to know how and where to configure those webapps and I don't have time to read and think about the meaning of the webapp-config manpage.
And it takes much more time to learn such a useless webapp-config than just copying the (only once) installed webapps into different directories if someone needs it.
Maybe there could be some cases in which webapp-config could be useful but for me and for many other people as it can be read in the forum it's annoying. So this webapp-config MUST become OPTIONAL! Maybe it could be done with a new useflag. But the default setting of this use flag should be turned off.
So how do I get rid of webapp-config?
@Carlo:
This one question is answered but not with an acceptable answer.
And, please, read my hole posting. Then you will find some more problems I and some more people have with webapp-config.
BTW, if the developers create such a tool and compel the people using it they first should write a reasonable documentation which explains in details what it is for, how it works and how it is used. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Nov 10, 2004 7:15 pm Post subject: |
|
|
cyberpatrol wrote: | Because Carlo has closed my own thread I just post it here again. |
I don't have the right to close. I reported it as a dupe, because it does not make sense to clutter the db with multiple threads on the same topic.
cyberpatrol wrote: | and manpages - also the webapp-config manpage - are just a documentation about the syntax. They don't explain how a program works generally. |
No. The man page includes all necessary information.
cyberpatrol wrote: | This one question is answered but not with an acceptable answer. ![Wink ;-)](images/smiles/icon_wink.gif) |
You won't get another one. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyberpatrol Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Wed Nov 10, 2004 8:45 pm Post subject: |
|
|
Carlo wrote: | I don't have the right to close. I reported it as a dupe, because it does not make sense to clutter the db with multiple threads on the same topic. |
Because of this I couldn't answer there.
Carlo wrote: | No. The man page includes all necessary information. |
No they don't. They don't explain exactly how it works. There's e.g. not explained what the many empty directories in /usr/share/webapp like conf, hook etc. are for. And it is not explained why it creates e.g. for phpmyadmin a config file different from the original and why the original config file is there only as a copy with the extension .orig.
There has to be a really detailed documentation in the Gentoo Handbook particularly because it unfortunately became such an elementary tool as portage.
Another problem with webapp-config: It's far too unflexible.
As far as I've seen there's only one variable with which the vhost directory can be set.
I personally have three of these directories - one for my local webapps like phpmyadmin to administer my local MySQL database, one for the production releases of the websites I'm developing and one for the development releases of the websites I'm developing. The local webapps need to be on a Linux filesystem. The other directories have to be on a FAT32 partition because sometimes I need to access them from Windows.
And I need webapps in some but not in all of these websites.
So it's a lot easier to install (emerge) the webapps once and then copy them by hand than automatically with such a webapp-config. But one of Gentoo's advantages is portage's "version control system".
So I can only repeat myself. webapp-config MUST become OPTIONAL! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Wed Nov 10, 2004 11:27 pm Post subject: |
|
|
cyberpatrol wrote: | So I can only repeat myself. webapp-config MUST become OPTIONAL! |
Please, please, please.
Forcing the user to do it "the way it is done best" is the windoze way... _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Loki|muh n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jan 2003 Posts: 54
|
Posted: Thu Nov 11, 2004 9:47 pm Post subject: |
|
|
it's like using debian :/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dr_b_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Jan 2004 Posts: 33
|
Posted: Thu Nov 18, 2004 9:22 pm Post subject: |
|
|
I too Loathe webapp-config, i can't figure out how to disable it, with -vhost useflags doing nothing.
My web "apps" dont get installed in my webdir, they get put somewhere else, and im not running virtual hosts, so i really really do not understand why it wouldnt place my apps in the www dir. So what you all are saying, carlo, is that i have to install the application twice. Once with emerge, then again, with this byzantine webapp-config "tool" which is supposed to make things easier.
I have a better idea, how about I just 1) install them manually, thus defeating the excellent package manager portage, or 2) use a distro that doesn't force you to use webapp-config.
This is Tyranny, and the people will revolt.
Last edited by Dr_b_ on Thu Nov 18, 2004 9:32 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Nov 18, 2004 9:30 pm Post subject: |
|
|
Dr_b_ wrote: | My web "apps" dont get installed in my webdir, they get put somewhere else, and im not running virtual hosts, so i really really do not understand why it wouldnt place my apps in the www dir.
|
Yes... I had one app installed twice by webapp-config. Possibly was a hardlink instead of a softlink or it really got copied, but one thing is sure: it was ugly as hell.
Quote: | So what you all are saying, carlo, is that i have to install the application twice. Once with emerge, then again, with this byzantine webapp-config "tool" which is supposed to make things easier. |
What would that offer you? Just install the tarball of the app and be done for. Simply ignore portage for that one and look at it as being "just data".
Unfortunately, gentoo seems to be slowly moving the same way the other bloat-me-like-windoze distros are going :-/ _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dr_b_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Jan 2004 Posts: 33
|
Posted: Thu Nov 18, 2004 9:37 pm Post subject: |
|
|
Quote: |
What would that offer you? Just install the tarball of the app and be done for. Simply ignore portage for that one and look at it as being "just data". |
It wouldn't offer me anything, that's why im not going to use it and do it manually. I was merely stating the process i would go thru to install, for example, a "webapp".
Quote: |
Unfortunately, gentoo seems to be slowly moving the same way the other bloat-me-like-windoze distros are going :-/ |
I agree, trying to automate and perfect and dummify this process just for the minority of vhost users, who may or may not need this or like it is not good when you force everyone (the majority) who do not run vhosts, to use it.
I can sum up what webapp-config is similar to: Wizards for Web Application.
What are they going to "webappify" next? Friends, and you are my friends, this a is a good joke carried too far, we need to let our voices be heard. I'll probably get banned now from the forums for saying something bad about this "George Bush Webapp". The mentality i've seen expressed about it is similar to the presidents "You are either with us (Webapp-config) or against us" and tough if you don't like it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Nov 18, 2004 9:53 pm Post subject: |
|
|
LOL.
Slightly off boundaries but there is some truth in what you say. I urge the developers to rethink how webapp-config can be made optional. _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyberpatrol Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Thu Nov 18, 2004 10:37 pm Post subject: |
|
|
This could be done very easily.
Just create a new USE flag named webapp, webappconf or something like that. If this USE flag is set then webapps are installed with webapp-config as it is done at the moment. If this USE flag is not set then webapps are just installed once in a predefined directory (e.g. /var/www/localhost by default) as it was done before webapp-config.
Maybe for the second case (if this USE flag is not set) there could be made an option to define the installation directory for webapps. Maybe through an environment variable or a config file or something like that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
frilled Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/15648281494375ee83ca682.png)
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Nov 18, 2004 11:06 pm Post subject: |
|
|
Agreed. _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Fri Nov 19, 2004 12:00 am Post subject: |
|
|
Dr_b_ wrote: | this a is a good joke carried too far, we need to let our voices be heard. |
That's the point everyone seems to ignore. I say it again: Non of the webapp developers reads anything in forums.g.o. You lament here for nothing. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyberpatrol Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Fri Nov 19, 2004 12:06 am Post subject: |
|
|
Then this is a very good time for the webapp developers to change this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Fri Nov 19, 2004 10:20 am Post subject: |
|
|
cyberpatrol wrote: | Then this is a very good time for the webapp developers to change this. |
Tell them. The adress for the mailing list has been posted at least once in this thread. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|