I managed to successfully compile a working dgen for x86_64, with the
attached changes to configure.in to make it use -m32 when necessary.

Several other steps have to be done by hand for a sucessful compile (not
included in the patch to make it smaller and thus easier to review):

# Copy a recent enough version of config.guess and config.sub
cp -a /usr/share/misc/config.{guess,sub} .

# Regenerate the makefiles and configure script
# Calling aclocal causes problems for some reason (it pulls in something which 
AC_PREREQs a newer autoconf)
#aclocal-1.4
touch aclocal.m4
automake-1.4 --foreign --include-deps
autoconf2.13

# Create the missing .so symbolic links locally (these should be in ia32-libs 
instead)
ln -s /usr/lib32/libSDL-1.2.so.0.11.1 libSDL.so
ln -s /usr/lib32/libXt.so.6.0.0 libXt.so
ln -s /usr/lib32/libICE.so.6.3.0 libICE.so
ln -s /usr/lib32/libGL.so.1.2 libGL.so

# Use the symbolic links created above
export LDFLAGS=-L`pwd`

I have not tested generating an actual package, only building the
executable and running it.

** Attachment added: "Changes to configure.in for dgen to compile on x86_64"
   http://launchpadlibrarian.net/22990945/dgen-1.23-x86_64.patch

-- 
dgen crashed with SIGSEGV in __libc_start_main()
https://bugs.launchpad.net/bugs/131281
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to