New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Installing MediaWiki as a learning experience


Post Reply New Thread Subscribe

 
Thread Tools
mysterd429

 
Member Since: Apr 01, 2008
Posts: 11
mysterd429 is on a distinguished road

mysterd429 is offline
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!
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
mysterd429

 
Member Since: Apr 01, 2008
Posts: 11
mysterd429 is on a distinguished road

mysterd429 is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Darwin: launching a self compiled program. | Launching applescript from bash »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Boot camp Xp, installing service pack 2 after windows? macymacmac Running Windows (or anything else) on your Mac 21 02-14-2008 12:21 PM
My Experience Switching ac3smith Switcher Hangout 16 07-18-2007 09:27 PM
A newbie comments on his first experience with Parallels 3150 NJRonbo Running Windows (or anything else) on your Mac 0 02-02-2007 06:41 AM
Installing Vista RTM on Macbook Pro cRuNcHiE Running Windows (or anything else) on your Mac 8 11-29-2006 08:43 AM
Experience Installing Ubuntu "Dapper Drake" on PowerMac G5? mac57 Running Windows (or anything else) on your Mac 7 09-15-2006 04:59 PM

All times are GMT -4. The time now is 04:39 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?