Hi,
trying ./configure --without-zlib
output is:
        checking for g++... g++
        checking whether the C++ compiler works... yes
        checking for C++ compiler default output file name... a.out
        checking for suffix of executables... 
        checking whether we are cross compiling... no
        checking for suffix of object files... o
        checking whether we are using the GNU C++ compiler... yes
        checking whether g++ accepts -g... yes
        checking for gcc... gcc
        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 whether make sets $(MAKE)... yes
        checking for ranlib... ranlib
        checking whether ln -s works... yes
        checking how to run the C++ preprocessor... g++ -E
        checking for grep that handles long lines and -e... /usr/bin/grep
        checking for egrep... /usr/bin/grep -E
        checking for ANSI C header files... yes
        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 limits.h usability... yes
        checking limits.h presence... yes
        checking for limits.h... yes
        checking for stdlib.h... (cached) yes
        checking for string.h... (cached) yes
        checking for unistd.h... (cached) yes
        checking for stdbool.h that conforms to C99... yes
        checking for _Bool... no
        checking for an ANSI C-conforming const... yes
        checking for inline... inline
        checking for size_t... yes
        checking whether struct tm is in sys/time.h or time.h... time.h
        checking how to run the C preprocessor... gcc -E
        checking if zlib is wanted... no
        checking for inflateEnd in -lz... yes
        checking zlib.h usability... yes
        checking zlib.h presence... yes
        checking for zlib.h... yes
        checking for inflateEnd in -lz... (cached) yes
        checking zlib in /usr... ok
        checking for boostlib >= 1.20.0... yes
        configure: Using default COPY="cp -f"
        configure: Using default DEL_FILE="rm -f"
        configure: Using default DEL_DIR="sh $(ROOT)/tools/rmdir.sh"
        configure: Using default DEL_FORCE_DIR="rm -rf"
        configure: Using default SYMLINK="ln -s"
        configure: Using default MOVE="mv -f"
        configure: Using default CHK_DIR_EXISTS="test -d"
        configure: Using default MKDIR="mkdir -p"
        configure: Using default ARCH=""
        configure: Using default C_EXTRA="-fmessage-length=0 
-D_FORTIFY_SOURCE=2        
-fno-strict-aliasing"
        configure: Using default EXTRA_UTILS_CFLAGS=""
        configure: Using default EXTRA_KERNEL_CFLAGS=""
        configure: Using default EXTRA_TESTS_CFLAGS=""
        configure: Using default EXTRA_XPDF_CFLAGS=""
        configure: Using default CXX_EXTRA="-fmessage-length=0 -
D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions"
        configure: Using default EXTRA_UTILS_CXXFLAGS=""
        configure: Using default EXTRA_KERNEL_CXXFLAGS=""
        configure: Using default EXTRA_TESTS_CXXFLAGS=""
        configure: Using default EXTRA_GUI_CXXFLAGS=""
        configure: Using default EXTRA_XPDF_CXXFLAGS=""
        configure: Using default AR="ar cqs"
        configure: Using default LIBPREFIX="lib"
        checking whether we use stack protector... no
        checking whether we are releasing... true
        checking whether debug info is included... no
        checking whether to enable observer debugging... no
        checking for error_at_line... yes
        checking for stdlib.h... (cached) yes
        checking for GNU libc compatible malloc... yes
        checking whether lstat correctly handles trailing slash... yes
        checking whether stat accepts an empty string... no
        checking for strftime... yes
        checking for atexit... yes
        checking for floor... yes
        checking for ftruncate... yes
        checking for localtime_r... yes
        checking for memset... yes
        checking for mkdir... yes
        checking for strdup... yes
        checking for strerror... yes
        checking for strpbrk... yes
        checking for strstr... yes
        checking for freetype-config... /usr/bin/freetype-config
        checking for FreeType -- version >= 7.0.1... yes
        checking whether to use t1 library... maybe
        checking where to find the t1 header files... 
        checking t1lib.h usability... no
        checking t1lib.h presence... no
        checking for t1lib.h... no
        not using t1 library
        checking whether we want to prepare pdfedit-core-dev package... no
        checking whether we want to build PDFedit gui... yes
        configure: error: QTDIR environment variable must be set

The env command gives:

        LESSKEY=/etc/lesskey.bin
        MANPATH=/usr/local/man:/usr/share/man
        NNTPSERVER=news
        SSH_AGENT_PID=9697
        KDE_MULTIHEAD=false
        DM_CONTROL=/var/run/xdmctl
        HOSTNAME=pc2
        XKEYSYMDB=/usr/share/X11/XKeysymDB
        GPG_AGENT_INFO=/tmp/gpg-RtiCfx/S.gpg-agent:9696:1
        TERM=xterm
        SHELL=/bin/bash
        HOST=pc2
        HISTSIZE=1000
        
