Changes between Initial Version and Version 1 of Ticket #24193


Ignore:
Timestamp:
Mar 24, 2010, 7:40:36 PM (14 years ago)
Author:
mf2k (Frank Schima)
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24193

    • Property Keywords cunit removed
    • Property Port cunit added
  • Ticket #24193 – Description

    initial v1  
    22
    33I'm using mac os x 10.6 (snow leopard).
    4 Macport is installed, and i followed this tutorial to install Cunit ( http://cunit.darwinports.com/ )
     4Macport is installed, and i followed this tutorial to install Cunit ( http://cunit.d*rwinports.com/ )
    55
     6{{{
    67$ port installed
    78The following ports are currently installed:
     
    910  ncurses @5.7_0+darwin_10 (active)
    1011  ncursesw @5.7_0+darwin_10 (active)
     12}}}
    1113
    1214When I try to use it like this :
    1315
     16{{{
    1417#include "CUnit/Basic.h"
    1518and in my Makefile CC = gcc -lcunit
     19}}}
    1620
    1721I get this kind of error:
    1822
     23{{{
    1924error: CUnit/Basic.h: No such file or directory
    20 
     25}}}
    2126
    2227If I compile like this :
     28{{{
    2329$ gcc -I/opt/local/include/ -L/opt/local/lib irc.c -lcunit -o irc
    2430there is no error, it compile , but at the execution I get this:
     
    3036 in /opt/local/lib/libcunit.1.dylib
    3137Trace/BPT trap
     38}}}
    3239
    3340:( What can I do ?
    3441May be my $PATH variable is wrong:
    3542
     43{{{
    3644$ echo $PATH
    3745/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}}}
    3847
    3948Please help me, I really need to use Cunit.