Opened 18 years ago
Closed 15 years ago
#1080 closed defect (worksforme)
configure failure when building libmysqlclient under pschecklibs
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | psconfig | Version: | 2.5 |
| Severity: | blocker | Keywords: | |
| Cc: | jbj@… |
Description
Created an attachment (id=118)
Terminal output from libmysqlclient configure
Running Debian 4.0 (Etch) on an i486-linux PC.
Downloaded and extracted ipp-2.5.1.tgz, extlibs-2.5.tgz and extperl-2.5.tgz. Installing psconfig in default location beneath psconfig src directory (INSTALL_PATH=/hourn/jbj/IPP/ipp-2.5).
Ran psbuild -bootstrap INSTALL_PATH successfully in tcsh. Modified .tcshrc to include aliases and re-sourced.
Using: psconfig default
Ran pschecklibs, which identifies the following packages as missing:
libpng
libmysqlclient
pkg-config
gsl/gsl_randist.h
gsl/gsl_rng.h
jpeglib.h
png.h
readline/history.h
readline/readline.h
Next ran pschecklibs -build, which installs libpng correctly, but then
psconfigure: configure --prefix=/hourn/jbj/IPP/codedefault.linux --bindir=/hourn/jbj/IPP/codedefault.linux/bin --libdir=/hourn/jbj/IPP/codedefault.linux/lib --mandir=/hourn/jbj/IPP/codedefault.linux/man --includedir=/hourn/jbj/IPP/codedefault.linux/include --sysconfdir=/hourn/jbj/IPP/codedefault.linux/etc --datadir=/hourn/jbj/IPP/codedefault.linux/shareextract libmysqlclient from mysql-5.0.51a.tar.gz
tar xvzf mysql-5.0.51a.tar.gz
... (lots of extracted files)
tardir: mysql-5.0.51a
configure --prefix=/hourn/jbj/IPP/codedefault.linux --bindir=/hourn/jbj/IPP/codedefault.linux/bin --libdir=/hourn/jbj/IPP/codedefault.linux/lib --mandir=/hourn/jbj/IPP/codedefault.linux/man --includedir=/hourn/jbj/IPP/codedefault.linux/include --sysconfdir=/hourn/jbj/IPP/codedefault.linux/etc --datadir=/hourn/jbj/IPP/codedefault.linux/share
... (lots of configure checks; output attached) and then
checking for termcap functions library... configure: error: No curses/termcap library found
problem building libmysqlclient : failure in configure
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | bugreport.pschecklibs.libmysqlclient.configure added |
|---|
comment:1 by , 18 years ago
| Cc: | added |
|---|
Some further thoughts on what I believe is happening.
On the system in question, the ncurses library is installed, but possibly without the termcap option (/etc/termcap is not found). When pschecklibs is run, it searches for the presence of ncurses (which it finds) but not ncurses/termcap and so decides that ncurses/termcap need not be installed. But the latter is required for libmysqlclient, which of course therefore can't install.
Ideas for solution assuming that what I've said above is correct: if it possible, make pschecklibs check not just for ncurses but for termcap as well; or, manually install ncurses in the IPP directory and then get the psconfig installation to look there (I am not sure how to do this, but it's possible that you can instruct me quite easily).
comment:2 by , 15 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
you can force ncurses to install with pschecklibs -force all
I had similar ncurse/mysql problems on my mac... I ended up using fink to install ncurses, because the ncurse that comes with ipp didn't compile on mac.

Terminal output from libmysqlclient configure