Results 1 to 3 of 3
  1. #1
    Installing MediaWiki as a learning experience

    Member Since
    Apr 01, 2008
    Posts
    11
    Installing MediaWiki as a learning experience
    Hi all,

    Maybe it's a little odd, but I'm trying to install MediaWiki as a learning experience on my G4 running 10.4.11. I want to build things from source. There's no real good reason for doing this. I just want to.

    I downloaded the source for Apache httpd 2.2.9, mysql-5.0.67, and php-5.2.6, as well as MediaWiki 1.13.0. I want to configure them to all install in their own directory, so that I don't accidentally overwrite things. I haven't done this before, and I'm not quite sure where to start. I tried compiling everything using --prefix=/wiki/{package name} --exec-prefix=/wiki/{package name}, and this all worked find, but when I tried to run httpd, I got

    Code:
    [Don's G4:/wiki/apache2] dlavelle% bin/httpd 
    dyld: Library not loaded: /wiki/lib/libaprutil-1.0.dylib
      Referenced from: /wiki/apache2/bin/httpd
      Reason: image not found
    Trace/BPT trap
    Obviously, I did or didn't do something.

    So, I deleted my /wiki directory and decided to start again. Any advice?

    Thanks!

  2. #2
    Installing MediaWiki as a learning experience
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Did you look for that .dylib file within your /wiki folder structure. Use the find command at the terminal prompt after you recompile it all.

    find /wiki -name "libaprutil*" -print

    Perhaps since you are doing a custom install, you need to let the compiler or a config file know where the library is that Apache is looking for.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3
    Installing MediaWiki as a learning experience

    Member Since
    Apr 01, 2008
    Posts
    11
    Thanks so much for you reply. I ran the search you suggested, then I did the following. It looked like it was just looking in the wrong place for the libraries.

    Code:
    [Don's G4:/wiki/apache2] dlavelle% bin/httpd
    dyld: Library not loaded: /wiki/lib/libaprutil-1.0.dylib
      Referenced from: /wiki/apache2/bin/httpd
      Reason: image not found
    Trace/BPT trap
    [Don's G4:/wiki/apache2] dlavelle% find /wiki -name "libaprutil*" -print
    /wiki/apache2/lib/libaprutil-1.0.3.0.dylib
    /wiki/apache2/lib/libaprutil-1.0.dylib
    /wiki/apache2/lib/libaprutil-1.a
    /wiki/apache2/lib/libaprutil-1.dylib
    /wiki/apache2/lib/libaprutil-1.la
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.0.3.0.dylib
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.0.dylib
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.a
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.dylib
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.la
    /wiki/httpd-2.2.9/srclib/apr-util/.libs/libaprutil-1.lai
    /wiki/httpd-2.2.9/srclib/apr-util/libaprutil-1.la
    /wiki/httpd-2.2.9/srclib/apr-util/libaprutil.dsp
    /wiki/httpd-2.2.9/srclib/apr-util/libaprutil.rc
    [Don's G4:/wiki/apache2] dlavelle% cp -r /wiki/apache2/lib/ /wiki/lib/
    [Don's G4:/wiki/apache2] dlavelle% bin/httpd
    httpd: Could not open configuration file /wiki/etc/httpd.conf: No such file or directory
    So now I'm getting apache errors, but those are much easier to resolve. Thanks for the nudge in the right direction! I'll post again if either A) I get it working, or B) get stuck again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VM for learning
    By chris789 in forum Schweb's Lounge
    Replies: 1
    Last Post: 02-12-2012, 05:01 PM
  2. Learning OS X
    By Ants473 in forum OS X - Operating System
    Replies: 24
    Last Post: 12-07-2010, 11:54 PM
  3. Experience Installing Ubuntu "Dapper Drake" on PowerMac G5?
    By mac57 in forum Running Windows (or anything else) on your Mac
    Replies: 7
    Last Post: 09-15-2006, 04:59 PM
  4. learning
    By f0134700529 in forum OS X - Operating System
    Replies: 2
    Last Post: 10-30-2004, 08:15 AM

Posting Permissions

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