MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 3rd, 2000, 12:44 AM
circuit circuit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 6 circuit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey there :P

My dillema is simple, finding the solution has not. I'm wanting to run mySQL-3.22.32 on an OpenBSD 2.7 system, mainly because of it's security.

So after extracting the tarball, I try running <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>CFLAGS=-pthread CXXFLAGS=-pthread ./configure --with-mit-threads=no[/code] to get it all ready, (those flags recommended for openbsd 2.5 from the mysql documentation) and then run make. When it gets to sql_yacc.cc I get the following compile error:

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>/my/gnu/lib/bison/bison.simple: In function `int yyparse()':
/my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
*** Error code 1[/code]

The system is a P3-550MHz with 256mbRAM, so I'm a little bit miffed about this. Dosen't look like a hardware problem. I've tried running ./configure --with-low-memory because the documentation notes that problems with gcc exist when compiling that same file. I've also tried switching my shell back to sh as there have been distant reports of bash not reading the system ulimits set correctly on BSDi. Still no luck. Yes, this is all being done as root, so it's not as the result of a lack of privileges.

I don't know, I think I've tried almosteverything. I'd be more than willing to try the other half of everything if anyone can suggest anything. Many thanks in advance for all your help

- Marc

------------------
One youth stood up and confronted the intruder:
"I know what you need, sir, you need Jesus in your life."
The gunman then shot the boy repeatedly.

Reply With Quote
  #2  
Old October 3rd, 2000, 03:09 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Have you tried building it from the port at -> /usr/ports/databases/mysql/ ?

The proper patches and diffs should be applied for you automatically (the hard works).
You may just cvsup your ports to update to the latest.

Reply With Quote
  #3  
Old October 3rd, 2000, 04:36 AM
circuit circuit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 6 circuit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
All is swell. I haven't put enough faith into ports. It took a bit of fighting with but it's 2:19AM, everything works and I'm ready for sleep. Thanks freebsd ;-)

//marc

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Setting up mySQL on OpenBSD -- Cry For Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT