{"thread":{"id":"32113","subject":"Unable to compile Git on HP-UX B.11.31 U ia64","startedAt":"2012-11-14T11:18:03Z","lastAt":"2012-11-14T11:31:02Z","messageCount":3,"participants":["Quintin Ronan","Stefano Lattarini"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"203181","messageId":"30295_1352891883_50A37DEB_30295_18278_1_67156E3FC2DDE6479DE35C159B9C2B582C59CEE6@wptxexmbx03.ptx.fr.sopra","threadId":"32113","inReplyTo":null,"subject":"Unable to compile Git on HP-UX B.11.31 U ia64","fromName":"Quintin Ronan","fromEmail":"ronan.quintin@sopragroup.com","sentAt":"2012-11-14T11:18:03Z","receivedAt":"2012-11-14T11:18:03Z","isPatch":false,"sender":{"key":"ronan.quintin@sopragroup.com","avatar":null},"body":"Hello,\n\nI’m trying to compile git 1.7 on a HPUX server using make. The ./configure worked well :\n\n\nconfigure: Setting lib to 'lib' (the default)\nconfigure: Will try -pthread then -lpthread to enable POSIX Threads.\nconfigure: CHECKS for site configuration\nconfigure: CHECKS for programs\nchecking for cc... cc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables...\nchecking whether we are cross compiling... no\nchecking for suffix of object files... o\nchecking whether we are using the GNU C compiler... no\nchecking whether cc accepts -g... no\nchecking for cc option to accept ISO C89... none needed\nchecking for inline... __inline\nchecking if linker supports -R... no\nchecking if linker supports -Wl,-rpath,... no\nchecking if linker supports -rpath... no\nconfigure: WARNING: linker does not support runtime path to dynamic libraries\nchecking for gar... no\nchecking for ar... ar\nchecking for gtar... no\nchecking for tar... tar\nchecking for gnudiff... no\nchecking for gdiff... no\nchecking for diff... diff\nchecking for asciidoc... no\nconfigure: CHECKS for libraries\nchecking for SHA1_Init in -lcrypto... yes\nchecking for curl_global_init in -lcurl... no\nchecking for XML_ParserCreate in -lexpat... no\nchecking for iconv in -lc... yes\nchecking for deflateBound in -lz... no\nchecking for socket in -lc... yes\nchecking for inet_ntop... yes\nchecking for inet_pton... yes\nchecking for hstrerror... no\nchecking for hstrerror in -lresolv... no\nchecking for basename in -lc... yes\nchecking for gettext in -lc... no\nchecking how to run the C preprocessor... cc -E\nchecking for grep that handles long lines and -e... /usr/bin/grep\nchecking for egrep... /usr/bin/grep -E\nchecking for ANSI C header files... yes\nchecking for sys/types.h... yes\nchecking for sys/stat.h... yes\nchecking for stdlib.h... yes\nchecking for string.h... yes\nchecking for memory.h... yes\nchecking for strings.h... yes\nchecking for inttypes.h... yes\nchecking for stdint.h... yes\nchecking for unistd.h... yes\nchecking libintl.h usability... no\nchecking libintl.h presence... no\nchecking for libintl.h... no\nconfigure: CHECKS for header files\nchecking sys/select.h usability... yes\nchecking sys/select.h presence... yes\nchecking for sys/select.h... yes\nchecking sys/poll.h usability... yes\nchecking sys/poll.h presence... yes\nchecking for sys/poll.h... yes\nchecking for inttypes.h... (cached) yes\nchecking for old iconv()... no\nconfigure: CHECKS for typedefs, structures, and compiler characteristics\nchecking for socklen_t... yes\nchecking for struct dirent.d_ino... yes\nchecking for struct dirent.d_type... no\nchecking for struct sockaddr_storage... yes\nchecking for struct addrinfo... yes\nchecking for getaddrinfo... yes\nchecking for library containing getaddrinfo... none required\nchecking whether the platform regex can handle null bytes... no\nchecking whether system succeeds to read fopen'ed directory... yes\nchecking whether snprintf() and/or vsnprintf() return bogus value... yes\nconfigure: CHECKS for library functions\nchecking libgen.h usability... yes\nchecking libgen.h presence... yes\nchecking for libgen.h... yes\nchecking paths.h usability... no\nchecking paths.h presence... no\nchecking for paths.h... no\nchecking libcharset.h usability... no\nchecking libcharset.h presence... no\nchecking for libcharset.h... no\nchecking for locale_charset in -liconv... no\nchecking for locale_charset in -lcharset... no\nchecking for strcasestr... no\nchecking for strtok_r... yes\nchecking for library containing strtok_r... none required\nchecking for fnmatch... yes\nchecking for library containing fnmatch... none required\nchecking whether the fnmatch function supports the FNMATCH_CASEFOLD GNU extension... no\nchecking for memmem... no\nchecking for strlcpy... no\nchecking for uintmax_t... yes\nchecking for strtoumax... yes\nchecking for library containing strtoumax... none required\nchecking for setenv... yes\nchecking for library containing setenv... none required\nchecking for unsetenv... yes\nchecking for library containing unsetenv... none required\nchecking for mkdtemp... no\nchecking for mkstemps... no\nchecking for initgroups... yes\nchecking for library containing initgroups... none required\nchecking Checking for POSIX Threads with '-mt'... yes\nconfigure: creating ./config.status\nconfig.status: creating config.mak.autogen\nconfig.status: executing config.mak.autogen commands\n\n\nBut when i run make (with –d) it simply doesn’t work with a message which isn’t really helpfull :\n\n\nMake: line 313: syntax error.  Stop.\n\n\nsetvar: $ = $ noreset = 0 envflg = 0 Mflags = 040101\nReading \"=\" type args on command line.\nReading internal rules.\nsetvar: MAKE = make noreset = 0 envflg = 0 Mflags = 040101\nsetvar: YACC = yacc noreset = 0 envflg = 0 Mflags = 040101\nsetvar: YFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: LEX = lex noreset = 0 envflg = 0 Mflags = 040101\nsetvar: LFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: LD = ld noreset = 0 envflg = 0 Mflags = 040101\nsetvar: LDFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: CC = cc noreset = 0 envflg = 0 Mflags = 040101\nsetvar: FC = f90 noreset = 0 envflg = 0 Mflags = 040101\nsetvar: PC = pc noreset = 0 envflg = 0 Mflags = 040101\nsetvar: CFLAGS = -O noreset = 0 envflg = 0 Mflags = 040101\nsetvar: PFLAGS = -O noreset = 0 envflg = 0 Mflags = 040101\nsetvar: FFLAGS = -O noreset = 0 envflg = 0 Mflags = 040101\nsetvar: RFLAGS = -O noreset = 0 envflg = 0 Mflags = 040101\nsetvar: AS = as noreset = 0 envflg = 0 Mflags = 040101\nsetvar: ASFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: ARFLAGS = -rv noreset = 0 envflg = 0 Mflags = 040101\nsetvar: GET = get noreset = 0 envflg = 0 Mflags = 040101\nsetvar: GFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: CXXFLAGS = -O noreset = 0 envflg = 0 Mflags = 040101\nsetvar: CXX = CC noreset = 0 envflg = 0 Mflags = 040101\nsetvar: CXX = aCC noreset = 0 envflg = 0 Mflags = 040101\nsetvar: SCCSFLAGS =  noreset = 0 envflg = 0 Mflags = 040101\nsetvar: SCCSGETFLAGS = -s noreset = 0 envflg = 0 Mflags = 040101\nReading environment.\nsetvar: _ = /usr/bin/make noreset = 0 envflg = -1 Mflags = 040005\nsetvar: MANPATH = /usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/ipf/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/samba/cfsm_man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man:/opt/graphics/common/man:/opt/amgr/man:/opt/amgr/man/%L:/opt/sec_mgmt/share/man:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/resmon/share/man/%L:/opt/resmon/share/man:/opt/gnome/man:/opt/perf/man/%L:/opt/perf/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/usr/contrib/kwdb/share/man:/opt/perl_32/man:/opt/perl_64/man:/opt/prm/man/%L:/opt/prm/man:/opt/sfmdb/pgsql/man:/opt/sfm/share/man:/opt/swm/share/man/%L:/opt/swm/share/man:/opt/sec_mgmt/share/man/%L:/opt/ssh/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/VRTS/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/hpvm/man/%L:/opt/hpvm/share/man/%L:/opt/VRTS/man noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SSH_TTY = /dev/pts/0 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: PATH = /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/gnome/bin:/opt/perf/bin:/opt/ignite/bin:/usr/contrib/kwdb/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/gwlm/bin:/opt/hpvm/bin:/opt/gvsd/bin:/sbin:/usr/local/bin/:/home/root:/opt/VRTSgab:/opt/VRTSllt:/opt/VRTSvcs/bin:/usr/local/pa20_32/bin:/usr/local/pa20_64/bin:/opt/hpjmeter/bin noreset = 0 envflg = -1 Mflags = 040005\nsetvar: COLUMNS = 204 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: EDITOR = vi noreset = 0 envflg = -1 Mflags = 040005\nsetvar: HISTFILE = /root/.sh_history/.sh_history.pts0 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: LOGNAME = root noreset = 0 envflg = -1 Mflags = 040005\nsetvar: MAIL = /var/mail/root noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SFTP_UMASK =  noreset = 0 envflg = -1 Mflags = 040005\nsetvar: ERASE = ^H noreset = 0 envflg = -1 Mflags = 040005\nsetvar: PS1 = obux071:[VM]:$PWD\\# noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SFTP_PERMIT_CHOWN = 1 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: USER = root noreset = 0 envflg = -1 Mflags = 040005\nsetvar: HOME = /root noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SSH_CONNECTION = 10.174.53.132 2322 10.238.22.79 22 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SSH_CLIENT = 10.174.53.132 2322 22 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: TERM = xterm noreset = 0 envflg = -1 Mflags = 040005\nsetvar: PWD = /root/git/git-1.7.12.4 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: TZ = MET-1METDST noreset = 0 envflg = -1 Mflags = 040005\nsetvar: SFTP_PERMIT_CHMOD = 1 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: LINES = 53 noreset = 0 envflg = -1 Mflags = 040005\nsetvar: PROJECTDIR =  noreset = 0 envflg = 0 Mflags = 040001\nsetvar: SHELL = /usr/bin/sh noreset = 0 envflg = 0 Mflags = 040001\nReading Makefile\n(Ignoring)Include file: \"GIT-VERSION-FILE\"\nMake: line 313: syntax error.  Stop.\n\nCan you help me ?\n\n\n\nCordialement,\n\nRonan QUINTIN\nTMA EAI - Division Telecom & Media\nSopra group.\nCentre Espace Performance - Batiment S\n35769 St Grégoire\nPhone : +33 (0)2 23 25 34 71\nronan.quintin@sopragroup.com - www.sopragroup.com\n\nCe message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à l’émetteur et de détruire toute copie.\n\n Pensez à l’environnement avant d’imprimer.\n\n\n\n"},{"id":"203182","messageId":"50A37FAD.1030901@gmail.com","threadId":"32113","inReplyTo":"30295_1352891883_50A37DEB_30295_18278_1_67156E3FC2DDE6479DE35C159B9C2B582C59CEE6@wptxexmbx03.ptx.fr.sopra","subject":"Re: Unable to compile Git on HP-UX B.11.31 U ia64","fromName":"Stefano Lattarini","fromEmail":"stefano.lattarini@gmail.com","sentAt":"2012-11-14T11:25:33Z","receivedAt":"2012-11-14T11:25:33Z","isPatch":false,"sender":{"key":"stefano.lattarini@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1429199?v=4"},"body":"On 11/14/2012 12:18 PM, Quintin Ronan wrote:\n> Hello,\n> \n> I’m trying to compile git 1.7 on a HPUX server using make.\n> The ./configure worked well :\n>\n> [SNIP]\n> \n> But when i run make (with –d) it simply doesn’t work with a message\n> which isn’t really helpfull :\n> \n>   [SNIP]\n>   Make: line 313: syntax error.  Stop.\n> \n> Can you help me ?\n> \nThe Git build system requires GNU make, but it seems to me you are using\nyour system native make instead.  That won't work.  It might be the case\nGNU make is installed on your system, but is named something like 'gmake'\nor 'gnumake' rather than just 'make'.  What happens if you run the\nfollowing?\n\n   $ gmake --version\n   $ gnumake --version\n\nIf GNU make is not installed on your system, you can download the latest\nversion from here:\n\n    <http://ftp.gnu.org/gnu/make/make-3.82.tar.gz>\n\nFor more information about GNU make:\n\n    <http://www.gnu.org/software/make/>\n\nHTH,\n  Stefano\n"},{"id":"203183","messageId":"30295_1352892663_50A380F7_30295_18481_1_67156E3FC2DDE6479DE35C159B9C2B582C59CEF4@wptxexmbx03.ptx.fr.sopra","threadId":"32113","inReplyTo":"50A37FAD.1030901@gmail.com","subject":"RE: Unable to compile Git on HP-UX B.11.31 U ia64","fromName":"Quintin Ronan","fromEmail":"ronan.quintin@sopragroup.com","sentAt":"2012-11-14T11:31:02Z","receivedAt":"2012-11-14T11:31:02Z","isPatch":false,"sender":{"key":"ronan.quintin@sopragroup.com","avatar":null},"body":"Hello Stefano,\n\nThank you for your quick answer. You are right, HP-UX have a gmake executable :\n\n\n#gmake --version\nGNU Make 3.81\nCopyright (C) 2006  Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.\nThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE.\n\nThis program built for ia64-hp-hpux11.31\n\n\nI will try to use this instead of make \n\nCordialement,\n\nRonan QUINTIN\nTMA EAI - Division Telecom & Media\nSopra group.\nCentre Espace Performance - Batiment S\n35769 St Grégoire\nPhone : +33 (0)2 23 25 34 71\nronan.quintin@sopragroup.com - www.sopragroup.com\n\nCe message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à lémetteur et de détruire toute copie.\n\n Pensez à lenvironnement avant dimprimer.\n\n\n-----Message d'origine-----\nDe : Stefano Lattarini [mailto:stefano.lattarini@gmail.com] \nEnvoyé : mercredi 14 novembre 2012 12:26\nÀ : Quintin Ronan\nCc : git@vger.kernel.org\nObjet : Re: Unable to compile Git on HP-UX B.11.31 U ia64\n\nOn 11/14/2012 12:18 PM, Quintin Ronan wrote:\n> Hello,\n> \n> I’m trying to compile git 1.7 on a HPUX server using make.\n> The ./configure worked well :\n>\n> [SNIP]\n> \n> But when i run make (with –d) it simply doesn’t work with a message\n> which isn’t really helpfull :\n> \n>   [SNIP]\n>   Make: line 313: syntax error.  Stop.\n> \n> Can you help me ?\n> \nThe Git build system requires GNU make, but it seems to me you are using\nyour system native make instead.  That won't work.  It might be the case\nGNU make is installed on your system, but is named something like 'gmake'\nor 'gnumake' rather than just 'make'.  What happens if you run the\nfollowing?\n\n   $ gmake --version\n   $ gnumake --version\n\nIf GNU make is not installed on your system, you can download the latest\nversion from here:\n\n    <http://ftp.gnu.org/gnu/make/make-3.82.tar.gz>\n\nFor more information about GNU make:\n\n    <http://www.gnu.org/software/make/>\n\nHTH,\n  Stefano\n"}]}