[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #EBA-558540]: LDM v.6.11.5 compilation failure [Mac OS X v.10.8.4]
- Subject: [LDM #EBA-558540]: LDM v.6.11.5 compilation failure [Mac OS X v.10.8.4]
- Date: Thu, 20 Jun 2013 09:23:03 -0600
Dave,
> I have a more concise statement of the problem that I reported above. When I
> uncompressed and untarred ldm-6.11.5.tar.gz ("gunzip -c ldm-6.11.5.tar.gz |
> tar xvd -"), all of the files and subdirectories ended up in ~/ldm-6.11.5
> instead of in ~/ldm-6.11.5/src. That is, there was no src subdirectory in
> ldm-6.11.5. That's why running "make install", which I did from ~/ldm-6.11.5
> (because that's where all the files were), tried to put files into ~/bin,
> ~/lib, ~/include, and ~/share instead of into the corresponding
> subdirectories one level down, in ~/ldm-6.11.5/.
Ah! That would cause the problem.
> So, the easiest way around the problem was to uncompress/untar
> ldm-6.11.5.tar.gz, relocate into ldm-6.11.5, create "src", move all other
> files and subdirectories into src, relocate to src, and then proceed with the
> usual installation.
>
> So the question is, why do the source files start out in ldm-6.11.5 instead
> of in ldm-6.11.5/src?
The GNU Automake tools are used to release-engineer the LDM package and they
insist on creating a tarball without an "src" directory. This is why the
instructions for building the package
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/source-install-steps.html>
create that directory using either pax(1) or a somewhat complicated command.
It's a pain in the butt, but the benefits of using those tools outweigh their
costs, on average.
Kudos for figuring this out.
> I've attached to source code bundle that I've been working with, in case it
> turns out to be a different species from yours.
>
> --Dave
>
> ************************************************************
> * Dr. Dave Dempsey | ^ ___ \|/ *
> * Dept. of Geosciences | ) ^ /||_||\ --0-- *
> * San Francisco State University | ) ) / ||_|| \ /|\ *
> * 1600 Holloway Ave. | ) ) / ||_|| \ *
> * San Francisco, CA 94132 | ) ) / ||_|| \ ^ *
> * | ) ) )
> ||_|| \ *
> * Phone: (415) 338-7716 | ) ) )~||~||~~~~ \~~*
> * FAX: (415) 338-7705 | ) ) ) ) ~ ~ ~ ~ ~ ~*
> * Email: address@hidden | ) ) ) ) ) ~ ~ ~ ~ *
> ************************************************************
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: EBA-558540
Department: Support LDM
Priority: Normal
Status: Closed