Opened 19 years ago

Closed 19 years ago

#3988 closed defect (fixed)

ruby doesn't build

Reported by: joelmichael@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

locke:/usr/local/apache2/conf root# port install ruby ---> Fetching ruby ---> Attempting to fetch ruby-1.8.2.tar.gz from ftp://xyz.lcs.mit.edu/pub/ruby/1.8 ---> Verifying checksum(s) for ruby ---> Extracting ruby ---> Applying patches to ruby ---> Configuring ruby ---> Building ruby with target all Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/ file._usr_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_ruby/work/ ruby-1.8.2" && make all" returned error 2 Command output: gcc -fno-common -O -pipe -I/usr/local/include -fno-common -pipe -fno- common -DDBM_HDR="<ndbm.h>" -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_DBM_OPEN - DHAVE_NDBM_H -DHAVE_TYPE_DBM -DHAVE_SYS_CDEFS_H -DHAVE_DBM_OPEN - DHAVE_DBM_CLEARERR -O -pipe -I/usr/local/include -c dbm.c cc -dynamic -bundle -undefined suppress -flat_namespace -L/usr/local/lib -L"../.." -o dbm.bundle dbm.o -lruby -ldl -lobjc /usr/bin/ld: warning -prebind has no effect with -bundle compiling digest gcc -fno-common -O -pipe -I/usr/local/include -fno-common -pipe -fno-common -I. -I../.. -I../../. -I../.././ext/digest -O -pipe -I/usr/local/include -c digest.c digest.c: In function 'rb_digest_base_s_digest': digest.c:100: warning: pointer targets in passing argument 2 of 'algo->update_func' differ in signedness digest.c:107: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness digest.c: In function 'rb_digest_base_s_hexdigest': digest.c:129: warning: pointer targets in passing argument 2 of 'algo->update_func' differ in signedness digest.c:136: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness digest.c: In function 'rb_digest_base_update': digest.c:174: warning: pointer targets in passing argument 2 of 'algo->update_func' differ in signedness digest.c: In function 'rb_digest_base_digest': digest.c:217: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness digest.c: In function 'rb_digest_base_hexdigest': digest.c:248: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness cc -dynamic -bundle -undefined suppress -flat_namespace -L/usr/local/lib -L"../.." -o digest.bundle digest.o -lruby -ldl -lobjc /usr/bin/ld: warning -prebind has no effect with -bundle compiling digest/md5 gcc -fno-common -O -pipe -I/usr/local/include -fno-common -pipe -fno-common - DHAVE_CONFIG_H -I../../.././ext/digest/md5/.. -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 - DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -O -pipe -I/ usr/local/include -c md5init.c gcc -fno-common -O -pipe -I/usr/local/include -fno-common -pipe -fno-common - DHAVE_CONFIG_H -I../../.././ext/digest/md5/.. -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 - DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -O -pipe -I/ usr/local/include -c md5ossl.c In file included from md5ossl.h:6,

from md5ossl.c:3:

/usr/local/include/openssl/md5.h:108: error: parse error before "size_t" /usr/local/include/openssl/md5.h:110: error: parse error before "size_t" md5ossl.c: In function 'MD5_End': md5ossl.c:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness make[1]: * [md5ossl.o] Error 1 make: * [all] Error 1

Change History (2)

comment:1 Changed 19 years ago by mww@…

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks, fixed;

Note: See TracTickets for help on using tickets.