debian build: error: cannot find input file: `po/Makefile.i

Discussion of Transmission that doesn't fit in the other categories
Post Reply
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

debian build: error: cannot find input file: `po/Makefile.i

Post by Opperpanter »

Hello,

I am trying to build the trunk on debian squeeze.

I installed a couple of packages (curl, libevent, ...), but am getting an error I can't explain:

Code: Select all

...
config.status: creating gtk/icons/Makefile
config.status: creating web/Makefile
config.status: creating web/images/Makefile
config.status: creating web/style/Makefile
config.status: creating web/style/jqueryui/Makefile
config.status: creating web/style/jqueryui/images/Makefile
config.status: creating web/style/transmission/Makefile
config.status: creating web/style/transmission/images/Makefile
config.status: creating web/style/transmission/images/buttons/Makefile
config.status: creating web/javascript/Makefile
config.status: creating web/javascript/jquery/Makefile
config.status: error: cannot find input file: `po/Makefile.in.in'
I tried to search the forums, but couldn't find anything related.

What could be wrong?

Thanks,

Opper

EDIT: The above is when I trun ./autogen.sh (or ./configure)
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: debian build: error: cannot find input file: `po/Makefil

Post by gunzip »

yes i see the same issue when compiling the daemon in Debian squeeze, but it only occurs when using svn and ./autogen.sh . if i compile from the nightly tarballs and use ./configure the problem doesn't occur. anyway i found a workaround for svn :

touch po/Makefile.in.in
./autogen.sh
make
make install

instead of fatal error this gives me a warning, but it does allow me to proceed with the 'make'.
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

Thanks. When I do that I am still getting an error:

Code: Select all

config.status: error: po/Makefile.in.in was not created by intltoolize
I can try the source tarball, but I'd rather build from trunk. Makes updating much easier.
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

Result when building source tar ball (2.42):

Code: Select all

tr-utp.c:65: error: conflicting types for âUTP_Writeâ
../third-party/libutp/utp.h:114: note: previous declaration of âUTP_Writeâ was here
make[1]: *** [tr-utp.o] Error 1
make[1]: Leaving directory `/root/.transmission/transmission-2.42/libtransmission'
make: *** [all-recursive] Error 1
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: debian build: error: cannot find input file: `po/Makefil

Post by gunzip »

Opperpanter wrote:Thanks. When I do that I am still getting an error:

Code: Select all

config.status: error: po/Makefile.in.in was not created by intltoolize
I can try the source tarball, but I'd rather build from trunk. Makes updating much easier.
yes i see the same config error, but in my case it is not fatal and i'm able to compile. so what happens if you run 'make' at this point?
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

gunzip wrote:
Opperpanter wrote:Thanks. When I do that I am still getting an error:

Code: Select all

config.status: error: po/Makefile.in.in was not created by intltoolize
I can try the source tarball, but I'd rather build from trunk. Makes updating much easier.
yes i see the same config error, but in my case it is not fatal and i'm able to compile. so what happens if you run 'make' at this point?
Hmmm. because of the error I didn't try :oops:
Seems to compile. Now I have to install it, but I am first looking at what to do with the existing installation.
Will it get overwritten? I now have the official debian package (from testing).
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

backed up some files and went for make install.
Looks to be working! transmission-daemon -V reports 2.42+
Thanks!
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

Hmmm trackers still report me as 2.33, so somehow the 2.42+ is not running.
Maybe the service transmission-daemon is a different executable from the one I built and installed with make.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: debian build: error: cannot find input file: `po/Makefil

Post by gunzip »

Opperpanter wrote:Hmmm trackers still report me as 2.33, so somehow the 2.42+ is not running.
Maybe the service transmission-daemon is a different executable from the one I built and installed with make.
yes that is what is happening. Debian package installs the transmission-daemon executable under /usr/bin/, while 'make install' by default puts the transmission-daemon under /usr/local/bin . both are in your PATH so it's easy to get confused. you could try this:

Code: Select all

/etc/init.d/transmission-daemon stop

edit "/etc/init.d/transmission-daemon" and change line to

DAEMON=/usr/local/bin/transmission-daemon

/etc/init.d/transmission-daemon start
with any luck, ver. 2.42 should be running.
Opperpanter
Posts: 18
Joined: Sun Jul 03, 2011 6:30 pm

Re: debian build: error: cannot find input file: `po/Makefil

Post by Opperpanter »

Thanks, I found the other location indeed.

I also downloaded the 2.42 package from experimental and was browsing through to see whether I could construct a 2.42 that can be installed on squeeze without updating 73 other packages to versions possibly not from squeeze.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: debian build: error: cannot find input file: `po/Makefil

Post by gunzip »

Code: Select all

config.status: error: cannot find input file: `po/Makefile.in.in'
@Opperpanter - just for the record, think i finally found source of config error: autogen.sh needs 'glib-gettextize' which in Debian is not in gettext, but in libglib2.0. so solution is..

apt-get install libglib2.0-dev

then everything compiles OK.
Post Reply