Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21719 - ruby doesn't build with dante/socks support
Summary: ruby doesn't build with dante/socks support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-26 12:39 UTC by Aron Griffis (RETIRED)
Modified: 2003-05-26 13:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Griffis (RETIRED) gentoo-dev 2003-05-26 12:39:53 UTC
If dante is installed and SOCKS_SERVER is set, then ruby doesn't build.  It dies
with the following compile-time error:


gcc -fPIC -DHAVE_GETADDRINFO -DHAVE_SOCKADDR_STORAGE -DINET6 -mcpu=athlon-xp -O3
-pipe -DENABLE_IPV6 -DSOCKS -I.
-I/var/tmp/portage/ruby-1.8.0_pre2/work/ruby-1.8.0
-I/var/tmp/portage/ruby-1.8.0_pre2/work/ruby-1.8.0
-I/var/tmp/portage/ruby-1.8.0_pre2/work/ruby-1.8.0/ext/socket
-DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_ST_MSG_CONTROL
-DHAVE_GETADDRINFO -DHAVE_GETNAMEINFO -DHAVE_SYS_UN_H -DHAVE_SYS_UIO_H
-DHAVE_SOCKET -DHAVE_GETHOSTNAME  -Dss_family=__ss_family -Dss_len=__ss_len -c
socket.c
socket.c: In function `socks_init':
socket.c:994: `class' undeclared (first use in this function)
socket.c:994: (Each undeclared identifier is reported only once
socket.c:994: for each function it appears in.)
distcc[10480] ERROR: compile on localhost failed with exit code 1
make[1]: *** [socket.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ruby-1.8.0_pre2/work/ruby-1.8.0/ext/socket'
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-05-26 13:59:38 UTC
fixed in ruby-1.8.0_pre2-r1