Opened 19 years ago
Closed 19 years ago
#890 closed enhancement (fixed)
Add -build option to 'pschecklibs'; some specific tweaks
| Reported by: | Michael Wood-Vasey | Owned by: | eugene |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | misc | Version: | unspecified |
| Severity: | minor | Keywords: | |
| Cc: |
Description
It would be great to add a '-build' option to 'pschecklibs' in the style of that of 'pscheckperl'. This would be helpful both to save a bit of typing and to save some of the package-specific things that are necessary to compile the packages. The basic plan is
tar <package>.tgz
cd <package>
psconfigure
make
make install
but there are a few packages that are a little different: 'libjpeg', 'fftw3', and 'doxygen':
'libjpeg' (jpegsrc.v6b.tar.gz)
This package doesn't have a very intelligent installer. First, it doesn't create the man subdirectory if it doesn't exist, so we have to make sure that exists, e.g.,
mkdir -p $PSCONFDIR/ipp-2.2.darwin/man/man1
[as appropriate for the version and architecture of the install]
Second, by default 'make install' doesn't install the headers or libraries, so one needs to also
make install-headers
make install-lib
'fftw3' (fftw-3.0.1.tar.gz)
One needs to explicitly configure with '--enable-float' to get everything we need out of fftw3:
psconfigure --enable-float
make
make install
'doxygen' (doxygen-1.5.1.src.tar.gz)
I don't know how to get this to install and didn't spend much time to figure it out. It's not critical or important, but if someone knows how it would be good to include.
Change History (3)
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
| remaining_time: | 3.00 → 0.00 |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |

I've changed pschecklibs to a perl program which examines a file in tagsets (eg, ipp-2.4.libs) to determine how to build the specific library package. I added the -build option, and added the things listed below to make these installations work as needed (including separate entries for fftw3 and and fftw3f)