Opened 16 years ago
Last modified 15 years ago
#16164 closed defect
httperf 0.9.0 won't compile — at Version 9
Reported by: | kevwil@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | compile | Cc: | ryandesign@… |
Port: | httperf |
Description (last modified by jmroot (Joshua Root))
rror: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_httperf/work/httperf-0.9.0" && make all " returned error 2 Command output: call_seq.c:84: error: syntax error before 'et' call_seq.c: In function 'conn_connected': call_seq.c:86: error: 'et' undeclared (first use in this function) call_seq.c:86: error: (Each undeclared identifier is reported only once call_seq.c:86: error: for each function it appears in.) call_seq.c:86: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:92: error: syntax error before 'et' call_seq.c: In function 'call_done': call_seq.c:94: error: 'call' undeclared (first use in this function) call_seq.c:97: error: 'et' undeclared (first use in this function) call_seq.c:97: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:104: error: syntax error before 'et' call_seq.c: In function 'call_destroyed': call_seq.c:109: error: 'et' undeclared (first use in this function) call_seq.c:109: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:111: error: 'call' undeclared (first use in this function) call_seq.c: In function 'init': call_seq.c:133: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c:133: error: 'Event_Handler' undeclared (first use in this function) call_seq.c:133: error: syntax error before 'conn_connected' call_seq.c:135: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c:135: error: syntax error before 'call_done' call_seq.c:136: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:136: error: syntax error before 'call_destroyed' make[3]: *** [call_seq.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Change History (12)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Milestone: | → Port Bugs |
---|
Changed 16 years ago by kevwil@…
Attachment: | httperf.log added |
---|
Changed 16 years ago by brianjlandau@…
Attachment: | httperf-Brian.log added |
---|
Log output for Install - Brian
comment:3 Changed 16 years ago by brianjlandau@…
I'm seeing the same problem and attached my log output too.
comment:5 follow-up: 6 Changed 16 years ago by blb@…
If someone for whom this port is failing can attach a list of ports you have installed (use port installed
), that would be helpful; there may be a header installed with some port that is causing this confusion.
Also, to rule it out, what is the result of ls /usr/local/include
?
comment:6 follow-up: 7 Changed 16 years ago by joe@…
Replying to blb@macports.org:
If someone for whom this port is failing can attach a list of ports you have installed (use
port installed
), that would be helpful; there may be a header installed with some port that is causing this confusion.Also, to rule it out, what is the result of
ls /usr/local/include
?
If event.h is installed into the /opt/local/include (or whatever directory), it'll use that instead of the event.h that's in the httperf directory. Monkeying around with -I order fixed it.
comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | ticketformatting added |
Replying to joe@…:
If event.h is installed into the /opt/local/include (or whatever directory), it'll use that instead of the event.h that's in the httperf directory.
I take it event.h is installed into /opt/local/include on your system? What port provided it? Use port provides /opt/local/include/event.h
to find out.
Monkeying around with -I order fixed it.
Can you be more specific?
comment:8 Changed 16 years ago by kevwil@…
On my machine, /opt/local/include/event.h is there and was provided by libevent.
comment:9 Changed 16 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | httperf ticketformatting removed |
Port: | httperf added |
Changed 16 years ago by zakj@…
Attachment: | httperf.diff added |
---|
Installs fine for me after applying this patch to Portfile
Please run
sudo port clean httperf
, followed bysudo port -d install httperf > httperf.log 2>&1
and attach the resulting log file. Also, what is your OS version? XCode version? CPU architecture?