I cant view the IDE GUI in SUSE Linux 10.1!!!

Linux specific forum
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

I cant view the IDE GUI in SUSE Linux 10.1!!!

Post by wadysal »

I download the file from the WEB...
I unpack the file in the desktop...
I follow all steps of the Install file...
The pbcompiler in the /usr/bin work Ok and show me a text...

BUT.....I DONT SEE THE IDE INTERFACE like windows and there is no information "detailed " abouth how to view it in the INSTALL file.

Thank's to all.......................
Wadysal....from Argentina
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

When you run the file "purebasic" the IDE should start.
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Purebasic IDE in SUSE.......

Post by wadysal »

I type purebasic in a "Run Command" from My desktop and nothin....
I open a superuser terminal and type purebasic and nothing......

I have a dude wiyh the instalation path..... were install the files in superuser or local user?

Only work the pbcompiler.....the IDE never run!

Thank's
Wadysal....from Argentina
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I open a superuser terminal and type purebasic and nothing......
No error message?
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Post by wadysal »

Thank's Trond.... There is an example......

dmc@CMDElectronica:~> pbcompiler -h
Quick Help:

pbcompiler "filename.pb"

Options:

-c or --commented: Produce commented asm output (purebasic.asm)
-e or --executable "filename": Create an executable to the given filename
-r or --resident "filename.res": Create a resident file to the given filename
-i or --inlineasm: Enable the inline ASM support
-q or --quiet: Display only error on the standard output
-ls or --liststructures: Creates a file with all the structures
-lf or --listfunctions: Creates a file with all the functions
-li or --listinterfaces: Creates a file with all the interfaces
-lp or --listpath: Set the output path for the above lists commands
-qs or --querystructure "name": Creates a file with the definition
-s or --subsystem "name": Uses the specified subsystem
-dc or --dynamiccpu: Create a executable with all processor specific routines
-mmx, -3dnow, -sse or -sse2: Create a processor specific executable

This work Ok !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

but there is the problem

dmc@CMDElectronica:~> purebasic
bash: purebasic: command not found
dmc@CMDElectronica:~>[/i]
Wadysal....from Argentina
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

Where did you copy PB to?
Perhaps /usr/share/purebasic?
Then try (as a user, never as root :!: ): "/usr/share/purebasic/compilers/purebasic"
Image Image
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Thanks WishMaster!

Post by wadysal »

This is the instalation path...

dmc@CMDElectronica:/usr/share/purebasic> dir <------------ From Install File
total 27
drwxr-xr-x 2 dmc users 336 2006-11-08 00:14 compilers
drwxr-xr-x 4 dmc users 104 2005-01-26 11:17 examples
drwxr-xr-x 3 dmc users 72 2005-01-26 11:17 extras
drwxr-xr-x 60 dmc users 1544 2005-01-26 11:17 help
-rw-r--r-- 1 dmc users 496 2005-01-26 11:17 help.html
-rw-r--r-- 1 dmc users 6346 2005-01-26 11:17 HISTORY
-rw-r--r-- 1 dmc users 1129 2005-01-26 11:17 INSTALL
drwxr-xr-x 3 dmc users 1888 2006-11-08 00:14 purelibraries
-rw-r--r-- 1 dmc users 1297 2005-01-26 11:17 README
drwxr-xr-x 2 dmc users 128 2005-01-26 11:17 residents
drwxr-xr-x 3 dmc users 72 2005-01-26 11:17 subsystems
-rw-r--r-- 1 dmc users 1369 2005-01-26 11:17 TODO
dmc@CMDElectronica:/usr/share/purebasic>

This is the path of the PBCOMPILER......

dmc@CMDElectronica:/usr/bin> dir pbcompiler
-rwxr-xr-x 1 dmc users 182480 2005-01-26 11:17 pbcompiler
dmc@CMDElectronica:/usr/bin>

And I try this......

dmc@CMDElectronica:/usr/bin> ./usr/share/purebasic/compilers/purebasic
bash: ./usr/share/purebasic/compilers/purebasic: No existe el fichero o el direc torio
dmc@CMDElectronica:/usr/bin>

And this......

dmc@CMDElectronica:/usr/share/purebasic/compilers> purebasic
bash: purebasic: command not found
dmc@CMDElectronica:/usr/share/purebasic/compilers>

I am in a user shell..... I dont understand!!!
Wadysal....from Argentina
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Basically you haven't installed it correctly. I recomment following the other installation instructions (the one that doesn't require root rights).
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Post by wadysal »

We can suggest me a instalation procedure? It is the only information available in the file downloaded ftom the purebasic home page!!!!!........We can see the trouble!

Thank's

Installation: <-------------------------- From Install file !!!!!!!!!!!!!!!!!!!!!!!!1

Use 'su -' to have root shell (if not already done)

Copy the 'purebasic/Compilers/pbcompiler' file in /usr/bin/
or any other directory in the PATH:

# cp purebasic/compilers/pbcompiler /usr/bin/

Next, move the whole 'purebasic' directory in /usr/share/

# cp -rf purebasic /usr/share/

NOTE: you can set the $PUREBASIC_HOME environment variable to
your installation path if you don't want to put the purebasic
drawer in /usr/share.

If you don't have 'fasm', copy it in your path (fasm v1.45 at least)

# cp purebasic/compilers/fasm /usr/bin/

To test your install, just type:

# pbcompiler

It should output:

******************************************
PureBasic Linux x86 v3.92
******************************************

A filename must be specified.
Wadysal....from Argentina
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

==>.<==/usr/share/purebasic/compilers/purebasic
What's the dot meant to be?
PureBasic Linux x86 v3.92
Maybe you also should give PB 4.0 beta a try. Actually, it's still quite buggy yet, but compared to PB 3.93 :wink:
You can find it in you Espace personnel.
Image Image
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

PureBasic Linux x86 v3.92
That version doesn't have a Linux IDE.
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Post by wadysal »

Yes Trond.... there is a purebasic.exe in the compilers directory....
I don't understand why isn't a purebasic bin file....

I run the purebasic ( v3.92 )file demo version and the IDE run Ok.

AnyWay .... the compiller is bad installed.... Thank you for all.
Wadysal....from Argentina
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

purebasic.exe is the file created by the pbcompiler :wink:
Image Image
wadysal
User
User
Posts: 11
Joined: Wed Nov 08, 2006 5:32 am
Location: Argentina

Post by wadysal »

Yes WishMaster but this work or not work?
Wadysal....from Argentina
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

purebasic.exe is not the IDE, it's the program you compile via pbcompiler :lol:
Image Image
Post Reply