Re: [opendx-dev] DXSamples (bad Makefiles.am or bad prefix)
sed off the trailing dx? David Thompson wrote: I got a question.. In the original acinclude.m4, the prefix was trying to be found using dx -whereami. I'm using the same technique. This result comes back in the form of /usr/local/bin/dx. But then the Makefile.am's tack on another dx/pages/... So the samples all get installed in /usr/local/bin/dx/dx. I know this is not correct, but should I go about fixing the 50 pages--or do I bump the prefix up one directory? The problem with bumping the prefix up one directory is that if a user specifies --prefix then do I not bump up a directory or do I? I've almost got this situation handled.. Those in the know let me know and I'll get it corrected. As for another issue--I'm off to look at somemore CLASSPATH stuff. David
Re: [opendx-dev] DXSamples (bad Makefiles.am or bad prefix)
That's what I was wondering, but what if I'm a user that didn't compile the program (my admin did) and he has told me if I want the samples to just install them in a local directory of my own. I then run configure with --prefix=~/dx? If I sed it off, then the two directories java (which the user may already use for something else) and samples will be the installation point--not dx/java:dx/samples. Let me know if the likelihood of this happening is so minute not to worry about it. Or if you want me to not sed off a dx when --prefix is set. David Peter Daniel Kirchner wrote: sed off the trailing dx? David Thompson wrote: I got a question.. In the original acinclude.m4, the prefix was trying to be found using dx -whereami. I'm using the same technique. This result comes back in the form of /usr/local/bin/dx. But then the Makefile.am's tack on another dx/pages/... So the samples all get installed in /usr/local/bin/dx/dx. I know this is not correct, but should I go about fixing the 50 pages--or do I bump the prefix up one directory? The problem with bumping the prefix up one directory is that if a user specifies --prefix then do I not bump up a directory or do I? I've almost got this situation handled.. Those in the know let me know and I'll get it corrected. As for another issue--I'm off to look at somemore CLASSPATH stuff. David
Re: [opendx-dev] DXSamples (bad Makefiles.am or bad prefix)
Sorry for the mixture of first and second person in that first paragraph. BAD BAD grammar. David David Thompson wrote: That's what I was wondering, but what if I'm a user that didn't compile the program (my admin did) and he has told me if I want the samples to just install them in a local directory of my own. I then run configure with --prefix=~/dx? If I sed it off, then the two directories java (which the user may already use for something else) and samples will be the installation point--not dx/java:dx/samples. Let me know if the likelihood of this happening is so minute not to worry about it. Or if you want me to not sed off a dx when --prefix is set. David
Re: [opendx-dev] DXSamples (bad Makefiles.am or bad prefix)
OK, we need to find the dx installation to pick up the configuration tidbits left behind so the sample java programs can compile. This is distinct from the installation prefix the samples could use. We can consult the Benevolent Dictator, but my impression was that the dx and dxsamples packaging was separate but ultimately intended to be installed together. David Thompson wrote: That's what I was wondering, but what if I'm a user that didn't compile the program (my admin did) and he has told me if I want the samples to just install them in a local directory of my own. I then run configure with --prefix=~/dx? If I sed it off, then the two directories java (which the user may already use for something else) and samples will be the installation point--not dx/java:dx/samples. Let me know if the likelihood of this happening is so minute not to worry about it. Or if you want me to not sed off a dx when --prefix is set. David Peter Daniel Kirchner wrote: sed off the trailing dx? David Thompson wrote: I got a question.. In the original acinclude.m4, the prefix was trying to be found using dx -whereami. I'm using the same technique. This result comes back in the form of /usr/local/bin/dx. But then the Makefile.am's tack on another dx/pages/... So the samples all get installed in /usr/local/bin/dx/dx. I know this is not correct, but should I go about fixing the 50 pages--or do I bump the prefix up one directory? The problem with bumping the prefix up one directory is that if a user specifies --prefix then do I not bump up a directory or do I? I've almost got this situation handled.. Those in the know let me know and I'll get it corrected. As for another issue--I'm off to look at somemore CLASSPATH stuff. David