Opened 14 years ago

Closed 14 years ago

#24193 closed defect (duplicate)

I can't use Cunit , installed but doesn't work. 10.6

Reported by: iliesaya@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: cunit

Description (last modified by mf2k (Frank Schima))

Hi everybody,

I'm using mac os x 10.6 (snow leopard). Macport is installed, and i followed this tutorial to install Cunit ( http://cunit.d*rwinports.com/ )

$ port installed
The following ports are currently installed:
  cunit @2.1-0_1 (active)
  ncurses @5.7_0+darwin_10 (active)
  ncursesw @5.7_0+darwin_10 (active)

When I try to use it like this :

#include "CUnit/Basic.h"
and in my Makefile CC = gcc -lcunit

I get this kind of error:

error: CUnit/Basic.h: No such file or directory

If I compile like this :

$ gcc -I/opt/local/include/ -L/opt/local/lib irc.c -lcunit -o irc
there is no error, it compile , but at the execution I get this:

$ ./irc
dyld: Symbol not found: _acs_map
  Referenced from: /opt/local/lib/libcunit.1.dylib
  Expected in: flat namespace
 in /opt/local/lib/libcunit.1.dylib
Trace/BPT trap

:( What can I do ? May be my $PATH variable is wrong:

$ echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/X11R6/bin

Please help me, I really need to use Cunit.

Thank you.

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: cunit removed
Port: cunit added

That website (URL purposely broken) does not contain accurate information... see DarwinPorts.

comment:2 in reply to:  description Changed 14 years ago by iliesaya@…

UP please

comment:3 in reply to:  description Changed 14 years ago by iliesaya@…

up

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #22040.

Note: See TracTickets for help on using tickets.