Trouble Compiling 4.3.10 on FreeBSD 5.X

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default Trouble Compiling 4.3.10 on FreeBSD 5.X

    Hi all,

    for some reason, I cannot get php to compile a shared object to work
    with apache 1.3.33...

    Here are the config commands that I used for apache and php :

    EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
    --enable-module=status --enable-module=rewrite --enable-module=ssl
    --enable-shared=ssl --disable-rule=SSL_COMPAT

    apache installs and works just fine.

    I use this for php :

    ../configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
    --with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
    --enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib
    --with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf
    --with-freetype-dir=/usr/local/lib --enable-shared

    It compiles ok, but when I go to install it, it gives an error :

    Installing PHP SAPI module: apache
    [activating module `php4' in /usr/local/apache/conf/httpd.conf]
    cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
    cp: libs/libphp4.so: No such file or directory
    apxs:Break: Command failed with rc=1
    *** Error code 1

    Stop in /dev/php-4.3.10.

    and there is no shared object file in the libs directory.

    This works just fine on a FreeBSD 4.10 client, but for some reason it
    doesn't create the shared object on this 5.3 system.

    More info :

    System is a Dual Opteron AMD architecture, running a fresh install of
    FreeBSD 5.3...

    thanks,

    Tim.


    Tim Traver Guest

  2. Similar Questions and Discussions

    1. Compile FreeBSD RELENG_5 on FreeBSD 4-STABLE
      Hi. I have a FreeBSD 4-STABLE machine. I want to do my custom RENELG_5 FreeBSD release. I'm get all RELENG_5 CVS source (with cvs checkout...
    2. Trouble compiling module IO 1.20
      I have seen few posts with the same problem, however I did not see the solution. I am attempting to install the IO module, because I need the...
    3. Compiling and Installing Perl 5.8.0 on FreeBSD
      This is my first post here, so go easy! :-) I get an error when attempting to install Perl 5.8.0 on FreeBSD that leaves me completely clueless. ...
    4. Trouble compiling 2.4.21 kernel
      Paul Johnson wrote: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=198870 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)...
    5. Newbie: Having trouble compiling Apache 2.0.46 on Solaris 8
      I am sure that I don't have my environment setup properly so your help is greatly appreciated. How should I configure my environment? What...
  3. #2

    Default Re: Trouble Compiling 4.3.10 on FreeBSD 5.X

    On Saturday 26 February 2005 01:50 pm, Tim Traver wrote:
    > for some reason, I cannot get php to compile a shared object to work
    > with apache 1.3.33...
    Is there a reason you're not using the port?
    --
    Kirk Strauser

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQBCINwa5sRg+Y0CpvERAjZrAJsFi2A0ugR7VwDrSp4Q2f jsL1oLfACeLQUI
    5bRDH0Qvb2XKa2RImDj7dtc=
    =JxI0
    -----END PGP SIGNATURE-----

    Kirk Strauser Guest

  4. #3

    Default Re: Trouble Compiling 4.3.10 on FreeBSD 5.X

    Kirk,

    well, yes, there is...first, the apache port has very few changes. most
    of the patches are things that the FreeBSD community wanted to change to
    fit defaults (.i.e different log file names, mostly cosmetic). I think
    there are a couple of su_exec tweaks in it, but overall, the port is not
    much different than the source.

    And php is not the latest version in the ports either. Not to mention
    that I use a lost of custom configuration parameters. It also doesn't
    look like any of the patches in the port of 4.3.9 would do anything to
    change my issue...

    Not that I don't think the ports collection is good. There are just some
    things that you need to do manually...

    Tim.


    Kirk Strauser wrote:
    >On Saturday 26 February 2005 01:50 pm, Tim Traver wrote:
    >
    >
    >
    >>for some reason, I cannot get php to compile a shared object to work
    >>with apache 1.3.33...
    >>
    >>
    >
    >Is there a reason you're not using the port?
    >
    >
    Tim Traver Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139