Opened 19 years ago
Closed 19 years ago
#889 closed enhancement (fixed)
Finding MySQL in IPP install directory with pschecklibs
| Reported by: | Michael Wood-Vasey | Owned by: | eugene |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | misc | Version: | unspecified |
| Severity: | minor | Keywords: | |
| Cc: | jester@… |
Description
'pschecklibs' should be modified so that it looks for libraries in subdirectories. This first comes up if one compiles mysql within the IPP directory framework where it will show up as PREFIX/lib/mysql/, but 'pschecklibs' just looks in 'PREFIX/lib'. I put in a hack of
set libdir = "$libdir $libdir/mysql"
in my 'pschecklibs' (IPP 2.1, line 184), but that's pretty specific. There's probably some better, more general solution.
Change History (5)
comment:1 by , 19 years ago
| Owner: | changed from to |
|---|
comment:2 by , 19 years ago
| Status: | new → assigned |
|---|
comment:3 by , 19 years ago
This sort of thing is what autoconf is for --- checking presence of include files and making sure the libraries can be sucked in when building. Can we rig up something that uses autoconf to check that everything can be found, and wrap it up with a script that sets directories for various architectures?
comment:4 by , 19 years ago
| Cc: | added |
|---|
comment:5 by , 19 years ago
| remaining_time: | 1.00 → 0.00 |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
i've updated pschecklibs to search in a specific set of subdirs, as defined by the tagset file ipp-2.3.libs. This also defines compile-time options that should be passed to the library. pschecklibs -build will build the libraries for you.

i've screwed around with this a bit and have not come up with a good, happy solution. it is a bit of overkill (and slow) to search all possible subdirs of all libdirs, and similarly you get collisions with multiple versions using find. I'll look at it again. it may require supplying additional information for desired packages.