Hi,
My site.mk looks like this:
INSTALL_DIR = /local/tpp
TPP_BASEURL = /tpp
TPP_DATADIR = /local/data
I tried installing TPP 5.1.0 but, after changing gcc and g++ to version 5,
it gave the following error upon running
make all
:
MSToolkit/libmstoolkitlite.a(mzp.BasicSpectrum_lite.o): In function
`_GLOBAL__sub_I__ZN13BasicSpectrumC2Ev':
BasicSpectrum.cpp:(.text.startup+0xa): undefined reference to
`std::ios_base::Init::Init()'
BasicSpectrum.cpp:(.text.startup+0x19): undefined reference to
`std::ios_base::Init::~Init()'
MSToolkit/libmstoolkitlite.a(mzp.BasicSpectrum_lite.o):(.eh_frame+0x53b):
undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
Makefile:16: recipe for target 'comet.exe' failed
make[1]: *** [comet.exe] Error 1
make[1]: Leaving directory
'/local/svn/release_5-1-0/build/gnu-x86_64/artifacts/comet_source_2017011'
extern/Makefile:353: recipe for target
'/local/svn/release_5-1-0/build/gnu-x86_64/artifacts/comet_source_2017011/comet'
failed
make: ***
[/local/svn/release_5-1-0/build/gnu-x86_64/artifacts/comet_source_2017011/comet]
Error 2
So went back to trying to get TPP 5.0.0 to work, since it mostly works just
not the cgi files or apache (web user interface).
Also, I noticed that in /etc/apache2/conf-available/httpd-tpp.conf
some of the variables do not have preceding or following underscores (for
example TPP_HOME instead of _TPP_HOME_) but when they are used farther
below in the file they do have preceding and following underscores (for
example Alias /_TPP_BASEURL_/data "_TPP_DATADIR_" ).
What I currently have is shown below:
SetEnv TPP_HOME /local/tpp
SetEnv TPP_DATADIR /local/tpp/data
SetEnv TPP_BASEURL /tpp
SetEnv TPP_DATAURL /tpp/data
SetEnv WEBSERVER_TMP /tmp
SetEnv WEBSERVER_ROOT /local/tpp
SetEnv SSRCALC /local/tpp/conf
SetEnv PERL5LIB /local/tpp/perl/lib
Is this right?
Might you please have any additional recommendations to try to get the cgi
files and the web user interface to work?
Thanks greatly,
s luban
On Thursday, January 25, 2018 at 5:11:51 PM UTC+2, Stanislav Luban wrote:
>
> Hi,
>
> Getting an error when installing TPP v5.0.0 Typhoon on Ubuntu 16.04
> following the instructions
>
>
> http://tools.proteomecenter.org/wiki/index.php?title=TPP_5.0.0:_Installing_on_Ubuntu_16.04
>
> The command line commands mostly seem to work.
>
> But when I load
>
> http://localhost:10401
>
> it gives me the Apache2 Ubuntu Default Page
>
> and when I go to
>
> http://localhost:10401/tpp/cgi-bin/tpp_gui.pl
>
> It says
> Not Found
> The requested URL /tpp/cgi-bin/tpp_gui.pl was not found on this server.
>
> The same thing happens for the file I created
> /local/tpp/cgi-bin/mytextfile.txt
>
> >which perl
> gives /usr/bin/perl
> and the first line of my /local/tpp/cgi-bin/*.pl files (check_env.pl,
> tpp_gui.pl, ...) has #!/usr/bin/perl
>
> My /etc/apache2/apache2.conf
> has the line
> IncludeOptional /etc/apache2/conf-enabled/*.conf
> and I know that /etc/apache2/conf-enabled/httpd-tpp.conf is being read in
> because when I changed in it 'Listen 10401' to 'Listen 80' and back it
> switched to that one and back
>
> Both my /etc/apache2/apache2.conf and
> /etc/apache2/conf-enabled/httpd-tpp.conf have
>
> SetEnv WEBSERVER_TMP /tmp
> SetEnv WEBSERVER_ROOT /local/tpp
>
> Is this right?
>
> Not really sure what else to try to hopefully make it work. Could you
> please help?
>
> Thanks greatly,
> s luban
>
--
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 https://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/d/optout.