Bug #32767 MYSQL_PORT undefined on NetWare
Submitted: 27 Nov 2007 13:28 Modified: 28 Aug 2016 14:33
Reporter: Jonathan Perkin Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.52, 5.1.23 OS:Novell NetWare
Assigned to: CPU Architecture:Any

[27 Nov 2007 13:28] Jonathan Perkin
Description:
Bug http://bugs.mysql.com/bug.php?id=15327 is incomplete, the NetWare builds fail as they do not
include mysql_version.h (that file isn't even pre-processed).

mwccnlm -gccincludes -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../incl
ude -I..    -g -DDEBUG -sym internal,codeview4 -DDBUG_ON -DSAFE_MUTEX -DSAFEMALL
OC -enum int -align 8 -proc 686 -relax_pointers -dialect c   -c `test -f 'mysqld
_safe.c' || echo './'`mysqld_safe.c

Errors caused tool to abort.
### mwccnlm Compiler:
#    File: ..\..\MYSQ~O5G.52\NETWARE\mysqld_safe.c
# ------------------------------------------------
#     192:    snprintf(port, PATH_MAX, "%d", MYSQL_PORT);
#   Error:                                   ^^^^^^^^^^
#   undefined identifier 'MYSQL_PORT'

How to repeat:
./netware/BUILD/nwbootstrap --build=debug
[15 Aug 2008 9:23] Sveta Smirnova
Thank you for the report.

./netware/BUILD/nwbootstrap contains invocation of bk also. Isn't it should be completely rewritten and/or removed?
[15 Sep 2008 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".