Opened 12 years ago

Closed 12 years ago

#2941 closed Bug (fixed)

Compile error when libintl is not present

Reported by: KyleK Owned by: KyleK
Priority: Normal Milestone: 1.92
Component: Transmission Version: 1.90
Severity: Normal Keywords:
Cc:

Description

If you don't have libintl installed on a system, and then attempt to build, make will eventually fail with this message:

gcc: @INTLLIBS@: No such file or directory

This is because several Makefile.am file contain a reference to the variable @INTLLIBS@, which - if you don't have the lib - will be written to the Makefiles unchanged, and make can't make any sense of it.

This simple patch fixes the issue at least on my machines that don't have the intllibs installed. Someone with these libraries should test this though before it gets committed.

Attachments (1)

configure_intllib.patch (342 bytes) - added by KyleK 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by KyleK

comment:1 Changed 12 years ago by charles

Thanks for the patch! I'll give this a test after 1.91.

comment:2 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.92
  • Owner set to charles
  • Status changed from new to assigned

comment:3 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

Seems to work. The only change I made was moving the one-liner down below the intltool code, so that the value is set before it gets AC_SUBSTed.

Fixed in trunk for 1.92 by r10290

comment:4 Changed 12 years ago by charles

  • Resolution fixed deleted
  • Status changed from closed to reopened

reopened for attribution

comment:5 Changed 12 years ago by charles

  • Owner changed from charles to KyleK
  • Status changed from reopened to new

comment:6 Changed 12 years ago by charles

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