Bug #56603 Avoid usage of sys/un.h on NetWare when compiled with newer LibC NDK
Submitted: 6 Sep 2010 23:37 Modified: 9 Sep 2010 14:36
Reporter: Guenter K Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.91, 5.1.50 OS:Novell NetWare
Assigned to: CPU Architecture:Any

[6 Sep 2010 23:37] Guenter K
Description:
Although newer NetWare LibC NDKs have sys/un.h which is detected by configure NetWare has no support for unix sockets.

How to repeat:
Compile with newer Novell LibC NDK which has sys/un.h header, then start server, and find in error log:
100904  6:47:47 [ERROR] Can't start server : UNIX Socket : Protocol not supported
100904  6:47:47 [ERROR] Aborting

100904  6:47:47 [Note] sys:/mysql/bin/mysqld.nlm: Shutdown complete

Suggested fix:
http://www.gknw.net/viewvc?root=mysql&view=revision&revision=4
[9 Sep 2010 7:19] MySQL Verification Team
Hi Guenter,

Thanks for the report, and link to your site.  However, Netware is no longer a supported platform, and we ceased to produce builds for it a while ago.  So, I have to set this bug report as "Unsupported".  

I am sure it will help those who do still compile binaries themselves though.
http://www.mysql.com/support/supportedplatforms/enterprise.html
[9 Sep 2010 14:36] Guenter K
Hello Shane,
I thought something like that already; however isnt it possible to get nevertheless some fixes into mainstream? I expect no suppor here, but just that you commit some stuff blindly which obviously cant harm; I think you know that well since what I see from bug reports in the past it seems that you were the one who did build and test the NetWare bins.
In order to better keep tack of the changes needed I did create a SVN repo an my site where I work together with another friend on getting NetWare bins compiled more painless than it currently is.
Also one thing I would really like to have applied: please set all files in the ./netware folder to eol-style native (so calle with SVN, no idea how its called with Baazar); the files are mostly in crlf format which gives strange errors when you compile on Linux.

Thanks in advance for any commits you might be able to do!

regards, Günter.