Opened 11 years ago

Closed 11 years ago

#4542 closed Bug (fixed)

C++ availability is not checked by configure. If it missing, libutp build fails.

Reported by: pathetic_loser Owned by: jordan
Priority: Low Milestone: 2.50
Component: Transmission Version: 2.40
Severity: Minor Keywords: backport-2.4x


Initial configuration:

You should have system where C compiler and all req'd libs/headers are installed except C++ compiler (like g++). For example, this is easy to achieve on any Ubuntu as long as you install everything but C++ compiler itself. Tested with latest SVN revision.

To reproduce:

Run configure and make as usually.
Configure will complete without errors and it will enable libutp as well.
However it will not check if C++ compiler available before enabling uTP support.


Compile fails when trying to build libutp which is quite predictable:

  CXX    utp.o
  CXX    utp_utils.o
../../depcomp: line 611: exec: g++: not found
make[2]: *** [utp_utils.o] Error 127
make[2]: *** Waiting for unfinished jobs....
../../depcomp: line 611: exec: g++: not found
make[2]: *** [utp.o] Error 127


configure should check if C++ compiler is present before enabling uTP support.

Change History (3)

comment:1 Changed 11 years ago by livings124

  • Version changed from 2.40+ to 2.40

comment:2 Changed 11 years ago by jordan

  • Keywords backport-2.4x added
  • Milestone changed from None Set to 2.50
  • Owner set to jordan
  • Status changed from new to assigned

fixed in r12954.

Unfortunately, 2.40 is already out. I've committed this to trunk, and will backport to the 2.4x branch if/when the dev team decides to make another 2.4x release.

comment:3 Changed 11 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.