Hmm, good thinking with the un-enclosed CFLAGS options. I tried to enclose them in the debian/rules file but they wouldn't get passed on. I'm not sure that is the error though for sure because I thought I've seen them un-enclosed before. Am I wrong? How should they look in the debian/rules file. Here's the relevant part of the compiling options file (debian/rules). I highlighted the CFLAGS options:
Code:
#!/usr/bin/make -f
SHELL := sh -e
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
upstream:
lynx -dump http://b.andre.pagesperso-orange.fr/changelog.html > debian/local/changelog
%:
dh ${@} --with autotools_dev
override_dh_auto_configure:
dh_auto_configure -- --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--exec-prefix=/ \
--mandir=\$${prefix}/share/man \
--enable-crypto \
--enable-extras \
--enable-posix-acls \
--enable-xattr-mappings \
--disable-ldconfig \
--with-fuse=external \
CFLAGS="$(CFLAGS)" \
LDFLAGS="-Wl,-z,defs"
...
I changed:
Code:
CFLAGS = -Wall -g # to
CFLAGS="-Wall -g"
but they were Not enclosed when I tried to compile.
Possibly a second problem??:
I looked some more at the config.log and also discovered this:
Code:
configure:3700: error: in `/home/$USER/Downloads/build/ntfs-3g_2011.4.12AR.4/ntfs-3g-2011.4.12AR.4':
configure:3702: error: C compiler cannot create executables
See `config.log' for more details
Not sure what to make of this though, I got the development tools I think:
Code:
libc-bin_2.13-20ubuntu5
libc-dev-bin_2.13-20ubuntu5
libc6_2.13-20ubuntu5
libc6-dev_2.13-20ubuntu5
...
g++_4:4.6.1-2ubuntu5
g++-4.6_4.6.1-9ubuntu3
...
build-essential_11.5ubuntu1 # this this is a meta package
Hmmm, any thoughts anyone?
Bookmarks