Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Mysql5 anyone?: (7 Items)
   
Mysql5 anyone?  
I've been trying to bmake mysql5-server and mysql5-client.  I ran into a minor problem with it finding readline.   I had
 to insert a configure argument --without-readline to make it work, even though readline was created in pkgsrc.  This is
 minor.

Now the bmake fails with an error when it tries to run c++.  This seems like a pkgsrc configuration problem, isn't it?  
Re: Mysql5 anyone?  
Scratch this.  I figured out the problem.  

> I've been trying to bmake mysql5-server and mysql5-client.  I ran into a minor
>  problem with it finding readline.   I had to insert a configure argument --
> without-readline to make it work, even though readline was created in pkgsrc. 
>  This is minor.
> 
> Now the bmake fails with an error when it tries to run c++.  This seems like a
>  pkgsrc configuration problem, isn't it?  


Re: Mysql5 anyone?  
Don't keep us in suspense, what was it :-)
Re: Mysql5 anyone?  
> Don't keep us in suspense, what was it :-)


Sure, this is something that probably needs attending to anyway.   I just recently installed pkgsrc fresh.   I went 
through the startup instructions very carefully, and thought that they were the final say, but they are not.   

If you look in the file README_QNX under HEAD/pkgsrc, way down toward the bottom is a comment,  

- Add the following line to /usr/pkg/etc/mk.conf
PKGSRC_COMPILER=qcc

That fixed the problem.  I think this should be put into the web instructions.


RE: Mysql5 anyone?  
This is mentioned on the bootstrap page:

http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/Bootstrap

-seanb

-----Original Message-----
From: Mitchell Schoenbrun [mailto:maschoen@pobox.com]
Sent: Tue 4/1/2008 3:37 AM
To: general-pkgsrc
Subject: Re: Mysql5 anyone?
 
> Don't keep us in suspense, what was it :-)


Sure, this is something that probably needs attending to anyway.   I just
recently installed pkgsrc fresh.   I went through the startup instructions
very carefully, and thought that they were the final say, but they are not.


If you look in the file README_QNX under HEAD/pkgsrc, way down toward the
bottom is a comment,  

- Add the following line to /usr/pkg/etc/mk.conf
PKGSRC_COMPILER=qcc

That fixed the problem.  I think this should be put into the web
instructions.




_______________________________________________
General
http://community.qnx.com/sf/go/post6321

Re: RE: Mysql5 anyone?  
> 
> This is mentioned on the bootstrap page:
> 
> http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/Bootstrap
> 
> -seanb


My mistake, yes.   I guess I didn't go through it carefully enough the 2nd time.   BTW, There have been a few odd 
problems getting Apache/PHP/Mysql all recompiled, but nothing like it was before pkgsrc.   There  is a strange problem 
with MySQL where it won't find libreadlib.a, but telling it to use it's included version works.   

I also ran into a weird problem recompiling graphics/jpeg.   libtools returned an error saying it could not infer the 
proper "tag", so I had to modify a Makefile to include --tag CC in the mode=compile step.   I guess I should make a diff
 out of this.  
Re: RE: Mysql5 anyone?  
> I also ran into a weird problem recompiling graphics/jpeg.   libtools returned
>  an error saying it could not infer the proper "tag", so I had to modify a 
> Makefile to include --tag CC in the mode=compile step.   I guess I should make
>  a diff out of this.  

Yup, I have seen this one as well.  Any ideas Sean?