forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Building MySQL 5.1.46 from source

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> MySQL for OpenVMS
View previous topic :: View next topic  
Author Message
icl



Joined: 26 Oct 2007
Posts: 29
Location: London, UK

PostPosted: Wed Oct 20, 2010 5:40 pm    Post subject: Building MySQL 5.1.46 from source Reply with quote

JF

I am attempting to build the server on an Itanium from source using:

@MYSQL051_ROOT:[VMS]BUILD_ALL OPENSSL ZLIB SERVER LONG UPPER


I am getting an error in [VMS.MYSQL]BUILD_END.COM and the compilation of MYSQLD.CC


Code:

extern "C" int CRYPTO_NUM_LOCKS(void);
...............^
%CXX-E-EXPID, expected an identifier


I am using HP C v7.2 and have OPENSSL098A installed.

Any ideas what could be causing this?
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Mon Oct 25, 2010 7:22 am    Post subject: Reply with quote

Hello,

this is a known problem fixed a few month ago, I will try to put a new kit online this week.


Thanks for reporting,

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
icl



Joined: 26 Oct 2007
Posts: 29
Location: London, UK

PostPosted: Mon Oct 25, 2010 3:26 pm    Post subject: Reply with quote

Thanks JF - will look forward to the update though I managed to get it compiling by commenting out the offending code.
Back to top
View user's profile Send private message
icl



Joined: 26 Oct 2007
Posts: 29
Location: London, UK

PostPosted: Tue Oct 26, 2010 3:07 pm    Post subject: Reply with quote

I have successfully managed to build the server and clients now from the source and have them running.

One issue I had was in compiling SQL_YACC.CC

At first pass, the compiler ended up using all system resources and locking up user interaction - and never seemed to complete.

I subsequently did an independent compile for this routine using: /NOOPTIMIZE

and this seemed to resolve the problem.

Any clues on how you handle this or do you just have a mammoth amount of memory/CPU?
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Wed Oct 27, 2010 8:36 am    Post subject: Reply with quote

On my IA64 box, using the build_server_64.com procedure :


Code:
cxx /object=mysql_obj/mms=file=mysql_obj /include=(mysql_include) /warn=disa=(PT
RMISMATCH1,PTRMISMATCH)/define=(_LARGEFILE,DBUG_OFF,HAVE_CONFIG_H,'CLIENT_OR_SER
VER')/pointer=64/repository=mysql_rep/name=(short,as_is)/float=ieee/iee=DENORM/w
arn=disable=-
(CODEUNREACHABLE,NOCORDEL,CODCAUUNR,NOCTOBUTCONREFM) sql_yacc.cc


^
%CXX-I-OPTLIMEXC, optimizer throttling limit exceeded, optimization
          reduced to avoid excessive resource use.  Object is partly
          optimized.  /OPTIMIZE=OVERRIDE_LIMITS will prevent throttling, but
          the compilation may run out of memory or use excessive CPU.
at line number 36350 in file MYSQL051_ROOT:[sql]sql_yacc.cc;1


The compilation is fairly long but succeed.

You need a large Paging file quota and working set...


JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> MySQL for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
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