TPP 4.4.1 compile error on linux

30 views
Skip to first unread message

GATTACA

unread,
Mar 17, 2011, 10:35:36 AM3/17/11
to spctools-discuss
Hello.

I'm trying to compile TPP (v 4.4.1) on a fresh install of Fedora 14
(64-bit).
I'm getting a compile error and don't know if it's a bug or a missing
library on Fedora. Can anyone take a look and help me out?

Thanks in advance for any and all help.

Here is the error:

g -Wno-deprecated -Wno-char-subscripts -c -O2 -o /home/apps/tpp/
src/trans_proteomic_pipeline.v441/src/../build/linux/
CometDiscrimValMixtureDistr.o Validation/DiscriminateFunction/Comet/
CometDiscrimValMixtureDistr.cxx

Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx:
In constructor
‘CometDiscrimValMixtureDistr::CometDiscrimValMixtureDistr(int, const
char*, const char*, Boolean, Boolean)’:
Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx:
33:102: error: cannot call constructor
‘CometDiscrimValMixtureDistr::CometDiscrimValMixtureDistr’ directly
Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx:
33:102: error: for a function-style cast, remove the redundant
‘::CometDiscrimValMixtureDistr’
make: *** [/home/apps/tpp/src/trans_proteomic_pipeline.v441/src/../
build/linux/CometDiscrimValMixtureDistr.o] Error 1

GATTACA

unread,
Mar 17, 2011, 10:36:03 AM3/17/11
to spctools-discuss

Brian Pratt

unread,
Mar 17, 2011, 1:07:44 PM3/17/11
to spctools...@googlegroups.com
Looks like I dealt with that in trunk, back in December. The commit
message was "C++ standard (or at least, older, portable revs of the
standard) doesn't allow a ctor to call another variant of itself. But
we can use default parameter values instead to achieve the same
effect.".

> --
> You received this message because you are subscribed to the Google Groups "spctools-discuss" group.
> To post to this group, send email to spctools...@googlegroups.com.
> To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
>
>

GATTACA

unread,
Mar 18, 2011, 8:52:50 AM3/18/11
to spctools-discuss
So I should try to compile the SVN version?


On Mar 17, 1:07 pm, Brian Pratt <brian.pr...@insilicos.com> wrote:
> Looks like I dealt with that in trunk, back in December.  The commit
> message was "C++ standard (or at least, older, portable revs of the
> standard) doesn't allow a ctor to call another variant of itself.  But
> we can use default parameter values instead to achieve the same
> effect.".
>

Brian Pratt

unread,
Mar 18, 2011, 10:55:24 AM3/18/11
to spctools...@googlegroups.com
That's the simplest way, yes. Although it may have some other pointy
edges on it.

GATTACA

unread,
Mar 18, 2011, 10:59:19 AM3/18/11
to spctools-discuss
Ah well, I'll take my chances. :)

Thanks

On Mar 18, 10:55 am, Brian Pratt <brian.pr...@insilicos.com> wrote:
> That's the simplest way, yes.  Although it may have some other pointy
> edges on it.
>

Joseph Slagel

unread,
May 13, 2013, 5:13:07 PM5/13/13
to spctools...@googlegroups.com, Damian
Damian,

Interesting find.  Apparently I fixed this on the 4.6.2 branch and it never made it into trunk. If you do an svn update you should get the change as I just merged it into the trunk and tested it out on Ubuntu 12.04.

-Joe



On Thu, May 9, 2013 at 8:59 PM, Jonathan Hilmer <jonatha...@gmail.com> wrote:
I believe I am seeing this same problem on an SVN checkout of trunk (4.6.2) with Ubuntu 12.04.2 LTS.

Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx: In constructor ‘CometDiscrimValMixtureDistr::CometDiscrimValMixtureDistr(int, const char*, const char*, Boolean, Boolean, Boolean, Boolean)’:
Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx:34:120: error: cannot call constructor ‘CometDiscrimValMixtureDistr::CometDiscrimValMixtureDistr’ directly [-fpermissive]
Validation/DiscriminateFunction/Comet/CometDiscrimValMixtureDistr.cxx:34:120: error:   for a function-style cast, remove the redundant ‘::CometDiscrimValMixtureDistr’ [-fpermissive]

I've been generally following this guide: http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.5.2:_Installing_on_Ubuntu_10.04.3.

Any suggestions?

--
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 spctools-discu...@googlegroups.com.

To post to this group, send email to spctools...@googlegroups.com.

Joseph Slagel

unread,
May 13, 2013, 5:14:31 PM5/13/13
to spctools...@googlegroups.com
s/Damian/Jonathan/
Reply all
Reply to author
Forward
0 new messages