Page 1 of 1
Commandline compile?
Posted: Thu Aug 31, 2006 7:54 pm
by garretthylltun
Anyone successful at getting commandline compiling working on OS X?
I get an message that it can't find any libs. I've done the "export" thing
to try and get purebasic in the path, but can't find the .bashrc file to
verify.
-Garrett
Posted: Wed Sep 06, 2006 9:17 pm
by Nik
Look in the INSTALL file in PB's root directory it's the same as on Linux you have to export the path before it works...
Posted: Thu Sep 07, 2006 3:20 am
by garretthylltun
I did. But it doesn't work and I can't find the .bashrc file anywhere on
the system. So either it doesn't exist, or it's not being created when
I run the export command.
I've since given up on trying to use the command line to compile anyway.
-Garrett
Posted: Thu Sep 21, 2006 1:19 pm
by Agent Smith
pbcompiler works fine for me (I'm running OS X 10.3.9 on a G4).
I just added the path commands as described in the INSTALL readme ( "/applications/purebasic" because that's where I installed it).
btw, all Unix files prefixed with "." are hidden (including ".bashrc").
Type ls -a from your home directory and you should see all files, including .bashrc (provided it was previously created).
Otherwise, just use vi or pico to create/edit it. Note that it doesn't get created by the export command.
Posted: Thu Sep 21, 2006 3:59 pm
by garretthylltun
Yeah, no prob on seeing hidden files, just the file didn't exist. And if the
export doesn't cause the creation of the file, then that would explain why
the file was not there.
I'll create the file and then do the rest again.
Thanks,
-Garrett
Posted: Fri Oct 20, 2006 3:37 pm
by johnfinch
There's a file on my intel Mac called:
.profile
This may be the replacement for .bashrc. Certainly it allows me to add to the path and re-export it. However, I have wxPython installed as well as a couple of other developer products and they may have created it.
Have a look in your home directory - it's hidden normally as mentioned above.