Search results

  1. R

    help compiling binary

    The code you're trying to compile might need minor changes to successfully port to Darwin. So if you want to make it work you will probably have to analyze why it doesn't compile Open commands.c, navigate to line 1624 and check the call to semctl. Check argument 4 and find out which type it...
  2. R

    strange NFS problem

    bump
  3. R

    ./configure

    Just enter: make This should compile and link the two executables dvi2tty and disdvi.
  4. R

    strange NFS problem

    Regarding Mac OSX 10.2.3, newest DevTools installed, X11 installed, NFS Manager installed. Maybe anyone here has experienced something similar and found a solution. I do the following: * insert a DVD into the SuperDrive * export the DVD via NFS using the NFS Manager * mount the exported...
  5. R

    Correct use of "&" to release con, 2 number terminal answer?

    First: The ampersand does not "release the process from the console" (correct: detach it from the controlling terminal). It just creates a background job which in fact stays attached to your terminal. You can easily see this in case the background job would output something which would just...
  6. R

    environment.plist - how to append to a variable?

    Ok, thank you. That's what I assumed.
  7. R

    environment.plist - how to append to a variable?

    Thank you for your reply. Anyway, that's not what I asked. I already created an environment.plist, first manually, then with the DevTools property list editor. What I want to know is: How is the syntax if I want to append something to an existing environment variable? The bash shell...
  8. R

    equivalent of Appletalk over TCP/IP on OSX?

    AFP (Appletalk File Protokol) uses tcp port 548.
  9. R

    environment.plist - how to append to a variable?

    How can I append to a variable in environment.plist? For example, in profile I can simply specify: PATH=$PATH:/usr/local/bin thus, append /usr/local/bin to whatever PATH is already set. Can I do this in environment.plist as well? If yes, how is the syntax?
  10. R

    FAQ on Apple's X11 server

    I say "thank you", too! I extended your suggestion about how to enable a foreign keyboard mapping a bit. Instead of manually invoking /Applications/X11.app/Content/MacOS/X11 -keymap Deutsch.keymapping from the command line you can manipulate the X11 executable so that it starts with your...
  11. R

    Export a CD or DVD via NFS

    Thank you. I'll give that a try.
  12. R

    Export a CD or DVD via NFS

    Thanks to everybody for all these very valuable threads about exporting directories via NFS. Using the search function in this forum did it very well this time :) Now I'm trying to export a CD or DVD via NFS. However, I find it impossible to create a permanent NFS export for this because it...
  13. R

    compiling c++

    Regarding MANPATH: You need to set the MANPATH environment variable. The easiest way to do so is to edit /etc/profile and add the following two lines: MANPATH=/usr/share/man:$MANPATH export MANPATH (no spaces in the MANPATH= definition!)
  14. R

    Project Builder and CVS

    OK, I found out what happened. It works now. The key is that the .pbproj itself must be checked-in so that it contains its own CVS subdirectory. I did not check-in the .pbproj directories because they are in a preliminary state and I might want to re-create them.
  15. R

    Project Builder and CVS

    Seems that I was too euphoric. It didn't work. I defined the user-specific CVSROOT environment variable. I even re-created the .MacOSX/environment.plist with the Property List Editor which lays-out the file's contents in XML. I verified that the CVSROOT variable is really set. As I said, I can...
  16. R

    Argh! Programming help needed!

    I assume that file.openastextfile returns NIL which is why you get the NilObjectException. Might be a permission problem, ie. PreferencesFolder.child("TEST Data") might return a valid file name but you might not be allowed to open it. Might be that file.openastextfile tries to open the file...
  17. R

    compiling c++

    This is a simple example program: #include <iostream> int main() { std::cout << "Hello World" << endl; return 0; } Save this into a file named hello.c and compile it with: c++ -o hello hello.c You will get an executable named "hello" which you can simply...
  18. R

    Project Builder and CVS

    Thank you! I think that's the missing link. I already setup a /etc/bashrc which initializes the shell environment but this does not come into effect if I don't use the shell. I remember that I already wondered how to set global environment variables, now I know how. Excellent!
  19. R

    compiling c++

    Darwin has an info page for cc installed. Try "info cc" instead of "man cc". Hints: use cc for plain C programs and c++ for C++ programs. Both refer to the same GCC 3.1 but the compiler operates in different modes depending on its basename. Have you already compiled something successfully?
  20. R

    PB Newbie Help Please...

    I hope you won't feel offended when I point you towards the on-line documentation, but I can really recommend it. In Project Builder, choose Project Builder Help from the Help menu. The very first page has three tutorial links listed which are all very good and informative. It might take some...
Back
Top