Commandline compile?

Mac OSX specific forum
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Commandline compile?

Post 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
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post 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...
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Post 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
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
Agent Smith
New User
New User
Posts: 8
Joined: Tue Dec 13, 2005 1:53 am
Location: New Zealand

Post 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.
Last edited by Agent Smith on Thu Sep 21, 2006 4:09 pm, edited 1 time in total.
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Post 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
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
johnfinch
User
User
Posts: 45
Joined: Thu May 11, 2006 1:45 am
Location: florida
Contact:

Post 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.
Leopard-parallels-XP-Vista
Post Reply