NeXT Computers Forum Index NeXT Computers
www.NeXTComputers.org
 
Log in to check your private messagesLog in to check your private messages

Log inLog in  RegisterRegister


Profile  Search  Memberlist  FAQ  Usergroups
PostgreSQL 8.3.6 on NEXTSTEP
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software
View previous topic :: View next topic  
Author Message
winfried



Joined: 06 Jul 2006
Posts: 56
Location: Erlangen/Germany

PostPosted: Mon Mar 30, 2009 5:52 am    Post subject: Reply with quote

Thanks, I will check. I only have an OS 4.2 system available, so I my version might differ from yours, but I will see, what happens. Unfortunately, my time is currently very limited, so this might take some time.
Back to top
View user's profile Send private message
linmag7



Joined: 14 Oct 2008
Posts: 65
Location: Sweden

PostPosted: Thu Apr 30, 2009 12:18 pm    Post subject: postgreSQL 8 up and running on OpenSTEP Reply with quote

I've spent some time with gdb over the last couple of days and managed to identify and work around the bugs I mentioned earlier. I now have postgresql 8 up and running and it seems pretty stable. I've set up an apache/php/posgresql environment and I've tested it by running a forum (phpBB2) in the test environment and it seems to work fine.

This means, for instance, that this forum could be run entirely on OpenSTEP and most likely on NeXTSTEP as well. Very Happy I'll try to build a quad-fat package for postgresql-8 and upload it to kb7sqi as soon as possible.
Back to top
View user's profile Send private message
kb7sqi



Joined: 24 Sep 2007
Posts: 481
Location: Winston Salem, NC

PostPosted: Thu Apr 30, 2009 12:38 pm    Post subject: Re: postgreSQL 8 up and running on OpenSTEP Reply with quote

linmag7 wrote:
I've spent some time with gdb over the last couple of days and managed to identify and work around the bugs I mentioned earlier. I now have postgresql 8 up and running and it seems pretty stable. I've set up an apache/php/posgresql environment and I've tested it by running a forum (phpBB2) in the test environment and it seems to work fine.

This means, for instance, that this forum could be run entirely on OpenSTEP and most likely on NeXTSTEP as well. Very Happy I'll try to build a quad-fat package for postgresql-8 and upload it to kb7sqi as soon as possible.


Once again Magnus, you ROCK! Cool I'm sure I'm not the only one looking forward to using it. Take care.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
linmag7



Joined: 14 Oct 2008
Posts: 65
Location: Sweden

PostPosted: Fri May 01, 2009 2:25 am    Post subject: postgreSQL Reply with quote

Well, thanks!

The quad-fat package might take some time though, lots of assembly stuff that's different for the four archs and the source tree seems to be set up in a way that makes multi architecture builds quite nasty. It uses "/bin/ld -r" to lump object files together before it actually links any binaries. ld doesn't work with more than one -arch flag so I guess I will have to lipo it all together from four separate builds... nasty! over 25 binaries and libs...

I've tried to replace /bin/ld -r -o with cc -r -o but then I run into other problems...
Back to top
View user's profile Send private message
kb7sqi



Joined: 24 Sep 2007
Posts: 481
Location: Winston Salem, NC

PostPosted: Fri May 01, 2009 2:01 pm    Post subject: Re: postgreSQL Reply with quote

linmag7 wrote:
Well, thanks!

The quad-fat package might take some time though, lots of assembly stuff that's different for the four archs and the source tree seems to be set up in a way that makes multi architecture builds quite nasty. It uses "/bin/ld -r" to lump object files together before it actually links any binaries. ld doesn't work with more than one -arch flag so I guess I will have to lipo it all together from four separate builds... nasty! over 25 binaries and libs...

I've tried to replace /bin/ld -r -o with cc -r -o but then I run into other problems...


Ouch, that's definately worse that openssl! Smile If you just want to create builds for seperate arch's, that's fine also. I have the space. I'd say do what you can. I know I've been extremely busy these days. All the best! Take care.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
linmag7



Joined: 14 Oct 2008
Posts: 65
Location: Sweden

PostPosted: Sun May 03, 2009 4:47 pm    Post subject: postgreSQL quadfat! Reply with quote

I've built postgresql 8.3.6 as a quadfat NS 3.3 package and I'm now uploading it to kb7sqi. I've only tested the build to some extent on the SPARC platform, that is, I'm currently running the phpBB2 forum just to have something to put into a test database. It seems to be working fine! I had to make some changes in platform dependent assembly code so I don't know if I messed up any of the other platforms. I'm specially worried about the m68k platform since it was the platform that gave me the most trouble with inline assembly.

Feel free to give it a try and let me know if you run into any problems. I'll also try to put together an apache package with ssl/php4/posgresql if someone whats to use postgresql on a web platform in NS.
Back to top
View user's profile Send private message
kb7sqi



Joined: 24 Sep 2007
Posts: 481
Location: Winston Salem, NC

PostPosted: Sun May 03, 2009 9:02 pm    Post subject: Re: postgreSQL quadfat! Reply with quote

linmag7 wrote:
I've built postgresql 8.3.6 as a quadfat NS 3.3 package and I'm now uploading it to kb7sqi. I've only tested the build to some extent on the SPARC platform, that is, I'm currently running the phpBB2 forum just to have something to put into a test database. It seems to be working fine! I had to make some changes in platform dependent assembly code so I don't know if I messed up any of the other platforms. I'm specially worried about the m68k platform since it was the platform that gave me the most trouble with inline assembly.

Feel free to give it a try and let me know if you run into any problems. I'll also try to put together an apache package with ssl/php4/posgresql if someone whats to use postgresql on a web platform in NS.


Hey Magnus! It's been posted to the web server in the your directory along w/ the mysql-client software as well. Looking forward to hearing other results as well. Thanks again! Take care.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
linmag7



Joined: 14 Oct 2008
Posts: 65
Location: Sweden

PostPosted: Tue May 05, 2009 3:54 am    Post subject: Apache/ssl/php/psql Reply with quote

I've built an apache-1.3.41 with mod_ssl mod_php4 and postgresql-8 support. This package along with php-4.4.8 and postgresql-8.3.6 is all you need to run for instance a php web-based bulletin/forum or some other web based database applications entirely in a NeXTSTEP. The apache/php package also has support for mysql databases but its not likely that we will se a mysql port to NeXT.

I'll upload the package to kb7sqi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group