Slackware 12.1 installs wrong Apache build - Slackware

This is a discussion on Slackware 12.1 installs wrong Apache build - Slackware ; I recently downloaded and installed 12.1 on a spare computer. During the installation I selected PostgreSQL and Apache 2. Everything went well until I tried to start up Apache. The error log showed it was looking for a MySQL library ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 35

Thread: Slackware 12.1 installs wrong Apache build

  1. Slackware 12.1 installs wrong Apache build

    I recently downloaded and installed 12.1 on a spare computer. During the
    installation I selected PostgreSQL and Apache 2. Everything went well
    until I tried to start up Apache. The error log showed it was looking
    for a MySQL library for PHP. What the...? I selected Postgres, why did I
    get the MySQL version? Doesn't anyone check this to make sure the right
    components are installed?

    So I uninstalled Apache and Postgre and grabbed the latest sources for
    them and PHP 5. Now I need to find the instructions on how to build this
    setup. Looking through Google, I found a couple of very old articles for
    Apache 1.3, PHP 4 and Postgres 7.x. I don't know if I can trust those or
    not. I know there are some interdependencies, so various options have to
    mesh to get them all working together. Where can I find consolidated
    instructions for the current releases of these three packages?

    Thank you,

    Bob McConnell
    N2SPP


  2. Re: Slackware 12.1 installs wrong Apache build

    On Sat, 7 Jun 2008, Bob McConnell wrote:

    >
    > I recently downloaded and installed 12.1 on a spare computer. During the
    > installation I selected PostgreSQL and Apache 2. Everything went well
    > until I tried to start up Apache. The error log showed it was looking
    > for a MySQL library for PHP. What the...? I selected Postgres, why did I
    > get the MySQL version? Doesn't anyone check this to make sure the right
    > components are installed?



    This is because %99.9999r of php users use MySQL, and for very obvious
    reasons, so it makes sense to include it as its the most widely popular
    and commonly used DB. You cant please all of the people all of the time,
    sometimes, just sometimes, you actually have to do some work yourself.

    > So I uninstalled Apache and Postgre and grabbed the latest sources for


    Wrong, should have left them, and removed php, got its source and
    recompiled it with what you want to use.

    > them and PHP 5. Now I need to find the instructions on how to build this
    > setup. Looking through Google, I found a couple of very old articles for


    I guess you've never heard of './configure --help' in php, it's like,
    only the most obvious place to start looking since you want postgresql
    support.


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  3. Re: Slackware 12.1 installs wrong Apache build

    On Sat, 07 Jun 2008 19:02:35 -0400, Bob McConnell wrote:

    > I recently downloaded and installed 12.1 on a spare computer. During the
    > installation I selected PostgreSQL and Apache 2.


    Slackware doesn't come with PostgreSQL. Where in the installation process
    where you choosing PostgreSQL?


  4. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-07, Bob McConnell wrote:
    > I recently downloaded and installed 12.1 on a spare computer. During the
    > installation I selected PostgreSQL and Apache 2.



    No, you didn't. Slackware doesn't ship PostgreSQL, so that's impossible.


    > Everything went well
    > until I tried to start up Apache. The error log showed it was looking
    > for a MySQL library for PHP. What the...? I selected Postgres, why did I
    > get the MySQL version? Doesn't anyone check this to make sure the right
    > components are installed?



    Yes. Doesn't anyone check to make sure they know what they're talking
    about before they make statements like this in public forums?


    > So I uninstalled Apache and Postgre and grabbed the latest sources for
    > them and PHP 5. Now I need to find the instructions on how to build this
    > setup. Looking through Google, I found a couple of very old articles for
    > Apache 1.3, PHP 4 and Postgres 7.x. I don't know if I can trust those or
    > not. I know there are some interdependencies, so various options have to
    > mesh to get them all working together. Where can I find consolidated
    > instructions for the current releases of these three packages?



    You might find what you need at SlackBuilds.org (as there is a build
    script for postgresql there), but I don't know if that will be enough
    for you...

    -RW

  5. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-08, Res wrote:
    > On Sat, 7 Jun 2008, Bob McConnell wrote:
    >
    >> So I uninstalled Apache and Postgre and grabbed the latest sources for

    >
    > Wrong, should have left them, and removed php, got its source and
    > recompiled it with what you want to use.



    Well, IF postgresql were actually part of a stock Slackware system, then
    editing php.ini should be plenty sufficient. However, since it's NOT
    shipped with Slackware, the advice below holds true, as php will almost
    surely have to be recompiled to pick up postgresql support.


    >> them and PHP 5. Now I need to find the instructions on how to build this
    >> setup. Looking through Google, I found a couple of very old articles for

    >
    > I guess you've never heard of './configure --help' in php, it's like,
    > only the most obvious place to start looking since you want postgresql
    > support.


    -RW

  6. Re: Slackware 12.1 installs wrong Apache build

    Res wrote:
    > On Sat, 7 Jun 2008, Bob McConnell wrote:
    >
    >>
    >> I recently downloaded and installed 12.1 on a spare computer. During the
    >> installation I selected PostgreSQL and Apache 2. Everything went well
    >> until I tried to start up Apache. The error log showed it was looking
    >> for a MySQL library for PHP. What the...? I selected Postgres, why did I
    >> get the MySQL version? Doesn't anyone check this to make sure the right
    >> components are installed?

    >
    >
    > This is because %99.9999r of php users use MySQL, and for very obvious
    > reasons, so it makes sense to include it as its the most widely popular
    > and commonly used DB. You cant please all of the people all of the time,
    > sometimes, just sometimes, you actually have to do some work yourself.
    >
    >> So I uninstalled Apache and Postgre and grabbed the latest sources for

    >
    > Wrong, should have left them, and removed php, got its source and
    > recompiled it with what you want to use.
    >
    >> them and PHP 5. Now I need to find the instructions on how to build this
    >> setup. Looking through Google, I found a couple of very old articles for

    >
    > I guess you've never heard of './configure --help' in php, it's like,
    > only the most obvious place to start looking since you want postgresql
    > support.
    >
    >

    just curious what are the obvious reasons to choose MySQL above
    Postgres ?

  7. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 08 Jun 2008 03:32:24 +0000, stinger wrote:

    > On Sat, 07 Jun 2008 19:02:35 -0400, Bob McConnell wrote:
    >
    >> I recently downloaded and installed 12.1 on a spare computer. During the
    >> installation I selected PostgreSQL and Apache 2.

    >
    > Slackware doesn't come with PostgreSQL. Where in the installation process
    > where you choosing PostgreSQL?


    I could have sworn I saw Postgres in the installation menu, but you're
    right, I can't find it in the package list now. That must have been in the
    FreeBSD installation I did the next day.

    Bob McConnell
    N2SPP


  8. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 08 Jun 2008 09:10:02 -0400, Bob McConnell wrote:

    >>> I recently downloaded and installed 12.1 on a spare computer. During the
    >>> installation I selected PostgreSQL and Apache 2.


    >> Slackware doesn't come with PostgreSQL. Where in the installation process
    >> where you choosing PostgreSQL?


    > I could have sworn I saw Postgres in the installation menu, but you're
    > right, I can't find it in the package list now. That must have been in the
    > FreeBSD installation I did the next day.


    Yeah, that must be it. Right.

    Do I smell troll?


    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me".
    Now filtering out all posts originating from Google Groups.
    The Usenet Improvement Project: http://improve-usenet.org


  9. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 08 Jun 2008 13:47:32 +0200, goarilla <"kevinpaulus|"@|skynet
    wrote:

    > Res wrote:


    > just curious what are the obvious reasons to choose MySQL above Postgres ?


    I don't believe there are any. A couple of years ago, MySQL changed to a
    per server license fee. That would have increased the cost of two projects
    we were working on by 400%. The project teams switched to Postgres and
    couldn't be happier. On another product that had been deployed for more
    than two years prior to the switch, they actually spend less time doing
    database maintenance since then.

    The description for MySQL that became popular during that transistion was
    addiction-ware. They get you addicted to their brand of almost-SQL and
    then stick you with fees that might not be too bad when you actually go
    commercial. In our case, it was far more than we were willing to bear.
    Personally, I think the only reason they appear to be popular is because
    they have an active marketing group that is paid to get their name
    published in as many forums as possible. I know that Google produces many
    more pages on how to switch from MySQL to Postgres than the other way
    around.

    I have just been informed that I will be transitioning to one of the web
    product teams over the next few months as my embedded work is phased out.
    So I need to learn to work with Postgres 8.2+, PHP 5 and Apache 2.

    I almost didn't send this, but the comment about being a troll changed my
    mind.

    Bob McConnell
    N2SPP


  10. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 08 Jun 2008 10:08:48 +1000, Res wrote:

    > On Sat, 7 Jun 2008, Bob McConnell wrote:
    >
    >> them and PHP 5. Now I need to find the instructions on how to build
    >> this setup. Looking through Google, I found a couple of very old
    >> articles for

    >
    > I guess you've never heard of './configure --help' in php, it's like,
    > only the most obvious place to start looking since you want postgresql
    > support.


    I don't recall ever seeing a usable help message in a ./configure. Most of
    them simply detail each and every option independantly without any
    explanation of the interactions and dependencies. Nor do I remember any
    information on inter-package dependencies in README or INSTALL. The
    results were usually a build that wouldn't run because of mismatched
    dependencies. I have always gone to Google or an occasional magazine
    article for useful help. Those older articles explained that you needed to
    do the configurations in a specific order, and there were some steps that
    overlapped. Is this included or explained in the help files? Since I am
    assembling what appears to me to be a standard combination of components,
    I was looking for more of a tutorial or cookbook on how to build an
    optimum configuration.

    This will be my first time installing Apache 2, my first time installing
    Postgres 8.3 and my first time installing PHP 5. I have put Apache 1.3,
    Postgres 8.1 and PHP 4 together, but there are still some interaction
    problems that crop up occasionally, so I know I didn't do that correctly.
    I was looking for help to do it better this time.

    Bob McConnell
    N2SPP


  11. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-08, Bob McConnell wrote:
    >
    > I don't believe there are any. A couple of years ago, MySQL changed to a
    > per server license fee.


    That must have been a very long time ago. MySQL is under the GPL:

    http://www.mysql.com/about/legal/lic...e-license.html

    You can buy MySQL Enterprise, but MySQL Community is GPL. Note that
    this is completely legal under the GPL to distribute a GPL-licensed
    version of your software, and simultaneously sell a non-GPL-licensed
    version.

    > I almost didn't send this, but the comment about being a troll changed my
    > mind.


    Perhaps not a troll, but that's twice that you've posted information
    that was blatantly inaccurate. You should probably verify your future
    claims before you post them.

    --keith

    --
    kkeller-usenet@wombat.san-francisco.ca.us
    (try just my userid to email me)
    AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
    see X- headers for PGP signature information


  12. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-08, Bob McConnell wrote:
    > On Sun, 08 Jun 2008 10:08:48 +1000, Res wrote:
    >
    >> On Sat, 7 Jun 2008, Bob McConnell wrote:
    >>
    >>> them and PHP 5. Now I need to find the instructions on how to build
    >>> this setup. Looking through Google, I found a couple of very old
    >>> articles for

    >>
    >> I guess you've never heard of './configure --help' in php, it's like,
    >> only the most obvious place to start looking since you want postgresql
    >> support.

    >
    > I don't recall ever seeing a usable help message in a ./configure. Most of
    > them simply detail each and every option independantly without any
    > explanation of the interactions and dependencies. Nor do I remember any



    It's not nuclear science....the general install procedure is apache,
    prostgres, then php -- then set the needed variables in apache.

    If you installed slack, then all you have to do is a compile/make with
    prostgres and recompile php with prostres support....at least that was in
    slack ver. 9.1 the last time I installed prostres

    Perhaps this link will give you a start.

    http://dan.drydog.com/apache2php.html


    For all I know, they may have compiled in postgres in the current versions
    of slack.

    you can run:

    % php -i > a.html; lynx a.html

    to get a view of the compile instructs and other necessary info.

    ken




  13. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 08 Jun 2008 10:31:52 -0700, Keith Keller wrote:

    > On 2008-06-08, Bob McConnell wrote:
    >
    > You can buy MySQL Enterprise, but MySQL Community is GPL. Note that this
    > is completely legal under the GPL to distribute a GPL-licensed version of
    > your software, and simultaneously sell a non-GPL-licensed version.
    >
    >> I almost didn't send this, but the comment about being a troll changed
    >> my mind.

    >
    > Perhaps not a troll, but that's twice that you've posted information that
    > was blatantly inaccurate. You should probably verify your future claims
    > before you post them.
    >
    > --keith


    MySQL is published under a dual license. For personal use, you can use it
    under the GPL. For commercial use, you need to have the Enterprise
    edition. I never said I was looking for a package for
    personal use. Nor did I suggest that it was not available under those
    conditions if you were. Perhaps you need to take off the blinders.

    Bob McConnell
    N2SPP


  14. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-08, Bob McConnell wrote:
    >
    > MySQL is published under a dual license. For personal use, you can use it
    > under the GPL. For commercial use, you need to have the Enterprise
    > edition.......


    I'm no db guru and am only just learning mysql/php, but didn't Sun just
    acquire mysql and isn't the whole GPL licensing thing up in the air for
    commercial users under their new ownership? Quite frankly, I'm wondering if
    I shouldn't shift my efforts to postgresql. I certainly have no resources
    for using big buck licensed software.

    nb

  15. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 8 Jun 2008, Bob McConnell wrote:

    > I don't recall ever seeing a usable help message in a ./configure. Most of
    > them simply detail each and every option independantly without any


    WTF? now I know your a troll
    even the most basic of *nix users knows that if you want to compile
    somthing with particular support, you look at configures options
    you could even do the lazy ass way of using-

    cd /usr/local/src/php-5.2.6
    ../configure --help | grep -i post

    .....now the output shows -

    --with-pdo-pgsql[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base
    --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL

    ....... OH NOOOOO! how dare it tell me how to include it!!!!!

    be gone fool, go back to win****.


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  16. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 8 Jun 2008, Dan C wrote:

    >
    > On Sun, 08 Jun 2008 09:10:02 -0400, Bob McConnell wrote:
    >
    >>>> I recently downloaded and installed 12.1 on a spare computer. During the
    >>>> installation I selected PostgreSQL and Apache 2.

    >
    >>> Slackware doesn't come with PostgreSQL. Where in the installation process
    >>> where you choosing PostgreSQL?

    >
    >> I could have sworn I saw Postgres in the installation menu, but you're
    >> right, I can't find it in the package list now. That must have been in the
    >> FreeBSD installation I did the next day.

    >
    > Yeah, that must be it. Right.
    >
    > Do I smell troll?
    >


    Maybe Alan Connor has returned


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  17. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 8 Jun 2008, Bob McConnell wrote:

    > MySQL is published under a dual license. For personal use, you can use it
    > under the GPL. For commercial use, you need to have the Enterprise
    > edition. I never said I was looking for a package for
    > personal use. Nor did I suggest that it was not available under those
    > conditions if you were. Perhaps you need to take off the blinders.


    > Bob McConnell
    > N2SPP


    Wrong, who gave you that defination? A usenet lawyer?

    The free version is permitted in commercial environments, there is a big
    difference between it and enterprise, do your reasearch a bit better next
    time, there is no legal requirment for a business to only use enterprise,
    unless they have changed it since Sun took them over, they were only
    "recommended solutions" but never ever mandatory, and I bet that if I look
    in the the free version or our old enterprise copy, I wont find a single
    statement declaring for our purpose we must use one or the other.

    This is the 3rd statement you've made in here and the 3rd time your
    wrong, congratulations you are cememted as a troll


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  18. Re: Slackware 12.1 installs wrong Apache build

    On Sun, 8 Jun 2008, Bob McConnell wrote:

    >
    > On Sun, 08 Jun 2008 13:47:32 +0200, goarilla <"kevinpaulus|"@|skynet
    > wrote:
    >
    >> Res wrote:

    >
    >> just curious what are the obvious reasons to choose MySQL above Postgres ?

    >
    > I don't believe there are any. A couple of years ago, MySQL changed to a
    > per server license fee. That would have increased the cost of two projects


    HUH what planet do you live on, you are aware that the free MySQL performs
    just as well under any circumstances arent you? there is a big (mauinly
    support related) diffference betweenthem, In fact we left the enterprise
    version to the free version because of that very reason, we did not deem
    it needed, I could not justify for staying with it, one of our developers
    however is an active member of the MySQL community so we give a little bit
    back.

    Think Dan C (hate agreeing with him) was right, your a troll.


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  19. Re: Slackware 12.1 installs wrong Apache build

    On 2008-06-08, Bob McConnell wrote:
    > On Sun, 08 Jun 2008 10:31:52 -0700, Keith Keller wrote:
    >
    >> On 2008-06-08, Bob McConnell wrote:
    >>
    >> You can buy MySQL Enterprise, but MySQL Community is GPL. Note that this
    >> is completely legal under the GPL to distribute a GPL-licensed version of
    >> your software, and simultaneously sell a non-GPL-licensed version.
    >>
    >>> I almost didn't send this, but the comment about being a troll changed
    >>> my mind.

    >>
    >> Perhaps not a troll, but that's twice that you've posted information that
    >> was blatantly inaccurate. You should probably verify your future claims
    >> before you post them.
    >>
    >> --keith

    >
    > MySQL is published under a dual license. For personal use, you can use it
    > under the GPL. For commercial use, you need to have the Enterprise
    > edition. I never said I was looking for a package for
    > personal use. Nor did I suggest that it was not available under those
    > conditions if you were. Perhaps you need to take off the blinders.


    I don't think you're right. A quick go over to mysql.com seems, to me
    anyway, to read one version is free no support, one is "enterprise," a few
    extra tools and support services for 600/year.

    ken

  20. Re: Slackware 12.1 installs wrong Apache build

    notbob wrote:
    > On 2008-06-08, Bob McConnell wrote:
    >> MySQL is published under a dual license. For personal use, you can use it
    >> under the GPL. For commercial use, you need to have the Enterprise
    >> edition.......

    >
    > I'm no db guru and am only just learning mysql/php, but didn't Sun just
    > acquire mysql and isn't the whole GPL licensing thing up in the air for
    > commercial users under their new ownership? Quite frankly, I'm wondering if
    > I shouldn't shift my efforts to postgresql. I certainly have no resources
    > for using big buck licensed software.
    >
    > nb

    A recent article in the Oakland Tribune reports Sun Micro Systems is
    committed to open source. I can't find the article I read in the paper
    however this is close enough. Sun purchases MySql is the gist of the
    article. The interesting point in all of it is that Sun is taking a
    financial hit and they still remain committed to the open source model.

    http://findarticles.com/p/articles/m...n21209180/pg_1

+ Reply to Thread
Page 1 of 2 1 2 LastLast