Re: Midgard Mac OS X Installation
Robert Guerra <[email protected]>
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
thanks for the comments. i'll try again and see what happens. On 24-Jul-05, at 4:47 AM, Piotras wrote: >> midgard-php4 >> ************ >> >> $ sudo ./mkall --with-apxs2=/usr/local/apache2/bin/apxs \ >> --with-apr-config=/sw/bin/ \ >> > > Full path including apr-config binary. $ locate apr-config /usr/local/apache2/bin/apr-config thus, my updated mkall reads as follows: ./mkall --with-apxs=/usr/local/apache2/bin/apxs \ --with-apr-config=/usr/local/apache2/bin/apr-config \ --with-midgard=/usr/local/midgard/bin/midgard-config \ --with-php-config=/usr/local/php/bin/php-config > >> Added these to my php.ini: >> extension=midgard.so >> register_globals=on >> > > We register globals in vhost config IIRC. > that was from the earlier notes I found online . I'll make the changes to the file when i get midgard working :) > What is the gcc version? > You should have 3.x. > 3.x, no..Mac OS X (10.4 - "tiger") comes standard with GCC 4 $gcc -v Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure -- disable-checking --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/ s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ -- build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061) I can switch to gcc 3.x using the gcc_select command on OS X gcc_select -- Switch the default system compiler $ gcc_select -l Available compiler versions: 3.3 3.3-fast 4.0 $gcc_select 3.3 Default compiler has been set to: gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) doing the mkall again now - let's see what happens...