IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 19 years ago

#865 closed defect (fixed)

if installed into a path that contains the $ARCH name, the default pantask paths become corrupted

Reported by: jhoblitt Owned by: eugene
Priority: high Milestone:
Component: PanTasks Version: unspecified
Severity: normal Keywords:
Cc:

Description

When attempting to install Ohana under the prefix
/home/moanui/jhoblitt/jhroot/i686-pc-linux-gnu on linux the default path for
pantasks scripts becomes corrupted. The cause seems to be that gcc is passed
-Dlinux -D[path] when building pantasks.c. CPP is then interpolating the string
"linux" in [path] to the value "1". Thus, the default path for pantasks scripts
becomes transliterated to /home/moanui/jhoblitt/jhroot/i686-pc-1-gnu.

Change History (1)

comment:1 by eugene, 19 years ago

Resolution: fixed
Status: newclosed

done: the relevant path is now supplied with a perl script that parses the mana.c.in file (and equivalents) and creates the output mana.c file. the -Dpath is no longer used.

Note: See TracTickets for help on using tickets.