XDG_SESSION_COOKIE=bce8d279423663d4735b9a3c000003e1-1294419024.834153-2040741160
        XDM_MANAGED=method=classic
        PROFILEREAD=true
        GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/username/.gtkrc-2.0-     
kde4:/home/username/.gtkrc-2.0- 
qtengine:/home/username/.gtkrc-2.0:/home/username/.kde4/share/config/gtkrc-2.0
        KONSOLE_DBUS_SERVICE=:1.782
        TMPDIR=/tmp
        
GTK_RC_FILES=/etc/gtk/gtkrc:/home/username/.gtkrc::/home/username/.kde4/share/config/gtkrc
        GS_LIB=/home/username/.fonts
        WINDOWID=153092124
        MORE=-sl
        XSESSION_IS_UP=yes
        KDE_FULL_SESSION=true
        USER=username
        JRE_HOME=/usr/lib64/jvm/jre
        
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
        PILOTPORT=usb:
        XNLSPATH=/usr/share/X11/nls
        ENV=/etc/bash.bashrc
        HOSTTYPE=x86_64
        SSH_AUTH_SOCK=/tmp/ssh-RTjoo9365/agent.9365
        FROM_HEADER=
        SESSION_MANAGER=local/pc2:@/tmp/.ICE-unix/10159,unix/pc2:/tmp/.ICE-     
unix/10159
        PAGER=less
        CSHEDIT=emacs
        XDG_CONFIG_DIRS=/etc/xdg
        MINICOM=-c on
        DESKTOP_SESSION=default
        
PATH=/home/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/opt/real/RealPlayer
        MAIL=/var/spool/mail/username
        CPU=x86_64
        QT_IM_MODULE=xim
        JAVA_BINDIR=/usr/lib64/jvm/jre/bin
        PWD=/home/GemeinsameDateien/install/pdfedit/pdfedit-0.4.5
        INPUTRC=/home/username/.inputrc
        xmodifie...@im=local
        JAVA_HOME=/usr/lib64/jvm/jre
        LANG=de_DE.UTF-8
        KDE_SESSION_UID=1000
        PYTHONSTARTUP=/etc/pythonstart
        KONSOLE_DBUS_SESSION=/Sessions/1
        SSH_ASKPASS=/usr/lib64/ssh/x11-ssh-askpass
        QT_SYSTEM_DIR=/usr/share/desktop-data
        COLORFGBG=0;15
        SHLVL=2
        HOME=/home/username
        OSTYPE=linux
        KDE_SESSION_VERSION=4
        LANGUAGE=
        LESS_ADVANCED_PREPROCESSOR=no
        LS_OPTIONS=-N --color=tty -T 0
        XCURSOR_THEME=crystalgreen
        WINDOWMANAGER=/usr/bin/startkde
        LESS=-M -I -R
        g_filename_encodi...@locale,UTF-8,ISO-8859-15,CP1252
        LOGNAME=username
        MACHTYPE=x86_64-suse-linux
        DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-       
JuJQLGJEIf,guid=c20eb7afaa762c82312dcb4f00000536
        XDG_DATA_DIRS=/usr/share:/etc/opt/kde3/share:/opt/kde3/share
        LESSOPEN=lessopen.sh %s
        USE_FAM=
        WINDOWPATH=7
        PROFILEHOME=
        DISPLAY=:0.0
        
QT_PLUGIN_PATH=/home/username/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
        GTK_IM_MODULE=cedilla
        XAUTHLOCALHOSTNAME=pc2
        LES     SCLOSE=lessclose.sh %s %s
        QT_IM_SWITCHER=imsw-multi
        G_BROKEN_FILENAMES=1
        COLORTERM=1
        JAVA_ROOT=/usr/lib64/jvm/jre
        OLDPWD=/home//install/pdfedit
        _=/usr/bin/env
        
What is wrong or missing?

> > Hi,
> > 
> >> i can't  configgure the Programm. The /.configure command brings en
> > 
> >> errormessage. The output is:
> > [...]
> > 
> >> checking if zlib is wanted... configure: error: libz not found
> >> 
> >> The system ist OpenSuse 11.3 64 bit. The libraries are installed shuld
> >> be at /lib64/libz.so.1 and /lib64/libz.so.1.2.3. What can i do?
> > 
> > It looks that zlib autoconf detection routine assumes that zlib is
> > located at /usr/local/lib or /usr/lib. This is the case for debian e.g.
> > 
> > I will look into this.
> 
> The autoconf macro for zlib detection (config/ax_check_zlib.m4)
> --without-zlib is just way to crappy with hard-coded locations without an
> easy way to change it. Could you try to configure with --without-zlib
> parameter. This will disable the
> detection altogether. The linkage should work correctly as the library
> is in default
> system locations. Could you try it?
> 
> >> Thanks
> >> 
> >>  Johannes
> > 
> > --
> > Michal Hocko
> 
> --
> Michal Hocko

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to