Configuring Installing libpst

Help
Anonymous
2010-11-24
2013-05-20

  • Anonymous
    2010-11-24

    Hello,

    I'm trying to Xenu on PST files.

    I read that I need to readpst plugin so I downloaded the libpst0.6.59 files to get the readpst.exe.  When I try to configure it, I get the error C compiler cannot create the executables see the log file.
    (I'm using window vista machine, using cygwin to run)

    Here is the info in the log file
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by libpst configure 0.6.49, which was
    generated by GNU Autoconf 2.59.  Invocation command line was

      $ ./configure

    ## ------ ##
    ## Platform. ##
    ## ------ ##

    hostname = VEC108308
    uname -m = i686
    uname -r = 1.7.7(0.230/5/3)
    uname -s = CYGWIN_NT-6.0
    uname -v = 2010-08-31 09:58

    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown

    /bin/arch              = i686
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    hostinfo               = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown

    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /cygdrive/c/Windows/system32
    PATH: /cygdrive/c/Windows
    PATH: /cygdrive/c/Windows/System32/Wbem
    PATH: /cygdrive/c/program files/ecomputer
    PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/
    PATH: /cygdrive/c/Program Files/ZANTAZ/EAS Client/
    PATH: /cygdrive/c/CA Records Manager
    PATH: /cygdrive/y
    PATH: /cygdrive/x
    PATH: /cygdrive/v
    PATH: /usr/lib/lapack

    ## ------- ##
    ## Core tests. ##
    ## ------- ##

    configure:1573: checking for a BSD-compatible install
    configure:1628: result: /usr/bin/install -c
    configure:1639: checking whether build environment is sane
    configure:1682: result: yes
    configure:1747: checking for gawk
    configure:1763: found /usr/bin/gawk
    configure:1773: result: gawk
    configure:1783: checking whether make sets $(MAKE)
    configure:1807: result: no
    configure:1977: checking build system type
    configure:1995: result: i686-pc-cygwin
    configure:2003: checking host system type
    configure:2017: result: i686-pc-cygwin
    configure:2061: checking for Solaris
    configure:2071: result: no
    configure:2086: checking for Win32
    configure:2096: result: no
    configure:2111: checking for Win32 platform in general
    configure:2121: result: yes
    configure:2143: checking whether we are enabling dii utility
    configure:2162: result: yes
    configure:2166: checking for convert
    configure:2184: found /usr/bin/convert
    configure:2196: result: /usr/bin/convert
    configure:2230: checking for style of include used by make
    configure:2258: result: none
    configure:2329: checking for gcc
    configure:2345: found /usr/bin/gcc
    configure:2355: result: gcc
    configure:2599: checking for C compiler version
    configure:2602: gcc -version </dev/null >&5
    gcc (GCC) 4.3.4 20090804 (release) 1
    Copyright (C) 2008 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:2605: $? = 0
    configure:2607: gcc -v </dev/null >&5
    Using built-in specs.
    Target: i686-pc-cygwin
    Configured with: /gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4/configure -srcdir=/gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4 -prefix=/usr -exec-prefix=/usr -bindir=/usr/bin -sbindir=/usr/sbin -libexecdir=/usr/lib -datadir=/usr/share -localstatedir=/var -sysconfdir=/etc -infodir=/usr/share/info -mandir=/usr/share/man -datadir=/usr/share -infodir=/usr/share/info -mandir=/usr/share/man -v -with-gmp=/usr -with-mpfr=/usr -enable-bootstrap -enable-version-specific-runtime-libs -with-slibdir=/usr/bin -libexecdir=/usr/lib -enable-static -enable-shared -enable-shared-libgcc -disable-__cxa_atexit -with-gnu-ld -with-gnu-as -with-dwarf2 -disable-sjlj-exceptions -enable-languages=ada,c,c++,fortran,java,objc,obj-c++ -disable-symvers -enable-libjava -program-suffix=-4 -enable-libgomp -enable-libssp -enable-libada -enable-threads=posix -with-arch=i686 -with-tune=generic -enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind -with-ecj-jar=/usr/share/java/ecj.jar
    Thread model: posix
    gcc version 4.3.4 20090804 (release) 1 (GCC)
    configure:2610: $? = 0
    configure:2612: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:2615: $? = 1
    configure:2638: checking for C compiler default output file name
    configure:2641: gcc    conftest.c  >&5
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lkernel32
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ladvapi32
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lshell32
    collect2: ld returned 1 exit status
    configure:2644: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    |
    | #define PACKAGE_NAME "libpst"
    | #define PACKAGE_TARNAME "libpst"
    | #define PACKAGE_VERSION "0.6.49"
    | #define PACKAGE_STRING "libpst 0.6.49"
    | #define PACKAGE_BUGREPORT "carl@five-ten-sg.com"
    | #define PACKAGE "libpst"
    | #define VERSION "0.6.49"
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:2683: error: C compiler cannot create executables
    See `config.log' for more details.

    ## ----------- ##
    ## Cache variables. ##
    ## ----------- ##

    ac_cv_build=i686-pc-cygwin
    ac_cv_build_alias=i686-pc-cygwin
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_PYTHON_VERSION_set=
    ac_cv_env_PYTHON_VERSION_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i686-pc-cygwin
    ac_cv_host_alias=i686-pc-cygwin
    ac_cv_path_CONVERT=/usr/bin/convert
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=no

    ## ----------- ##
    ## Output variables. ##
    ## ----------- ##

    ACLOCAL='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run aclocal-1.9'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run tar'
    AR=''
    AUTOCONF='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run autoconf'
    AUTOHEADER='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run autoheader'
    AUTOMAKE='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run automake-1.9'
    AWK='gawk'
    BOOST_PYTHON_LIB=''
    BUILD_DII_FALSE=''
    BUILD_DII_TRUE=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CONVERT='/usr/bin/convert'
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='cygpath -w'
    DEFS=''
    DEPDIR='.deps'
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    LDFLAGS=''
    LIBICONV=''
    LIBOBJS=''
    LIBPST_SO_MAJOR='4'
    LIBPST_VERSION_INFO='4:4:0'
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBICONV=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /cygdrive/c/users/dspindler/desktop/libpst-0.6.49/missing -run makeinfo'
    NEED_XGETOPT_FALSE=''
    NEED_XGETOPT_TRUE=''
    OBJEXT=''
    OS_SOLARIS_FALSE=''
    OS_SOLARIS_TRUE='#'
    OS_WIN32_FALSE=''
    OS_WIN32_TRUE='#'
    PACKAGE='libpst'
    PACKAGE_BUGREPORT='carl@five-ten-sg.com'
    PACKAGE_NAME='libpst'
    PACKAGE_STRING='libpst 0.6.49'
    PACKAGE_TARNAME='libpst'
    PACKAGE_VERSION='0.6.49'
    PATH_SEPARATOR=':'
    PLATFORM_WIN32_FALSE='#'
    PLATFORM_WIN32_TRUE=''
    PST_OBJDIR=''
    PYTHON=''
    PYTHON_BIN=''
    PYTHON_CPPFLAGS=''
    PYTHON_EXTRA_LDFLAGS=''
    PYTHON_EXTRA_LIBS=''
    PYTHON_INCLUDE_DIR=''
    PYTHON_INTERFACE_FALSE=''
    PYTHON_INTERFACE_TRUE=''
    PYTHON_LDFLAGS=''
    PYTHON_LIB=''
    PYTHON_SITE_PKG=''
    PYTHON_VERSION=''
    RANLIB=''
    REGEXLIB=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/sh'
    STATIC_TOOLS_FALSE=''
    STATIC_TOOLS_TRUE=''
    STRIP=''
    VERSION='0.6.49'
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include='#'
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i686-pc-cygwin'
    build_alias=''
    build_cpu='i686'
    build_os='cygwin'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i686-pc-cygwin'
    host_alias=''
    host_cpu='i686'
    host_os='cygwin'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/cygdrive/c/users/dspindler/desktop/libpst-0.6.49/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='mkdir -p -'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ## ------- ##
    ## confdefs.h. ##
    ## ------- ##

    #define PACKAGE "libpst"
    #define PACKAGE_BUGREPORT "carl@five-ten-sg.com"
    #define PACKAGE_NAME "libpst"
    #define PACKAGE_STRING "libpst 0.6.49"
    #define PACKAGE_TARNAME "libpst"
    #define PACKAGE_VERSION "0.6.49"
    #define VERSION "0.6.49"

    configure: exit 77

     
  • Hi,

    Xena should already include the readpst executable in the win32 directory - you do not need to compile it from source. In fact, if you've installed Xena using our installer, it should have already configured Xena to use readpst.

    -c