Cross compiling for armle autoconf error

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
jackbanion
Posts: 3
Joined: 2014-02-17T09:49:50-07:00
Authentication code: 6789

Cross compiling for armle autoconf error

Post by jackbanion »

I'm attempting to cross compile for armle from an Ubuntu host (12.04.4 LTS). The './configure' command completes and prints out my configuration, but when I try the 'make' command, I get the following output:

Code: Select all

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/jb/ImageMagick-6.8.8-7/config/missing autoconf
/home/jb/ImageMagick-6.8.8-7/config/missing: line 81: autoconf: command not found
WARNING: 'autoconf' is missing on your system.
         You should only need it if you modified 'configure.ac',
         or m4 files included by it.
         The 'autoconf' program is part of the GNU Autoconf package:
         <http://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [configure] Error 127

I'm not sure why I'm getting this error, as I haven't modified the 'configure.ac' file (and the last modified timestamp reflects this).


My full './configure' command is this:

Code: Select all

./configure --host=armle CC=qcc CXX=QCC CFLAGS='-D__QNX__ -D__QNXNTO__ -D__ARM__ -D__arm__ -D__ARM_ARCH_3__ -D__APCS_32__ -D__LITTLEENDIAN__ -D__ARMEL__ -g -O0 -D__GNUC__=4 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=2 -D__NO_INLINE__ -D__DEPRECATED -D__unix__ -D__unix -D__ELF__ -D_MUDFLAPTH -V4.4.2,gcc_ntoarmle -D__EXCEPTIONS -Y_cpp' CXXFLAGS='-D__QNX__ -D__QNXNTO__ -D__ARM__ -D__arm__ -D__ARM_ARCH_3__ -D__APCS_32__ -D__LITTLEENDIAN__ -D__ARMEL__ -g -O0 -D__GNUC__=4 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=2 -D__NO_INLINE__ -D__DEPRECATED -D__unix__ -D__unix -D__ELF__ -D_MUDFLAPTH -V4.4.2,gcc_ntoarmle -D__EXCEPTIONS -Y_cpp -D__cplusplus'

I don't see anywhere to attach a text file, so I'm just going to put the output from './configure' here (just the final configuration output):

Code: Select all

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: armle-unknown-none
Build system type: i686-pc-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=no            no
Static libraries  --enable-static=yes           yes
Module support    --with-modules=no             no
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=no              no

Delegate Configuration:
BZLIB             --with-bzlib=yes              yes
Autotrace         --with-autotrace=no           no
Dejavu fonts      --with-dejavu-font-dir=default        none
DJVU              --with-djvu=yes               no
DPS               --with-dps=yes                no
FFTW              --with-fftw=yes               no
FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=yes         no
FreeType          --with-freetype=yes           no
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (9.05)
Ghostscript fonts --with-gs-font-dir=default    /usr/share/fonts/type1/gsfonts/
Ghostscript lib   --with-gslib=no               no
Graphviz          --with-gvc=no
JBIG              --with-jbig=yes               no
JPEG v1           --with-jpeg=yes               no
JPEG-2000         --with-jp2=
LCMS v1           --with-lcms=yes               no
LCMS v2           --with-lcms2=yes              no
LQR               --with-lqr=yes                no
LTDL              --with-ltdl=yes               no
LZMA              --with-lzma=yes               no
Magick++          --with-magick-plus-plus=yes   yes
MUPDF             --with-mupdf=no               no
OpenEXR           --with-openexr=yes            no
OpenJP2           --with-openjp2=yes            no
PANGO             --with-pango=yes              no
PERL              --with-perl=no                no
PNG               --with-png=yes                no
RSVG              --with-rsvg=no                no
TIFF              --with-tiff=yes               no
WEBP              --with-webp=yes               no
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=no         no
X11               --with-x=                     no
XML               --with-xml=yes                yes
ZLIB              --with-zlib=yes               yes

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      =
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.8.8
  CC              = qcc
  CFLAGS          = -D__QNX__ -D__QNXNTO__ -D__ARM__ -D__arm__ -D__ARM_ARCH_3__ -D__APCS_32__ -D__LITTLEENDIAN__ -D__ARMEL__ -g -O0 -D__GNUC__=4 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=2 -D__NO_INLINE__ -D__DEPRECATED -D__unix__ -D__unix -D__ELF__ -D_MUDFLAPTH -V4.4.2,gcc_ntoarmle -D__EXCEPTIONS -Y_cpp -Wall -fexceptions -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  CPPFLAGS        = -I/usr/local/include/ImageMagick-6
  PCFLAGS         = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         =
  MAGICK_LDFLAGS  = -L/usr/local/lib
  LIBS            = -lbz2 -lxml2 -lz -lm
  CXX             = QCC
  CXXFLAGS        = -D__QNX__ -D__QNXNTO__ -D__ARM__ -D__arm__ -D__ARM_ARCH_3__ -D__APCS_32__ -D__LITTLEENDIAN__ -D__ARMEL__ -g -O0 -D__GNUC__=4 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=2 -D__NO_INLINE__ -D__DEPRECATED -D__unix__ -D__unix -D__ELF__ -D_MUDFLAPTH -V4.4.2,gcc_ntoarmle -D__EXCEPTIONS -Y_cpp -D__cplusplus
  FEATURES        = DPC
  DELEGATES       = bzlib mpeg ps xml zlib
jackbanion
Posts: 3
Joined: 2014-02-17T09:49:50-07:00
Authentication code: 6789

Re: Cross compiling for armle autoconf error

Post by jackbanion »

After installing the correct version of autoconf, I was able to get the make to complete
Post Reply