Hi Joe,

Thanks for your help.  I've got TPP-4.7.0 running now on a RHEL virtual
machine and on a Ubuntu server.  Indeed I neglected to put the trailing
slash on the makefile.config.incl paths which caused the creation of the
directories with the tpp prepended to their  names. Proper perl files were
created with the correct path to perl on line one.  And Petunia can access
the necessary directories.

Here is the contents of the Makefile.config.incl for the RHEL machine:

TPP_ROOT=/usr/local/tpp/
TPP_WEB=/tpp/

*ESCAPED_PERL_BIN=/usr/bin/perlPERL_BIN=/usr/bin/perl*

And for the Ubuntu 12.04 machine:

TPP_ROOT=/usr/local/tpp/
TPP_WEB=/tpp/
## for Boost
BOOST_INCL=-I/usr/include/boost/
BOOST_LIBDIR=/usr/lib
BOOST_LIBSPEC=-gcc43-mt
LINK=shared
LIBEXT=so
PERL_LIB_CORE= /usr/lib/perl/5.14/CORE/
*PERL_BIN=/usr/bin/perl*


Probably I didn't need to specify the ESCAPED_PERL_BIN for the RHEL machine.

Thanks again for your help!
Brian


On Wed, Mar 5, 2014 at 1:58 AM, Joseph Slagel <
[email protected]> wrote:

> Brian,
>
> I was able to reproduce the problem.  Its an issue how the Makefile
> deduces which perl executable you want to use.  A quick fix is to just set
> PERL_BIN to be where your executable is and then rebuild TPP.  Since it
> only affects perl scripts you might be able to get away with just deleting
> the .pl files from the build area and typing make again in src/.
>
> The reason we didn't catch this is our automated build is explicitly
> setting it before building.
>
> -Joe
>
>
>
> On Tue, Mar 4, 2014 at 4:55 PM, Brian Hampton <[email protected]>wrote:
>
>> Joe,
>>
>> I'm finding a number of perl files that are lacking the path to perl a
>> the top of the file.  The latest one is ProphetModels.pl.
>>
>> I should recompile, but what do I change to correct this?
>>
>> Thanks in advance,
>> Brian
>>
>>
>>
>>
>> On Tue, Mar 4, 2014 at 10:49 AM, Joseph Slagel <
>> [email protected]> wrote:
>>
>>> Brian,
>>>
>>> Interesting.  What's the first line in tpp_gui.pl?  Does it point to a
>>> valid instance of perl on your system?  Do the newlines at the end of the
>>> line look correct for Linux?  And is the executable at the command line by
>>> apache (e.g. sudo -u apache /usr/local/tpp/cgi-bin/tpp_gui.pl)?
>>>
>>> -Joe
>>>
>>>
>>>
>>> On Tue, Mar 4, 2014 at 7:16 AM, Brian Hampton <[email protected]>wrote:
>>>
>>>> Hello,
>>>>
>>>> I compiled and installed TPP 4.7 as I have done for previous versions
>>>> e.g. 4.6.x on Ubuntu 12.04 but when I point my browser to cgi-bin/
>>>> tpp_gui.pl I get an internal server error and this in the apache error
>>>> log:
>>>>
>>>> [Tue Mar 04 10:02:54 2014] [notice] Apache/2.2.22 (Ubuntu)
>>>> PHP/5.3.10-1ubuntu3.10 with Suhosin-Patch configured -- resuming normal
>>>> operations
>>>> [Tue Mar 04 10:03:12 2014] [error] [client 192.168.60.15] (2)No such
>>>> file or directory: exec of '/usr/local/tpp/cgi-bin/tpp_gui.pl' failed,
>>>> referer: http://pal.som.umaryland.edu:8080/cgi-bin/
>>>> [Tue Mar 04 10:03:12 2014] [error] [client 192.168.60.15] Premature end
>>>> of script headers: tpp_gui.pl, referer:
>>>> http://pal.som.umaryland.edu:8080/cgi-bin/
>>>>
>>>>
>>>> The compile from the source ended normally and without any errors.
>>>>
>>>> Brian
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "spctools-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/spctools-discuss.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>> Joe Slagel
>>> Institute for Systems Biology
>>> [email protected]
>>> (206) 732-1362
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "spctools-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/spctools-discuss.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "spctools-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/spctools-discuss.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Joe Slagel
> Institute for Systems Biology
> [email protected]
> (206) 732-1362
>
> --
> You received this message because you are subscribed to the Google Groups
> "spctools-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spctools-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to