Hi,

I have a question about perl in scratchbox.

I am using scratchbox-core version 1.0.11 on ubuntu 8.04.

I have a perl script that opens a pipe to read the output of a make command.

The script works just fine outside scratchbox, but not inside.

For example, if I do this command :

$ make coverage

I get several lines of output, including a line like this (output by gcov) :

file.cpp covered XX.XX % ....bla bla

However, my script doesn't see this line at all. If I try a simpler script,
like this :

perl -e 'print `make coverage`'

or :

perl -e 'system( "make coverage" )'

then I get no such line. I get all the other ones, but not the one I want.

It seems like gcov isn't even being run. 'which gcov' prints the same inside
and outside of perl, so it knows it's there.

How should I try to debug this problem?

Thanks,

Max.
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to