Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21717 closed defect (fixed)

dsniff-devel 2.4b1_2 fails to depend on xorg-libXmu

Reported by: russm-trac-macports-org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: hsivank@…
Port: dsniff-devel

Description

xorg-libXmu is required in order to build dsniff-devel 2.4b1_2 but is not depended upon in the Portfile, so "port install dsniff-devel" fails with a build error unless xorg-libXmu has previously been installed.

Change History (6)

comment:1 in reply to:  description Changed 15 years ago by russm-trac-macports-org@…

in case it matters, system is 10.6.1 with Xcode 3.2

comment:2 Changed 15 years ago by hsivank@…

Hello russm,
My system is 10.6.1 with Xcode 3.2

~$ port installed|grep "xorg-libXmu"
~$ port installed|grep "dsniff-devel"
  dsniff-devel @2.4b1_2+darwin_10 (active)


Can you post the complete build log ?

comment:3 Changed 15 years ago by hsivank@…

Cc: hsivank@… added

Cc Me!

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Keywords: dsniff-devel removed
Resolution: fixed
Status: newclosed

comment:5 in reply to:  2 ; Changed 15 years ago by russm-trac-macports-org@…

Replying to hsivank@…:

~$ port installed|grep "xorg-libXmu"
~$ port installed|grep "dsniff-devel"
  dsniff-devel @2.4b1_2+darwin_10 (active)


Can you post the complete build log ?

I didn't save it, but it was a plain ld error that libXmu couldn't be found. I suspect that (depending on your environment settings) your webspy may be linked against the system libXmu instead of the macports one. "otool -L /opt/local/sbin/webspy" will show which libraries you've linked against.

comment:6 in reply to:  5 Changed 15 years ago by hsivank@…

I didn't save it, but it was a plain ld error that libXmu couldn't be found. I suspect that (depending on your environment settings) your webspy may be linked against the system libXmu instead of the macports one. "otool -L /opt/local/sbin/webspy" will show which libraries you've linked against.

Dsniff-devel configure itself without libXmu if it doesn't find X development libraries ... in this this way webspy is not build

I think it will be a good idea to add a no_x11 variant cause some people (like me!) doesn't want to have dependencies on X libs.

Note: See TracTickets for help on using tickets.