Help save net neutrality! Learn more.
Close

Compile p7zip_9.20.1 under Tru64 5.1b

Help
Jeff Dude
2012-01-16
2013-05-28
  • Jeff Dude

    Jeff Dude - 2012-01-16

    using pkgsrc & gcc 4.2.3:

    # bmake
    => Bootstrap dependency digest>=20010302: found digest-20080510
    => Bootstrap dependency tnftp-*: found tnftp-20070806
    ===> Checking for vulnerabilities in p7zip-9.20.1
    => Checksum SHA1 OK for p7zip_9.20.1_src_all.tar.bz2
    => Checksum RMD160 OK for p7zip_9.20.1_src_all.tar.bz2
    ===> Installing dependencies for p7zip-9.20.1
    => Build dependency bzip2>=0.9.0b: found bzip2-1.0.6
    => Build dependency gmake>=3.81: found gmake-3.82nb2
    => Build dependency nbpatch-*: found nbpatch-20100124
    => Build dependency compat_headers>=0.2: found compat_headers-0.2
    ===> Overriding tools for p7zip-9.20.1
    ===> Extracting for p7zip-9.20.1
    ===> Patching for p7zip-9.20.1
    => Applying pkgsrc patches for p7zip-9.20.1
    ===> Creating toolchain wrappers for p7zip-9.20.1
    ===> Building for p7zip-9.20.1
    mkdir -p bin
    /usr/pkg/bin/gmake -C CPP/7zip/Bundles/Alone all
    gmake: Entering directory `/future3/pkgsrc/archivers/p7zip/work/p7zip_9.20.1/CPP/7zip/Bundles/Alone'
    g++  -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES
    -DBREAK_HANDLER -DUNICODE -D_UNICODE -O2 -DLITTLE_ENDIAN -D_REENTRANT -I/usr/pkg/include -I/usr/include -
    c -I. -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/myGetTickCount.cpp
    g++  -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES
    -DBREAK_HANDLER -DUNICODE -D_UNICODE -O2 -DLITTLE_ENDIAN -D_REENTRANT -I/usr/pkg/include -I/usr/include -
    c -I. -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/wine_date_and_time.cp
    p
    ../../../myWindows/wine_date_and_time.cpp: In function 'BOOL DosDateTimeToFileTime(WORD, WORD, FILETIME*)'
    :
    ../../../myWindows/wine_date_and_time.cpp:112: error: 'timegm' was not declared in this scope
    gmake: ***  Error 1
    gmake: Leaving directory `/future3/pkgsrc/archivers/p7zip/work/p7zip_9.20.1/CPP/7zip/Bundles/Alone'
    gmake: ***  Error 2
    *** Error code 2

    Stop.
    bmake: stopped in /future3/pkgsrc/archivers/p7zip
    *** Error code 1

    Stop.
    bmake: stopped in /future3/pkgsrc/archivers/p7zip
    #

    how do I get pass this timegm was not declared in this scope error (wine_date_and_time.cpp).

    thanks

     
  • my p7zip

    my p7zip - 2012-01-20

    I cannot access to a Tru64 workstation.

    So I cannot myself test p7zip for this target.

    I don't know pkgsrc nor bmake.

    I don't know who maintains this pkgsrc package.

    As I can this in "===> Patching for p7zip-9.20.1",  pkgsrc seems to patch the official p7zip_9.20.1_src_all.tar.bz2.

    If you can, try to add a path like this :

    In CPP/myWindows/CPP, change
       #define ENV_HAVE_TIMEGM
    into
        #undef ENV_HAVE_TIMEGM  

    or
      /* #define ENV_HAVE_TIMEGM */
     
     
    and launch again the build :

    cd /future3/pkgsrc/archivers/p7zip/work/p7zip_9.20.1/
    /usr/pkg/bin/gmake -C CPP/7zip/Bundles/Alone all

    But if you are not the developer of this pkgsrc package, please try to contact the developper of this pkgsrc package.

     

Log in to post a comment.