[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor in FreeBSD8.2: Stop compiling at curl



You will want to purge the files generated, run 'cmake .' then make to
build against local dependencies.  

Note: there is a warning message at the top when you run configure_uw
(you likely don't want to do this). 

Cheers,
Tim

On Fri, 2011-09-09 at 15:49 +0700, Eric Jansen wrote:
> I was trying to compile condor source 7.6.3 stable version for my
> FreeBSD 8.2 box for the first time.
> After extracting the condor tar.gz file, I did ./configure_uw and it
> seemed to extract setup files, afterward I did "make"
> Previously, It's stalled when finding patch that notably, BSD's patch
> is not the same with gnu patch. But it was solved by linking gpatch as
> patch.
> The issue that gets me stalled is described as following:
> ericjansen# make
> [  1%] Built target openssl
> [  2%] Built target pcre
> [  3%] Built target gsoap
> [  3%] Built target cp_smdevp
> [  3%] Built target cp_wsseapi
> [  3%] Built target pcre_coinstall
> [  6%] Built target classads
> Linking CXX executable classad_functional_tester
> [  6%] Built target classad_functional_tester
> Linking CXX executable classad_version
> [  6%] Built target classad_version
> [  7%] Built target zlib
> [  7%] Performing configure step for 'curl'
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> checking whether to enable debug build options... no
> checking whether to enable compiler optimizer... not specified
> (assuming yes)
> checking whether to enable strict compiler warnings... no
> checking whether to enable curl debug memory tracking... no
> checking for sed... /usr/bin/sed
> checking for grep... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ar... /usr/bin/ar
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking curl version... 7.19.6
> checking build system type... x86_64-unknown-freebsd8.2
> checking host system type... x86_64-unknown-freebsd8.2
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output file name... 
> configure: error: in
> `/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> *** Error code 77
> 
> Stop in /preserve/Packages/condor-7.6.3.
> *** Error code 1
> 
> Stop in /preserve/Packages/condor-7.6.3.
> *** Error code 1
> 
> Stop in /preserve/Packages/condor-7.6.3.
> 
> 
> Therefore, I looked for curl's config.log:
> ericjansen# find . -name config.log -print
> ./externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/config.log
> 
> 
> The output of config.log is like following:
> ericjansen# cat
> externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/config.log 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by curl configure -, which was
> generated by GNU Autoconf 2.63.  Invocation command line was
> 
>   $ ./configure --prefix=/scratch/condor_externals/curl-7.19.6/install
> --with-ssl=/scratch/condor_externals/openssl-0.9.8h/install
> --disable-shared --disable-ipv6 --disable-ldap --disable-ldaps
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = ericjansen.computer.ee.its.ac.id
> uname -m = amd64
> uname -r = 8.2-STABLE
> uname -s = FreeBSD
> uname -v = FreeBSD 8.2-STABLE #3: Fri Sep  9 12:59:25 WIT 2011
> root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/ERICJANSEN 
> 
> /usr/bin/uname -p = amd64
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /sbin
> PATH: /bin
> PATH: /usr/sbin
> PATH: /usr/bin
> PATH: /usr/games
> PATH: /usr/local/sbin
> PATH: /usr/local/bin
> PATH: /root/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:2322: checking whether to enable maintainer-specific
> portions of Makefiles
> configure:2331: result: no
> configure:2348: checking whether to enable debug build options
> configure:2367: result: no
> configure:2371: checking whether to enable compiler optimizer
> configure:2392: result: not specified (assuming yes)
> configure:2404: checking whether to enable strict compiler warnings
> configure:2423: result: no
> configure:2427: checking whether to enable curl debug memory tracking
> configure:2446: result: no
> configure:2505: checking for sed
> configure:2524: found /usr/bin/sed
> configure:2537: result: /usr/bin/sed
> configure:2554: checking for grep
> configure:2573: found /usr/bin/grep
> configure:2586: result: /usr/bin/grep
> configure:2602: checking for egrep
> configure:2605: result: /usr/bin/grep -E
> configure:2705: checking for ar
> configure:2724: found /usr/bin/ar
> configure:2736: result: /usr/bin/ar
> configure:2814: checking for a BSD-compatible install
> configure:2882: result: /usr/bin/install -c
> configure:2893: checking whether build environment is sane
> configure:2936: result: yes
> configure:2998: checking for gawk
> configure:3014: found /usr/local/bin/gawk
> configure:3025: result: gawk
> configure:3036: checking whether make sets $(MAKE)
> configure:3058: result: yes
> configure:3238: checking curl version
> configure:3240: result: 7.19.6
> configure:3277: checking build system type
> configure:3295: result: x86_64-unknown-freebsd8.2
> configure:3317: checking host system type
> configure:3332: result: x86_64-unknown-freebsd8.2
> configure:3372: checking for style of include used by make
> configure:3400: result: GNU
> configure:3476: checking for gcc
> configure:3492: found /usr/bin/gcc
> configure:3503: result: gcc
> configure:3735: checking for C compiler version
> configure:3743: gcc --version >&5
> gcc (GCC) 4.2.1 20070719  [FreeBSD]
> Copyright (C) 2007 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:3747: $? = 0
> configure:3754: gcc -v >&5
> Using built-in specs.
> Target: amd64-undermydesk-freebsd
> Configured with: FreeBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719  [FreeBSD]
> configure:3758: $? = 0
> configure:3765: gcc -V >&5
> gcc: '-V' option must have argument
> configure:3769: $? = 1
> configure:3791: checking for C compiler default output file name
> configure:3813: gcc    conftest.c -ldl >&5
> /usr/bin/ld: cannot find -ldl
> configure:3817: $? = 1
> configure:3855: result: 
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "curl"
> | #define PACKAGE_TARNAME "curl"
> | #define PACKAGE_VERSION "-"
> | #define PACKAGE_STRING "curl -"
> | #define PACKAGE_BUGREPORT "a suitable curl mailing list =>
> http://curl.haxx.se/mail/";
> | #define PACKAGE "curl"
> | #define VERSION "7.19.6"
> | #define OS "x86_64-unknown-freebsd8.2"
> | /* end confdefs.h.  */
> | 
> | int main (void)
> | {
> | 
> |  ;
> |  return 0;
> | }
> configure:3861: error: in
> `/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6':
> configure:3863: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_build=x86_64-unknown-freebsd8.2
> 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_LDFLAGS_set=''
> ac_cv_env_LDFLAGS_value=''
> ac_cv_env_LIBS_set=set
> ac_cv_env_LIBS_value=-ldl
> 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=x86_64-unknown-freebsd8.2
> ac_cv_path_GREP=/usr/bin/grep
> ac_cv_path_SED=/usr/bin/sed
> ac_cv_path_ac_pt_AR=/usr/bin/ar
> 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=yes
> curl_cv_PATH_SEPARATOR=:
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> ACLOCAL='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run aclocal-1.9'
> AMDEPBACKSLASH='\'
> AMDEP_FALSE='#'
> AMDEP_TRUE=''
> AMTAR='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run tar'
> AR='/usr/bin/ar'
> AS=''
> AUTOCONF='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run autoconf'
> AUTOHEADER='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run autoheader'
> AUTOMAKE='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run automake-1.9'
> AWK='gawk'
> CC='gcc'
> CCDEPMODE=''
> CFLAGS=''
> CPP=''
> CPPFLAGS=''
> CROSSCOMPILING_FALSE=''
> CROSSCOMPILING_TRUE=''
> CURLDEBUG_FALSE=''
> CURLDEBUG_TRUE=''
> CURL_CA_BUNDLE=''
> CURL_DISABLE_DICT=''
> CURL_DISABLE_FILE=''
> CURL_DISABLE_FTP=''
> CURL_DISABLE_HTTP=''
> CURL_DISABLE_LDAP=''
> CURL_DISABLE_LDAPS=''
> CURL_DISABLE_PROXY=''
> CURL_DISABLE_TELNET=''
> CURL_DISABLE_TFTP=''
> CURL_LIBS=''
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR='.deps'
> DLLTOOL=''
> DSYMUTIL=''
> DUMPBIN=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP='/usr/bin/grep -E'
> EXEEXT=''
> FGREP=''
> GREP='/usr/bin/grep'
> HAVE_ARES=''
> HAVE_LIBZ=''
> HAVE_LIBZ_FALSE=''
> HAVE_LIBZ_TRUE=''
> HAVE_PK11_CREATEGENERICOBJECT=''
> IDN_ENABLED=''
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> IPV6_ENABLED=''
> KRB4_ENABLED=''
> LD=''
> LDFLAGS=''
> LIBCURL_LIBS=''
> LIBOBJS=''
> LIBS='-ldl'
> LIBTOOL=''
> LIPO=''
> LN_S=''
> LTLIBOBJS=''
> MAINT='#'
> MAINTAINER_MODE_FALSE=''
> MAINTAINER_MODE_TRUE='#'
> MAKEINFO='${SHELL}
> "/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/missing" --run makeinfo'
> MANOPT=''
> MIMPURE_FALSE=''
> MIMPURE_TRUE=''
> NM=''
> NMEDIT=''
> NO_UNDEFINED_FALSE=''
> NO_UNDEFINED_TRUE=''
> NROFF=''
> OBJDUMP=''
> OBJEXT=''
> OTOOL64=''
> OTOOL=''
> PACKAGE='curl'
> PACKAGE_BUGREPORT='a suitable curl mailing list =>
> http://curl.haxx.se/mail/'
> PACKAGE_NAME='curl'
> PACKAGE_STRING='curl -'
> PACKAGE_TARNAME='curl'
> PACKAGE_VERSION='-'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin'
> PATH_SEPARATOR=':'
> PERL=''
> PKGADD_NAME='cURL - a client that groks URLs'
> PKGADD_PKG='HAXXcurl'
> PKGADD_VENDOR='curl.haxx.se'
> PKGCONFIG=''
> RANDOM_FILE=''
> RANLIB=''
> REQUIRE_LIB_DEPS=''
> SED='/usr/bin/sed'
> SET_MAKE=''
> SHELL='/bin/sh'
> SONAME_BUMP_FALSE=''
> SONAME_BUMP_TRUE=''
> SSL_ENABLED=''
> STATICLIB_FALSE=''
> STATICLIB_TRUE=''
> STRIP=''
> SUPPORT_FEATURES=''
> SUPPORT_PROTOCOLS=''
> TEST_SERVER_LIBS=''
> USE_EMBEDDED_ARES_FALSE=''
> USE_EMBEDDED_ARES_TRUE=''
> USE_GNUTLS=''
> USE_LIBSSH2=''
> USE_MANUAL_FALSE=''
> USE_MANUAL_TRUE=''
> USE_NSS=''
> USE_SSLEAY=''
> USE_WINDOWS_SSPI=''
> VERSION='7.19.6'
> VERSIONNUM='071306'
> ac_ct_CC='gcc'
> ac_ct_DUMPBIN=''
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__include='include'
> am__leading_dot='.'
> am__quote=''
> am__tar='${AMTAR} chof - "$$tardir"'
> am__untar='${AMTAR} xf -'
> bindir='${exec_prefix}/bin'
> build='x86_64-unknown-freebsd8.2'
> build_alias=''
> build_cpu='x86_64'
> build_os='freebsd8.2'
> build_vendor='unknown'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host='x86_64-unknown-freebsd8.2'
> host_alias=''
> host_cpu='x86_64'
> host_os='freebsd8.2'
> host_vendor='unknown'
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> install_sh='/preserve/Packages/condor-7.6.3/externals/bundles/curl/7.19.6-p1/curl-prefix/src/curl/curl-7.19.6/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> libext=''
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> lt_ECHO='echo'
> mandir='${datarootdir}/man'
> mkdir_p='$(mkinstalldirs)'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/scratch/condor_externals/curl-7.19.6/install'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> subdirs=''
> sysconfdir='${prefix}/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> #define PACKAGE_NAME "curl"
> #define PACKAGE_TARNAME "curl"
> #define PACKAGE_VERSION "-"
> #define PACKAGE_STRING "curl -"
> #define PACKAGE_BUGREPORT "a suitable curl mailing list =>
> http://curl.haxx.se/mail/";
> #define PACKAGE "curl"
> #define VERSION "7.19.6"
> #define OS "x86_64-unknown-freebsd8.2"
> 
> configure: exit 77
> 
> 
> FYI: I have gcc-3.4 and gcc-4.5 installed. And honestly, I have no
> idea how to continue. In fact, they are seldom found the manual to
> install condor in FreeBSD.
> How to solve this matter?
> Thank you in advance.
> 
> Sincerely yours,
> 
> ERIC JANSEN
> Student ID: 2210-105-030
> Student, Computer Engineering and Telematics
> 
> Department of Electrical Engineering
> Faculty of Industrial Technology
> Institut Teknologi Sepuluh Nopember (ITS)
> 
> Surabaya - Indonesia
> http://www.ee.its.ac.id
> http://www.ericjansen.net
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/