Hi, sorry for not responding earlier. I've been busy with other stuff.
> On 8/8/2013 3:15 PM, Attila Krasznahorkay wrote:
>> Dear All,
>>
>> With the webpage down (or I not knowing where it moved...) I'm not sure who
>> to send this to.
>>
>> I have ROOT installed using the root5 package. I recently discovered an
>> issue with it. The "genreflex" command from it doesn't work. :-( I expect
>> that nobody noticed it because it's not a too often used feature. (One needs
>> to install gccxml in addition to make any use of the genreflex script, and
>> unfortunately Fink doesn't provide gccxml. So I installed it under
>> /usr/local by hand.)
>>
>> So, the /sw/bin/genreflex script currently holds this content:
>>
>> #!/bin/bash
>> if [ "x${ROOTSYS}" = "x" ]; then
>> THIS=$(dirname $0)
>> ROOTSYS=$(cd ${THIS}/..;pwd); export ROOTSYS
>> fi
>> python ${ROOTSYS}/lib/python/genreflex/genreflex.py "$@"
>>
>> But the last line should instead read:
>>
>> python ${ROOTSYS}/lib/root/python/genreflex/genreflex.py "$@"
>>
>> It's clearly just a typo, the script works fine after I make this fix by
>> hand. Could it be fixed in the Fink package?
>
> CC'ing Remi for the root5 fix. I can try and package gccxml (it seems
> fairly straightforward).
Thanks for reporting this problem. I committed a new revision 13 of the root5
package which fixes the path to genreflex.py. BTW: I also removed the ROOTSYS,
as in fink there should be no need to set it.
On Aug 13, 2013, at 12:52 AM, Hanspeter Niederstrasser <[email protected]>
wrote:
> On 8/12/2013 5:42 PM, Attila Krasznahorkay wrote:
>> Hi Hanspeter,
>>
>> Sorry for the delay...
>>
>> I tested the package description today. It did manage to compile and install
>> gccxml for me, and better yet, I managed to compile my code with it. (Which
>> also runs after this compilation.)
>>
>> I do get an annoying warning from the application, but it doesn't affect its
>> results:
>>
>> --->> genreflex: WARNING: While trying to retrieve compiler version, found
>> unknown compiler /sw/bin/g++-fsf-4.8
>
> Don't know if that's a genreflex or gccxml bug. It seems to be using
> the file name to determine the compiler, but it should instead use some
> other method ($COMPILER --version perhaps). Either way, upstream should
> probably fix how their detection works.
The problem is that the determination of the flag to retrieve the compiler
version assumes that you call 'g++', i.e. it does not allow for anything
appended to the compiler command. I fixed this, too.
>> All in all, I very much vote for this package to be collected into the
>> repository. (With slightly more meaningful description strings. :-P)
>
> Oops. Sorry about that. That's what happens when I quickly copy and
> paste from another package as a template.
>
> I've gone ahead and checked in gccxml into the CVS tree. I changed the
> way the versioning works, so the official Fink release shows a lower
> version than the test file I sent you (although the actual gccxml
> version is still the latest). Please 'fink remove gccxml' to get rid of
> the test version, delete the .info I emailed, and do a fink selfupdate.
> This will fetch the new file which you can then build and install.
root5 now depends on gccxml.
Thanks Hanspeter and Attila for all the work (:
Cheers,
Remi
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
