Changes between Initial Version and Version 1 of Ticket #24193
- Timestamp:
- Mar 24, 2010, 7:40:36 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24193
- Property Keywords cunit removed
- Property Port cunit added
-
Ticket #24193 – Description
initial v1 2 2 3 3 I'm using mac os x 10.6 (snow leopard). 4 Macport is installed, and i followed this tutorial to install Cunit ( http://cunit.d arwinports.com/ )4 Macport is installed, and i followed this tutorial to install Cunit ( http://cunit.d*rwinports.com/ ) 5 5 6 {{{ 6 7 $ port installed 7 8 The following ports are currently installed: … … 9 10 ncurses @5.7_0+darwin_10 (active) 10 11 ncursesw @5.7_0+darwin_10 (active) 12 }}} 11 13 12 14 When I try to use it like this : 13 15 16 {{{ 14 17 #include "CUnit/Basic.h" 15 18 and in my Makefile CC = gcc -lcunit 19 }}} 16 20 17 21 I get this kind of error: 18 22 23 {{{ 19 24 error: CUnit/Basic.h: No such file or directory 20 25 }}} 21 26 22 27 If I compile like this : 28 {{{ 23 29 $ gcc -I/opt/local/include/ -L/opt/local/lib irc.c -lcunit -o irc 24 30 there is no error, it compile , but at the execution I get this: … … 30 36 in /opt/local/lib/libcunit.1.dylib 31 37 Trace/BPT trap 38 }}} 32 39 33 40 :( What can I do ? 34 41 May be my $PATH variable is wrong: 35 42 43 {{{ 36 44 $ echo $PATH 37 45 /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 46 }}} 38 47 39 48 Please help me, I really need to use Cunit.