IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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 jhoblitt, 19 years ago

Owner: changed from jhoblitt to eugene

comment:2 by eugene, 19 years ago

Status: newassigned

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.

comment:3 by Paul Price, 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 jester@…, 19 years ago

Cc: jester@… added

comment:5 by eugene, 19 years ago

remaining_time: 1.000.00
Resolution: fixed
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.