AOLserver Chat Logs

2005/02/22

IRC [02:07] *** tektubby joined the chat.
IRC [02:42] *** anlater joined the chat.
IRC [02:42] *** tektubby parted the chat.
IRC [03:14] *** anlater_ joined the chat.
IRC [03:29] *** anlater parted the chat.
IRC [04:15] *** martinh parted the chat.
IRC [04:27] *** frankie joined the chat.
IRC [06:18] *** holycow joined the chat.
IRC [08:49] *** frankie parted the chat.
IRC [09:12] *** anlater_ parted the chat.
IRC [09:14] *** martinh joined the chat.
IRC [11:26] *** holycow parted the chat.
IRC [12:36] *** holycow joined the chat.
IRC [12:44] *** bartt joined the chat.
IRC [15:02] *** bartt parted the chat.
IRC [15:16] *** bartt joined the chat.
IRC [15:21] *** natester joined the chat.
IRC [16:36] *** natester parted the chat.
IRC [17:08] *** frankie joined the chat.
IRC [17:39] *** wtem joined the chat.
IRC [17:40] <wtem> howdy
IRC [17:50] <Dossy> hi wtem.
IRC [17:54] <wtem> hey
IRC [17:54] <wtem> should i post here instead of openacs?
IRC [17:55] <Dossy> maybe.
IRC [17:55] <Dossy> because your problem really isn't openacs-related
IRC [17:56] <wtem> ok
IRC [17:57] <wtem> moving it here
IRC [17:57] <wtem> the only thing is there is a squirrelmail/php bit in the openacs docs
IRC [17:57] <wtem> but that shouldn't really be there either!
IRC [17:57] <jcdldn> Why not?
IRC [17:58] <wtem> besides being on aolserver, they are integrated at all
IRC [17:58] <wtem> aren't integrated at all
IRC [17:58] <jcdldn> we can put whatever we want in the docs. I think it's more there to show people it's possible than to imply that its necessary.
IRC [17:58] <wtem> should be offsite links to aolserver docs
IRC [17:58] <jcdldn> why
IRC [17:59] <wtem> because they are better for php install at least
IRC [17:59] <wtem> whatever, don't really care
IRC [17:59] <jcdldn> do you want to move them?
IRC [18:00] <jcdldn> Malte added the docs. ping him if you think there is a better way to do it.
IRC [18:00] <wtem> no, i would say that linking to better documentation would be preferable to moving them somewhere
IRC [18:00] <jcdldn> ping malte
IRC [18:00] <wtem> yep
IRC [18:01] <wtem> alright, build died again
IRC [18:01] <wtem> at same point
IRC [18:02] <wtem> going to try building php5 sans aolserver support on mac os x
IRC [18:02] <wtem> via darwinports
IRC [18:06] <Dossy> yea
IRC [18:06] <Dossy> if it builds at all on osx, then we can move on from there
IRC [18:06] <wtem> yep
IRC [18:07] <wtem> just for clarity...
IRC [18:07] <wtem> normally you would do "sudo port install php5" and it would handle fetch,configure,build, and install
IRC [18:08] <wtem> but since i want to install that patch i've been doing the steps separately
IRC [18:08] <wtem> and the "variant" is how you put in configure args, etc for your specific install
IRC [18:09] <wtem> so i've been doing "sudo port configure +aolserver php5", etc
IRC [18:09] <wtem> the sudo actually probably isn't necessary until build...
IRC [18:20] <wtem> it finished the build without aolserver fine
IRC [18:21] <wtem> btw, i tried --with-aolserver-src too
IRC [18:21] <wtem> same error
IRC [18:22] <wtem> my other idea is that it needs a depends_lib-append lib:libnsd:aolserver or something
IRC [18:22] *** bartt parted the chat.
IRC [18:23] <wtem> but then i think it will want to install the aolserver port
IRC [18:23] <wtem> which is only 4.0.8
IRC [18:23] <wtem> and i've already installed 4.0.10
IRC [18:24] <wtem> was thinking of "tricking" php, by using the aolserver 4.0.8 port, then junking it an replacing it with 4.0.10
IRC [18:26] <Dossy> $ ./configure --with-aolserver=/home/aolserver --with-aolserver-src=/src/aolserver-4.0.5 --enable-shared
IRC [18:26] <Dossy> oh, duh - you need both
IRC [18:26] <Dossy> have you read this: How to set up PHP under AOLserver - http://panoptic.com/wiki/aolserver/1314
IRC [18:27] <wtem> yes
IRC [18:27] <Dossy> there's also a patch to PHP required - also incl. on that page.
IRC [18:27] <holycow> hola Dossy
IRC [18:27] <wtem> and i have tried it with both
IRC [18:27] <Dossy> hi, holycow.
IRC [18:27] <wtem> yep
IRC [18:27] <wtem> applied patch
IRC [18:28] <Dossy> wtem: your variant only shows --with-aolserver, but you need both --with-aolserver AND --with-aolserver-src
IRC [18:28] <wtem> alright, i'll give that a try again
IRC [18:28] <wtem> but have done it before
IRC [18:28] <Dossy> when it fails, can you send me the entire make output so I can see how it's failing?
IRC [18:28] <Dossy> wtem: maybe we should try building it using regular ./configure; make instead of through ports
IRC [18:29] <wtem> judging by your doc, the --with-aolserver-src is not necessary with php5, just php4
IRC [18:29] <wtem> yeah, sure thing
IRC [18:29] <Dossy> figure out how to get it to build first, then figure out how to convince darwinports to build it.
IRC [18:29] <Dossy> *shrug* I only tried building with PHP4, so if --with-aolserver-src isn't an option in PHP5, then sure. but, I'm pretty sure it is still necessary in PHP5 too
IRC [18:29] <wtem> interesting thing was that i was getting the same errors when doing it straight from php source
IRC [18:29] <wtem> ok
IRC [18:34] <wtem> Dossy: missed your earlier comment about trying it from straight source
IRC [18:34] <Dossy> nod
IRC [18:35] <wtem> doing another test build, if that fails with --withou-aolserver-src set, i'll give it a try from source
IRC [18:35] <wtem> heh
IRC [18:35] <wtem> --with-aolserver-src set!
IRC [18:36] <Dossy> ok
IRC [18:51] *** frankie parted the chat.
IRC [19:04] <wtem> alright that failed too
IRC [19:05] <wtem> so on to from source...
IRC [19:08] <jhavard> my suggestion would be to give up on php.
IRC [19:08] *** bartt joined the chat.
IRC [19:08] <wtem> yeah
IRC [19:09] <jhavard> Although PHP 5 improves the base language, the modules, man, the modules.
IRC [19:09] <wtem> well if the webmail from nima was available already...
IRC [19:09] <jhavard> I spent a whole day trying to track down a bug in a script that uses mysql and postgres.
IRC [19:09] <wtem> just want to have squirrelmail
IRC [19:09] <jhavard> The errors clearly stated "mysql error"
IRC [19:10] <jhavard> However, it wasn't a mysql error. It was a postgres error. For some reason, mysql error messages clobbered the pg error messages.
IRC [19:10] <wtem> Dossy: Build from src seemed to go fine
IRC [19:10] <wtem> do you want that output?
IRC [19:10] <wtem> wait, meant configure from src
IRC [19:10] <wtem> doh
IRC [19:14] *** bart1 joined the chat.
IRC [19:14] <wtem> jhavard: yeah, nothing like working with a language named "personal home pages"
IRC [19:14] <wtem> "Note that originally PHP/FI stood for:
IRC [19:14] <wtem> Personal Home Page / Forms Interpreter"
IRC [19:15] <wtem> like this:
IRC [19:15] <jhavard> and get this, the latest 4.3 and 5.0 releases don't compile on anything other than linux without patches.
IRC [19:15] <wtem> PHP is a recursive acronym that stands for:
IRC [19:15] <wtem> _ _ _
IRC [19:15] <wtem> PHP: Hypertext Preprocessor
IRC [19:15] <wtem> in order to make it sound more impressive
IRC [19:15] <wtem> and hide it's origins
IRC [19:15] <wtem> ugh
IRC [19:16] <wtem> i tried all the way down to 5.0
IRC [19:16] <jhavard> And rather than make a *new* release with the necessary patch, they let it be "until the next release"
IRC [19:16] <wtem> hmm
IRC [19:16] <jhavard> And since it can be months between releases, that's a dumb move!
IRC [19:16] <wtem> ok
IRC [19:16] <wtem> Dossy: you still there?
IRC [19:18] <wtem> hmm
IRC [19:19] <Dossy> ?
IRC [19:19] *** bart1 parted the chat.
IRC [19:20] <wtem> hey
IRC [19:20] <Dossy> what's the story
IRC [19:20] <wtem> alright, it crapped out during make
IRC [19:20] <wtem> as suspected
IRC [19:20] <wtem> where should i post the trace?
IRC [19:20] *** bart1 joined the chat.
IRC [19:21] <wtem> got your email
IRC [19:21] <wtem> will send it there
IRC [19:21] <Dossy> k
IRC [19:23] *** bart1 parted the chat.
IRC [19:25] *** bartt parted the chat.
IRC [19:25] <wtem> on it's way
IRC [19:35] *** bartt joined the chat.
IRC [19:37] <wtem> or so i thought
IRC [19:38] *** bartt parted the chat.
IRC [19:39] <wtem> did that get to you
IRC [19:39] <wtem> should have sent it to dossy at pano...
IRC [20:15] <Dossy> not sure
IRC [20:15] <Dossy> let me check my spam filter
IRC [20:15] <Dossy> not in my spam filter - did you send it?
IRC [20:19] <wtem> yeah, but it was to wrong address i bet
IRC [20:19] <wtem> just didn't bounce
IRC [20:19] <wtem> will resend
IRC [20:20] <wtem> sent again
IRC [20:21] <wtem> i sent it to aolserver.com, this time i sent it to panoptic
IRC [20:23] <wtem> did you get it?
IRC [20:29] <wtem> Dossy: going out for awhile
IRC [20:29] <wtem> feel free to email if you have any tips...
IRC [20:36] *** wtem parted the chat.
IRC [20:39] <Dossy> heh
IRC [20:41] *** holycow parted the chat.
IRC [21:43] *** holycow joined the chat.
IRC [21:51] *** yhnhm joined the chat.
IRC [21:53] *** yhnhm parted the chat.
IRC [22:02] *** holycow parted the chat.
IRC [22:09] *** holycow joined the chat.
IRC [22:10] *** holycow parted the chat.
IRC [22:17] *** holycow joined the chat.
IRC [22:47] *** wtem joined the chat.
IRC [22:47] <wtem> Dossy:
IRC [22:47] <wtem> I made some progress (sort of)
IRC [22:47] <wtem> couple things
IRC [22:49] <wtem> turns out that toby@opendarwin.org (i'm assuming) updated the aolserver darwin port to 4.0.10 over the weekend
IRC [22:50] <wtem> and i figured out why php5 wasn't finding the nsd lib
IRC [22:50] <wtem> darwinports usually sticks libs in /opt/local/lib
IRC [22:50] <wtem> and it was assuming that that was where it was going to be
IRC [22:51] <wtem> so i added a symlink in there and then it...
IRC [22:51] <wtem> went on to the error i was seeing when i built from source directly, the stuff you looked at
IRC [22:52] <wtem> btw, --without-dom didn't solve the problem
IRC [23:00] <Dossy> ?
IRC [23:02] <Dossy> What was the output of make when you ./configure --without-dom ?
IRC [23:02] <Dossy> also, in between running configure/make, are you doing a make distclean ?
IRC [23:29] <wtem> same output as before
IRC [23:29] <wtem> did a make clean
IRC [23:29] *** holycow parted the chat.
IRC [23:29] <wtem> hmm
IRC [23:30] <wtem> investigated that libexpat install dir... no
IRC [23:30] <wtem> it has been depreciated
IRC [23:30] <wtem> right below it in configure output there is the correct one
IRC [23:31] <wtem> hmm
IRC [23:36] <Dossy> make clean != make distclean
IRC [23:36] <wtem> doing another experimental build, if that fails, i'll try --without-dom in darwinports
IRC [23:37] <Dossy> try --without-dom at commandline first
IRC [23:37] <Dossy> do everything from command line first - just make sure it's even possible to build before fiddling with the darwinports mess
IRC [23:37] <wtem> looking up diff
IRC [23:40] <wtem> woah
IRC [23:40] <wtem> just for reference
IRC [23:41] <wtem> port clean php5 will do distclean (i.e. get rid of config.*) if Portfile is changed
IRC [23:41] <wtem> so get this...
IRC [23:42] <wtem> nevermind
IRC [23:42] <wtem> alright, back to building from source after make distclean