i'm making a new instalation of ImageMagick in a RedHat 4.5 but i have to install from source because the system is working with other product and we can use up2date thanks to that.
i'm trying to install ImageMagick 6.3.6 and it "works" it make everything that i want him to make except create a pdf with multiple page and i REALLY need that.
the problem is that when i make
Code: Select all
convert *.jpg out.pdf
I have check what type of image he can use with identify -list format | grep PDF and it show me this:
Code: Select all
identify -list format | grep PDF
AI PDF rw- Adobe Illustrator CS2
EPDF PDF rw- Encapsulated Portable Document Format
PDF PDF rw+ Portable Document Format
Code: Select all
$ gs -version
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
Code: Select all
./configure --bindir=/usr/eBDAS/system-1.1/bin --libdir=/usr/eBDAS/system-1.1/lib --includedir=/usr/eBDAS/system-1.1/include --with-perl --with-gslib=no
Code: Select all
configuring ImageMagick 6.3.6
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking maximum warning verbosity option... -Wall -W for C++ -Wall -W for C
checking whether ln -s works... yes
checking if malloc debugging is wanted... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /usr/lib /lib
checking for objdir... .libs
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output from object... ok
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gcc needs -traditional... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for errno.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking for mach-o/dyld.h... (cached) no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... (cached) yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking for mode_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for long double with more range or precision than double... yes
checking whether char is unsigned... no
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for off_t... (cached) yes
checking size of off_t... 8
checking for size_t... (cached) yes
checking size of size_t... 4
checking for ssize_t... yes
checking size of ssize_t... 4
checking for double... yes
checking size of double... 8
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for long double... yes
checking size of long double... 12
checking for void *... yes
checking size of void *... 4
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking whether our compiler supports __func__... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap file i/o... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for _exit... yes
checking for atexit... yes
checking for clock_gettime... no
checking for execvp... yes
checking for floor... no
checking for fork... yes
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for getexecname... no
checking for getdtablesize... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for lstat... yes
checking for memset... yes
checking for mkstemp... yes
checking for munmap... yes
checking for _NSGetExecutablePath... no
checking for pclose... yes
checking for _pclose... no
checking for poll... yes
checking for popen... yes
checking for _popen... no
checking for pow... no
checking for pread... yes
checking for pwrite... yes
checking for raise... yes
checking for rand_r... yes
checking for select... yes
checking for seekdir... yes
checking for setlocale... yes
checking for sqrt... no
checking for setvbuf... yes
checking for stat... yes
checking for strcspn... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for symlink... yes
checking for sysconf... yes
checking for sigemptyset... yes
checking for sigaction... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for telldir... yes
checking for tempnam... yes
checking for times... yes
checking for usleep... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking whether pread is declared... yes
checking whether pwrite is declared... yes
checking whether strlcpy is declared... no
checking whether vsnprintf is declared... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking whether the compiler recognizes bool as a built-in type... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports the std namespace... yes
checking whether the compiler supports ISO C++ standard library... yes
checking whether the compiler implements L"widestring"... yes
checking whether C++ compiler is sufficient for Magick++... yes
checking for X11 configure files...
checking for the pthreads library -lpthread... yes
checking for sqrt in -lm... yes
-------------------------------------------------------------
Checking for ZLIB support
-------------------------------------------------------------
checking zconf.h usability... yes
checking zconf.h presence... yes
checking for zconf.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking for uncompress in -lz... yes
checking for deflate in -lz... yes
checking for inflate in -lz... yes
checking for gzseek in -lz... yes
checking for gztell in -lz... yes
checking if ZLIB package is complete... yes
-------------------------------------------------------------
Checking for BZLIB support
-------------------------------------------------------------
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzCompress in -lbz2... no
checking for BZ2_bzDecompress in -lbz2... no
checking if BZLIB package is complete... no
checking for X... no
-------------------------------------------------------------
Checking for Display Postscript support
-------------------------------------------------------------
checking DPS/dpsXclient.h usability... no
checking DPS/dpsXclient.h presence... no
checking for DPS/dpsXclient.h... no
checking for DPSInitialize in -ldps... no
checking for DPSInitialize in -ldps... no
checking for XDPSPixelsPerPoint in -ldpstk... no
checking if DPS package is complete... no
-------------------------------------------------------------
Checking for DJVU support
-------------------------------------------------------------
checking libdjvu/ddjvuapi.h usability... no
checking libdjvu/ddjvuapi.h presence... no
checking for libdjvu/ddjvuapi.h... no
checking for ddjvu_context_create in -ldjvulibre... no
checking if DJVU package is complete... no
-------------------------------------------------------------
Checking for FreeType 2.0 support
-------------------------------------------------------------
checking for freetype-config... freetype-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for freetype/freetype.h... yes
checking if FreeType package is complete... yes
-------------------------------------------------------------
Checking for PNG support
-------------------------------------------------------------
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking if PNG package is complete... yes
-------------------------------------------------------------
Checking for JPEG support
-------------------------------------------------------------
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking jmorecfg.h usability... yes
checking jmorecfg.h presence... yes
checking for jmorecfg.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for JPEG library is version 6b or later... yes
checking if JPEG package is complete... yes
-------------------------------------------------------------
Checking for JPEG Version 2 support
-------------------------------------------------------------
checking jasper/jasper.h usability... no
checking jasper/jasper.h presence... no
checking for jasper/jasper.h... no
checking for jas_stream_fopen in -ljasper... no
checking if JPEG version 2 support package is complete... no
checking for GVC... -------------------------------------------------------------
Checking for LCMS support
-------------------------------------------------------------
checking lcms.h usability... no
checking lcms.h presence... no
checking for lcms.h... no
checking lcms/lcms.h usability... no
checking lcms/lcms.h presence... no
checking for lcms/lcms.h... no
checking for cmsOpenProfileFromMem in -llcms... no
checking if LCMS package is complete... no
checking for OPENEXR... -------------------------------------------------------------
Checking for TIFF support
-------------------------------------------------------------
checking tiff.h usability... no
checking tiff.h presence... no
checking for tiff.h... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for TIFFOpen in -ltiff... no
checking for TIFFClientOpen in -ltiff... no
checking for TIFFIsByteSwapped in -ltiff... no
checking for TIFFReadRGBATile in -ltiff... no
checking for TIFFReadRGBAStrip in -ltiff... no
checking if TIFF package is complete... no
-------------------------------------------------------------
Checking for JBIG support
-------------------------------------------------------------
checking jbig.h usability... no
checking jbig.h presence... no
checking for jbig.h... no
checking for jbg_dec_init in -ljbig... no
checking if JBIG package is complete... no
-------------------------------------------------------------
Checking for WMF support
-------------------------------------------------------------
checking for libwmf/ipa.h... no
checking if WMF package is complete... no
-------------------------------------------------------------
Checking for ImageMagick delegate programs
-------------------------------------------------------------
checking for autotrace... autotrace
checking for bzip2... /usr/bin/bzip2
checking for htmlview... /usr/bin/htmlview
checking for ralcgm... ralcgm
checking for cat... /bin/cat
checking for ufraw-batch... ufraw-batch
checking for dot... dot
checking for dvips... dvips
checking for echo... /bin/echo
checking for xterm... xterm
checking for fig2dev... fig2dev
checking for convert... /usr/eBDAS//system-1.1/bin/convert
checking for display... /usr/eBDAS//system-1.1/bin/display
checking for mogrify... /usr/eBDAS//system-1.1/bin/mogrify
checking for gnuplot... gnuplot
checking for ra_pfm... ra_pfm
checking for hp2xx... hp2xx
checking for html2ps... html2ps
checking for ilbmtoppm... ilbmtoppm
checking for ppmtoilbm... ppmtoilbm
checking for lp... no
checking for lpr... lpr
checking for uncompress... uncompress
checking for compress... compress
checking for gimp... gimp
checking for groff... /usr/bin/groff
checking for mpeg2decode... mpeg2decode
checking for mpeg2encode... mpeg2encode
checking for mv... /bin/mv
checking for pcl6... pcl6
checking for pgpv... pgpv
checking for povray... povray
checking for gsx... no
checking for gsc... no
checking for gs... /usr/eBDAS//system-1.1/bin/gs
checking for rawtorle... rawtorle
checking for rm... /bin/rm
checking for scanimage... scanimage
checking for enscript... enscript
checking for wmf2svg... wmf2svg
checking for wget... /usr/bin/wget
checking for gzip... /bin/gzip
checking for txt2html... txt2html
checking for Ghostscript fonts directory... /usr/eBDAS//system-1.1/share/ghostscript/fonts/
checking for gnutar... no
checking for gtar... gtar
checking for perl... perl
checking for rpmbuild... no
checking for rpm... rpm
-------------------------------------------------------------
Checking for Ghostscript support
-------------------------------------------------------------
checking for Ghostscript version... 8.62
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... pam
checking for gs mono device... pnmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
-------------------------------------------------------------
Checking for Perl support
-------------------------------------------------------------
checking for perl... /usr/eBDAS//system-1.1/bin/perl
checking for perl version greater than or equal to 5.8.1... ok
-------------------------------------------------------------
Update ImageMagick configuration
-------------------------------------------------------------
configure: creating ./config.status
config.status: creating config/delegates.xml
config.status: creating config/configure.xml
config.status: creating config/ImageMagick.rdf
config.status: creating config/type-ghostscript.xml
config.status: creating config/type.xml
config.status: creating config/type-solaris.xml
config.status: creating config/type-windows.xml
config.status: creating ImageMagick.spec
config.status: creating magick/ImageMagick.pc
config.status: creating magick/Magick-config
config.status: creating magick/version.h
config.status: creating magick.sh
config.status: creating Magick++/bin/Magick++-config
config.status: creating Magick++/lib/ImageMagick++.pc
config.status: creating Makefile
config.status: creating PerlMagick/Magick.pm
config.status: creating PerlMagick/Makefile.PL
config.status: creating utilities/animate.1
config.status: creating utilities/compare.1
config.status: creating utilities/composite.1
config.status: creating utilities/conjure.1
config.status: creating utilities/convert.1
config.status: creating utilities/display.1
config.status: creating utilities/identify.1
config.status: creating utilities/ImageMagick.1
config.status: creating utilities/import.1
config.status: creating utilities/mogrify.1
config.status: creating utilities/montage.1
config.status: creating utilities/stream.1
config.status: creating wand/Wand-config
config.status: creating wand/Wand.pc
config.status: creating magick/magick-config.h
config.status: magick/magick-config.h is unchanged
config.status: creating wand/wand-config.h
config.status: wand/wand-config.h is unchanged
config.status: executing depfiles commands
config.status: executing Magick++-config.in commands
config.status: executing Magick-config.in commands
config.status: executing Wand-config.in commands
config.status: executing magick.sh.in commands
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
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 no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.62)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/eBDAS//system-1.1/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
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.3.6
CC = gcc
CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/eBDAS/system-1.1/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype
MAGICK_LDFLAGS = -L/usr/eBDAS/system-1.1/lib -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype
LIBS = -lMagick -lfreetype -ljpeg -lz -lm -lpthread
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -pthread