Opened 19 years ago
Closed 19 years ago
#6122 closed defect (fixed)
BUG: ettercap-ng 0.7.3_0 fails to build.
Reported by: | tim.wichmann@… | Owned by: | ultrix@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ultrix@… | |
Port: |
Description
Ettercap-NG 0.7.3_0 fails to build.
The following error shows up: ---> Building ettercap-ng with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_ettercap-ng/ work/ettercap-NG-0.7.3" && make all" returned error 2 Command output: make: * No rule to make target `all'. Stop.
I tryed on two Systems, the error is the same.
Attachments (1)
Change History (7)
comment:1 Changed 19 years ago by tim.wichmann@…
comment:2 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to ultrix@… |
---|---|
Summary: | ettercap-ng 0.7.3_0 fails to build. → BUG: ettercap-ng 0.7.3_0 fails to build. |
comment:3 Changed 19 years ago by gunnmjk@…
I figured out a temporary fix. It has to do with the new version of gcc (4.0) included in XCode 2.1. In order to get ettercap-ng to install correctly, set "sudo gcc_select 3.0" in the terminal. Then you must recompile and install libnet11. Then and only then can you install ettercap-ng.
"sudo gcc_select 4.0" to go back to the default version of gcc.
I seem to be getting a lot of Pango errors in GTK mode, so Maybe I need to recompile pango with gcc 3.0 as well.
(In reply to comment #1)
Sorry for the bad reporting, I turned on the verbose mode and found out that the configure-script seems to quit on checking for pthread:
checking for library containing pthread_create... none required checking whether gcc accepts -pthread... no configure: WARNING: * configure: WARNING: * PTHREAD ARE REQUIRED !! * configure: WARNING: *
comment:4 Changed 19 years ago by gunnmjk@…
Where I said "sudo gcc_select 3.0" I meant to say "sudo gcc_select 3.3"
Changed 19 years ago by 0xced (Cédric Luthi)
Attachment: | patch-configure added |
---|
original patch + pthread problem fix
comment:6 Changed 19 years ago by opendarwin.org@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
fix committed, ettercap-ng builds and appears to work.
Sorry for the bad reporting, I turned on the verbose mode and found out that the configure-script seems to quit on checking for pthread:
checking for library containing pthread_create... none required checking whether gcc accepts -pthread... no configure: WARNING: * configure: WARNING: * PTHREAD ARE REQUIRED !! * configure: WARNING: *