can I get a script that do ./configure ?

Asked by ihitmani on 2016-06-15

I want to make .deb with actual version, where I can get script that do configure proftpd?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu proftpd-dfsg Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2016-06-15
Last query:
2016-06-15
Last reply:
2016-06-15

Use checkinstall to build a deb of compiled source

ihitmani (vitalyatokov2) said : #2

I do not have compiled, I need to do ./configure first before compile....

Best Manfred Hampl (m-hampl) said : #4

You might try the following:

Use "apt-get source proftpd-dfsg" to download the source that is the newest one in Ubuntu together with the Ubuntu addons, Then replace the source in your build directory with the current version and build a new package with debuild command.

ihitmani (vitalyatokov2) said : #5

yes it would be great to do that so easy, but it does not work that way, debuild says :

many similar warnings:
...
dpkg-source: warning: executable mode 0775 of 'lib/libltdl/config.sub' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'lib/libltdl/install-sh' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'lib/libltdl/missing' will not be represented in diff
...

errors:
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_geoip/GeoIP.dat: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_geoip/GeoIP.dat in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_geoip/GeoIPASNum.dat: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_geoip/GeoIPASNum.dat in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_geoip/GeoIPv6.dat: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_geoip/GeoIPv6.dat in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_geoip/GeoLiteCity.dat: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_geoip/GeoLiteCity.dat in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_quotatab_file/ftpquota.limittab: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_quotatab_file/ftpquota.limittab in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to tests/t/etc/modules/mod_quotatab_file/ftpquota.tallytab: binary file contents changed
dpkg-source: error: add tests/t/etc/modules/mod_quotatab_file/ftpquota.tallytab in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: file proftpd-dfsg-1.3.5~rc3/tests/t/etc/modules/mod_sftp/authorized_rsa_keys_no_nl has no final newline (either original or modified version)
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b proftpd-dfsg-1.3.5~rc3 gave error exit status 2

are there a way to ignore tests?

ihitmani (vitalyatokov2) said : #6

Thanks Manfred Hampl, that solved my question.

ihitmani (vitalyatokov2) said : #7

I did remove tests dir :) after changed the format in debian/source/format from 3.0 (quilt) to 3.0 (native). http://askubuntu.com/questions/226495/how-to-solve-dpkg-source-source-problem-when-building-a-package it solved mentioned errors.

Why compile any way (not like its bad, it's good that people want to compile) but are you trying to get a newer version, or is this for fun?