Search results

  1. B

    Compiling a simple .c file on Unix Terminal

    [Belaran:~] belaran% cc Desktop/test.c /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:66: undefined type, found `class' /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:67: undefined type, found `class' /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:67: undefined type, found `class'...
  2. B

    Compiling a simple .c file on Unix Terminal

    Thank you but i tried this i got over ten pages of errors !!! I think i have the wrong version of the dev tools. But i don't know how to upgrade the one i got ( wich most likely 10.1). I hope to find some kind of FREE package on the macos site but i didn't find it ( this don't mean it isn't...
  3. B

    os x server not talking to windows

    I got the very same problem ! i fixed by using the DAVE application but i'm pretty sure it's should work all by itself !
  4. B

    Compiling a simple .c file on Unix Terminal

    I tried your code : but i still got this: [Belaran:~/Desktop/Info/Langage C] belaran% cc main.c /usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field [Belaran:~/Desktop/Info/Langage C] belaran% Moreover why my C interpreter refuse to acknowledge a simple program as the...
  5. B

    Compiling a simple .c file on Unix Terminal

    I'm beginning to work with C and i wanted to compile a very simple file : #include <stdio.h> void main (void) { { printf( "Bienvenue sur WORDPAD\n\n"); } } with "cc main.C" and here what i got : [Belaran:~/Desktop/Info/Langage C] belaran% cc main.c main.c: In function `main'...
  6. B

    Explorer won't reconized files in some directory

    here is the problem: apache is running and php4 too. i can access my .php file and .html file in http:/127.0.0.1/~username/ without any problem. but when i try to go to a folder inside site , i get this : Forbidden You don't have permission to access /~belaran/CD_Romain/index.html...
  7. B

    Activating the CC (C compiler) on my UNIX terminal

    Yes i did it to , no problem there.... But i've some news ! It's seems that my explorers can't read any of my file "as localhost" 'cause : Forbidden You don't have permission to access /~belaran/CD_Romain/index.html on this server...
  8. B

    Activating the CC (C compiler) on my UNIX terminal

    Thanks a lot, now i get it through. from the beginning i tried to restart or to start httpd with my user rights and not my "root" rights, so i was denied see access by the system. My Apche server is (and always been) working just fine ! ... even with the mess i've been doing try to fix it ! °)...
  9. B

    Activating the CC (C compiler) on my UNIX terminal

    In httpd.conf , i "uncommented" those lines: LoadModule php4_module LoadModule hfs_apple_module AddModule mod_php4.c AddModule mod_hfs_apple.c Anyway, i can access to some of my file as there was a webpage ( i can type http://127.0.0.1/~belaran/myfile.html ) but "php page" still aren't...
  10. B

    Activating the CC (C compiler) on my UNIX terminal

    i found three entry : www 460 0.0 0.3 15472 632 ?? S 3:34PM 0:00.02 httpd www 396 0.0 0.3 15988 640 ?? S 3:24PM 0:00.10 httpd root 394 0.0 0.6 15472 1232 ?? Ss 3:24PM 0:00.22 httpd HTTPD seems to be running, so normally i...
  11. B

    Activating the CC (C compiler) on my UNIX terminal

    [Belaran:~] belaran% sudo apachectl restart Password: /usr/sbin/apachectl restart: httpd restarted at this point i was enthousiast ! [Belaran:~] belaran% apachectl graceful /usr/sbin/apachectl graceful: httpd not running, trying to start Processing config directory...
  12. B

    Activating the CC (C compiler) on my UNIX terminal

    I forget i had already try this, and , we're going to love it, see what i get : [Belaran:~] belaran% sudo apachectl start /usr/sbin/apachectl start: httpd (pid 398) already running [Belaran:~] belaran% already running !!!!! *%*%*'s already running !!! I dunno how I end up in this...
  13. B

    Activating the CC (C compiler) on my UNIX terminal

    Anyway thank you nick, i had already tried to change things with chmod without success, i tried your idea : Belaran:~] belaran% sudochmod 664 /private/var/log/httpd/error_log sudochmod: Command not found. [Belaran:~] belaran% sudo chmod 664 /private/var/log/httpd/error_log Password...
  14. B

    Activating the CC (C compiler) on my UNIX terminal

    [Belaran:~] belaran% apachectl start Processing config directory: /private/etc/httpd/users Processing config file: /private/etc/httpd/users/belaran.conf fopen: Permission denied httpd: could not open error log file /private/var/log/httpd/error_log. /usr/sbin/apachectl start: httpd could...
  15. B

    Activating the CC (C compiler) on my UNIX terminal

    [Belaran:~] belaran% ls -la /private/var/log/httpd total 184 drwxr-xr-x 4 root wheel 136 Mar 28 14:35 . drwxr-xr-x 38 root wheel 1292 Mar 27 03:15 .. -rw-r--r-- 1 root wheel 92047 Mar 15 00:18 access_log -rw-r--r-- 1 root wheel 0 Mar 28 14:35 error_log [Belaran:~]...
  16. B

    Activating the CC (C compiler) on my UNIX terminal

    STill not doing it ! This is quite a mess ! I can't understand how such a big problem as occurs ! Anyway the error message : [Belaran:~] belaran% sudo touch /var/log/httpd/error_log [Belaran:~] belaran% apachectl graceful /usr/sbin/apachectl graceful: httpd not running, trying to start...
  17. B

    Activating the CC (C compiler) on my UNIX terminal

    Thanks a lot both of you ! About GNu and stuff, you may be found this quite strange but the exploitation system of my school is ... OpenVMS ! :eek: At some point we're going to use unix , but at for almost two year we only work on VMS (wich is quite a good system by the way)... I...
  18. B

    Activating the CC (C compiler) on my UNIX terminal

    That's it , cc is working now ! I'm such a %*£*%*£ ! thank you
  19. B

    Activating the CC (C compiler) on my UNIX terminal

    hey ! you're right, i haven't install it on THIS mac ! I'm installing it right now, i'll tell you if it's working ! I've a another problem : my apache server down and the unix error message is : [Belaran:~] belaran% apachectl graceful /usr/sbin/apachectl graceful: httpd not running...
  20. B

    Activating the CC (C compiler) on my UNIX terminal

    yes but i don't want to use them. In my school i'll be working with the "regular" (= non-MacOS X) Unix and i'll compile with it. I need to use a system as near as possible of the one i'm going to use... Moreover , i don't exactly konw how to correctly use most of the developer 's tools wich my...
Back
Top