[Nagiosplug-devel] configure broken with old mysql
    Jeremy C. Reed 
    reed at reedmedia.net
       
    Thu May 18 13:16:02 CEST 2006
    
    
  
With  nagios-plugins-1.4.3, using configure with:
--with-mysql=/usr/local/mysql \
--with-mysql-lib=/usr/local/mysql/lib \
--with-mysql-inc=/usr/local/mysql/include
configure errors with:
config.status: creating intl/Makefile
sed: file ./confstatzL3272/subs-3.sed line 35: Unterminated `s' command
config.status: creating po/Makefile.in
sed: file ./confstatzL3272/subs-3.sed line 35: Unterminated `s' command
....
But configure does not fail. An empty Makefile is generated.
Line 35 of the sed script is:
s, at MYSQLINCLUDE@,Usage: /usr/local/mysql/bin/mysql_config 
[OPTIONS]
Options:
        --cflags        [-I'/usr/local/mysql/include/mysql']
        --libs          [-L'/usr/local/mysql/lib/mysql' 
-lmysqlclient -lz -lcrypt -lnsl -lm]
        --socket        [/tmp/mysql.sock]
        --port          [3306]
        --version       [3.23.58],;t t
My workaround was to comment out the following line in configure:
    MYSQLINCLUDE=`$MYSQLCONFIG --include`
If you like me to report this somewhere else, please let me know.
Please carbon-copy me on replies. I am not on this list.
 Jeremy C. Reed
    
    
More information about the Devel
mailing list