-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile on Unbutu #235
Comments
I also run into this. Running |
I'm running:
And I get:
|
This worked:
Build is running now but with lots of failures for every platform. |
After running a build, it looks like everything but the xz stuff fails to build. State of the tree -L 2
cd x86_64-pc-linux-gnu-m64 && tree
Contents of config.log
Contents of configure-xdelta.stderr
Contents of configure-xdelta.stdout
|
Ah, looks like I'm not supposed to be running
|
It isn't entirely clear what to do after running Output of ./run_release.sh
Contents of build/x86_64-pc-linux-gnu-m64/usize64/xoff64
There is a Output of make
|
Okay, I can get |
Here is the command I used to build a single target on Trisquel Linux x64:
But now I'm not quite sure what to do with what comes out of the build: tree x86_64-pc-linux-gnu-m64/usize32/xoff32
I don't get any header files, and copying the top level
#include "xdelta3.h"
xd3_stream stream;
int main() {
} gcc index.c
|
Hmm, this seems to make some of the errors go away:
|
I'm having exactly the same problem (Ubuntu 16.04.3 LTS). Running I assume we're missing a tool or dependency somewhere, but I don't have the level of C/C++/tooling knowledge to figure out what... I've added an issue requesting some basic help: #237 |
I got it to work partially: fresh MSys64 installation from here: https://www.msys2.org/ (the x86_64) commands in msys shell: git clone --recursive https://github.com/jmacd/xdelta.git some errors are fixed but for some reason it fails at build-lzma, (stderr says there are errors in the xz dependency ?) |
Download the source from the ubuntu package and compile that instead... (Hey it works...) Do the following: wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/xdelta3/3.0.11-dfsg-1ubuntu1/xdelta3_3.0.11-dfsg.orig.tar.xz Now use or move the xdelta3 file |
Hi, mm, the idea is can compile the last version, 3.1, 3.0.11 still works, seems the problem (as someone say above), is missed the HAVE_CONFIG_H in gcc, is defined but for some reasson not passed... |
The problem is the release3_1 branch is not frozen at the state of the actual release. It seems there is live development going on there and it's state is not really stable. Instead of cloning that one should be downloading the tagged release snapshot of the source. In there there is no generate_build_files.sh. Apparently that came as part of new work after the actual release that is still unfinished. Looks like it needs #241 to compile but it is unknown whether that way of fixing it was the original authors intention. So anyways, one has to get the zip with the source from the link above and then building is really simple. One just has to do:
in the folder where the source resides. Also there is |
I assume I need to run the run_release.sh scrip to compile from sources. When I do that ...
libtoolize: putting auxiliary files in
.'. libtoolize: linking file
./ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIR,
m4'. libtoolize: linking file
m4/libtool.m4'libtoolize: linking file
m4/ltoptions.m4' libtoolize: linking file
m4/ltsugar.m4'libtoolize: linking file
m4/ltversion.m4' libtoolize: linking file
m4/lt~obsolete.m4'configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
Makefile.am:85: error: DEBUG_SYMBOLS does not appear in AM_CONDITIONAL
Makefile.am: installing './INSTALL'
Makefile.am: error: required file './NEWS' not found
Makefile.am: error: required file './README' not found
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './ChangeLog' not found
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am: Consider adding the COPYING file to the version control system
Makefile.am: for your code, to avoid questions about which license your project uses
configure.ac:49: error: required file 'config.h.in' not found
Makefile.am: installing './depcomp'
/usr/local/share/automake-1.15/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.15/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/local/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/local/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.15/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/local/share/automake-1.15/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/local/share/automake-1.15/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/local/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/local/share/automake-1.15/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.15/am/depend2.am: The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
/usr/local/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
configure.ac:5: error: required file './compile' not found
configure.ac:5: 'automake --add-missing' can install 'compile'
configure.ac:5: error: required file './config.guess' not found
configure.ac:5: 'automake --add-missing' can install 'config.guess'
configure.ac:5: error: required file './config.sub' not found
configure.ac:5: 'automake --add-missing' can install 'config.sub'
configure.ac:6: error: required file './install-sh' not found
configure.ac:6: 'automake --add-missing' can install 'install-sh'
configure.ac:6: error: required file './missing' not found
configure.ac:6: 'automake --add-missing' can install 'missing'
untar-lzma ... failed!
Error tar in /home/andy/Windspring/xdelta/xdelta3/build
The text was updated successfully, but these errors were encountered: