s5vi's Motorola p2k phone page
February 09, 2012, 09:36:00 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Over 30000 member ! Under heavy spammer attack ! Cleaning in progress !
V-6.0.0 with CDMA support is available now.
To become VIP: you can do it via PayPal: http://www.el-co.hu/p2k05/paypal.html
 
   Home   Help Login Register  
Pages: 1 2 [3] 4 5 6   Go Down
  Print  
Author Topic: OSX and P2kCommander  (Read 26218 times)
0 Members and 1 Guest are viewing this topic.
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #30 on: March 05, 2008, 06:47:17 am »

@jimmydls05:

open terminal and type (or copy & paste this):

cd /opt
sudo port install libglade
sudo port install glade

it should start the libglade install - - also mentioned on the install having X11 open during the process to avoid errors.
« Last Edit: March 05, 2008, 04:53:35 pm by istink@modding » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #31 on: March 05, 2008, 09:18:58 am »

In terminal, navigate p2kc folder and run ./p2kc
What is the err msg?
Logged

jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #32 on: March 05, 2008, 09:56:16 pm »

This is the message I get:
dyld: Library not loaded: /opt/gtk/lib/libglade-2.0.0.dylib
  Referenced from: /Users/jimmydls05/Downloads/p2kc/./p2kc
  Reason: image not found
Trace/BPT trap

I had libglade-2.0 and glade installed through fink and x11, but I don't think that would work.


« Last Edit: March 05, 2008, 11:39:57 pm by jimmydls05 » Logged
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #33 on: March 05, 2008, 10:15:50 pm »

admittedly, i know very little about terminal and how it works. i installed the components but i did what this link said:
http://gtk.php.net/manual/en/tutorials.installation.macosx-stepbystep.php
i followed this and had no problem & ONLY downloaded the libglade from STEP 6 - Get Glade, all the rest was from the instructions here......all downloading was done through terminal.

good luck....i'm sure someone else here will know terminal & be able to guide you through it after seeing the error message you get.
i
've been looking at sites to help me understand the "verbage" for terminal here, as i said, i know very little.
here are some helpful sites i've found:
1) http://www.freemacunix.com/navigating-files-and-folders/
2) http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html
3) http://www.ss64.com/osx/index.html
Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #34 on: March 05, 2008, 10:30:03 pm »

@istink,
 
Is the P2kCommander working for you? (gui) Or just P2k-core? (terminal)

Right now P2k-core works, and I was able to look at the graphics using glade in X11. but I get that error message when I try to run p2kc. I thought Fink and macports worked pretty much the same. I'll go ahead and  try the macports  method you suggested.

thanks


Logged
trojanmac
Newbie
*
Offline Offline

Posts: 9


« Reply #35 on: March 05, 2008, 11:09:44 pm »

OK i must be one idiot cause i can't figure out what im doing wrong jhbuild bootstrap WILL NOT work for me =(
Do i have the jhbuildrc file name right? or in the right dir? (also should it have the same terminal looking icon as the jhbuild file, when i open up ~/bin in OS X?) Just wondering if maybe i lost what i was supposed to do with the files that i downloaded. (was i supposed to download that file in the terminal? if so How?)

trojans-power-mac-g4:~/bin trojan$ ls -a
.               ..              .jhbuildrc      install-check   jhbuild
trojans-power-mac-g4:~/bin trojan$ sudo jhbuild bootstrap
sudo: jhbuild: command not found
trojans-power-mac-g4:~/bin trojan$

anyone see what im doing wrong? also, im very new to terminal, i can navigate and copy but some of the lingo your using is going over my head, any way to list the commands exactly as i would need to type them in?! hehe please, ive been wanting to mod my fone on my mac for a long time!

any help would be appreciated...

@istink

PS, the Glade instructions link, that you posted earlier, i got to install "sudo port install glade"  but the "sudo port install libglade" command still gives me an error even though x11 is open. Would this be because i haven't correctly installed GTK+?  also, that same page gave me some commands to install GTK+ (step 3) this took like 3 hours, did this not install GTK? when i tried to use the commands listed earlier to make sure its installed still give me the error command not found.

ANY help would be great!
Thanks in Advance
TrojanMac
« Last Edit: March 05, 2008, 11:12:59 pm by trojanmac » Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #36 on: March 05, 2008, 11:23:13 pm »

@trojanmac

you need to edit .proflie - Command below opens it in text editor
trojan$ open .proflie   

add this line and save
export PATH="$PATH:/Users/trojan/bin"

Try jhbuild again

edit: sorry pasted the wrong username, corrected now
« Last Edit: March 05, 2008, 11:27:17 pm by jimmydls05 » Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #37 on: March 05, 2008, 11:48:47 pm »

@istink

I tried sudo port install...still no good, when i run p2kc i get the library missing error:
dyld: Library not loaded: /opt/gtk/lib/libglade-2.0.0.dylib


do you have libglade-2.0.0.dylib in /opt/gtk/lib/ ?
Logged
trojanmac
Newbie
*
Offline Offline

Posts: 9


« Reply #38 on: March 05, 2008, 11:50:46 pm »

WHew! Thanks alot!! im a little closer! Smiley

but still I am getting an error...
trojans-power-mac-g4:~/bin trojan$ jhbuild bootstrap
Traceback (most recent call last):
  File "/Users/trojan/jhbuild/jhbuild/config.py", line 101, in __init__
    execfile(filename, config)
IOError: [Errno 2] No such file or directory: '/Users/trojan/.jhbuildrc'
jhbuild: could not load config file


also going back...way back....when i installed MacPorts, i never could get these to work either:
cd ~/MacPorts-1.5.0/
./configure
make
sudo make install

First off i downloaded 1.6.0, and there is no dir called MacPorts-1.6.0, so i downloaded 1.5.0 and installed it, still cd ~/MacPOrts-1.5.0/ still does not work saying no such dir
I beginning to think im jinxed..here is what happens excatly when i type:
 "cd ~/MacPorts-1.5.0/"

trojans-power-mac-g4:~/bin trojan$ cd ~/MacPorts-1.5.0/
-bash: cd: /Users/trojan/MacPorts-1.5.0/: No such file or directory


sorry for my troublesome questions, I hope im not making myself sound like an idiot.
and I APPRECIATE, your patience
Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #39 on: March 06, 2008, 12:07:13 am »

@trojan

IOError: [Errno 2] No such file or directory: '/Users/trojan/.jhbuildrc'
jhbuild: could not load config file

This one is pretty much self explanatory: .jhbuildrc is not in the right directory. Reading back, I see you have it as  '/Users/trojan/bin/.jhbuildrc'

NO problem, I'm getting there one step at a time too. I think I just need libglade-2.0 installed natively.


Logged
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #40 on: March 06, 2008, 05:20:30 pm »

@jimmy:
terminal only for now. i dont know how to navigate in terminal very well yet....... so i'm fumbling for now, HA!

@s5vi:
btw, thanks for remembering i'm on an intel mac from the other forum!
i'm using the intel binary you posted here.

there isn't a p2kc folder in the intel binary? i've listed the hidden files in the intel binary package with 'ls -a' and there isnt a ./p2kc file listed.
am i even looking in the right folder?? or should  sorry, i'm just not sure.

thanks for your help again!
« Last Edit: March 06, 2008, 05:23:18 pm by istink@modding » Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #41 on: March 06, 2008, 06:48:18 pm »

@istink

What happens when you click on the p2kc file in finder?
does a terminal window with an error pop up?

Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #42 on: March 06, 2008, 07:43:15 pm »

Files in p2kc_osb_intel_binary.zip
-rw-r--r-- 1 s5vi s5vi   9124 2008-01-24 12:31 F7dlg.glade
-rw-r--r-- 1 s5vi s5vi  12413 2008-01-24 12:31 oldseem.glade
-rw-r--r-- 1 s5vi s5vi  15104 2008-01-24 12:31 options.glade
-rw-r--r-- 1 s5vi s5vi 111240 2008-01-28 17:22 p2kc         <----- (executable) binary file
-rw-r--r-- 1 s5vi s5vi  65239 2008-01-24 12:31 p2kc.glade
drwxr-xr-x 2 s5vi s5vi   4096 2008-03-04 08:47 p2k-core/   <----- p2k-core folder
drwxr-xr-x 3 s5vi s5vi   4096 2008-03-04 08:47 pixmaps/    <----- some icons here
-rw-r--r-- 1 s5vi s5vi   1063 2008-01-24 12:31 readme.txt
-rw-r--r-- 1 s5vi s5vi     24 2008-01-24 12:31 s5vi.url
-rw-r--r-- 1 s5vi s5vi   1396 2008-01-24 12:31 splash.glade

anyway navigate in terminal is very easy with some simple unix commands:
cd destination_folder   <---- cd is stand for change_directory
. and .. are two special folders.   . (simple dot) is the actual folder , where we are now
.. (double dot) is the parent folder cd .. will bring you one level up
when you want to run an app in current folder (which is not in the $path) you can write ./p2kc   this means: run p2kc in from folder
If you write full path .(dot) isnt necessary.   eg:  /users/someone/p2kc/p2kc    this means run p2kc from the /users/someone/p2kc folder

So if you unzip the binary into your home/p2kc folder, then open a terminal and write:
cd p2kc
./p2kc
this will run p2kc.
Or after opening terminal enter:
cd p2kc/p2k-core
./p2k-core
will run p2k-core

My gtk installation based on imendio script, dosend need X11, and run without X11. WIll post my liblade dylib also.
Or maybe will install Leo, and try to find a simpler way to run gtk apps.
Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #43 on: March 06, 2008, 08:32:51 pm »

thanks s5vi....i'll try today when @ home. also, thanks for the lesson in terminal....after using this link i'm starting to navigate better:
http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html
 
@jimmy

yes, i tried to just click on it to see what would happen & it does bring up an error message. i think after s5vi posts his libglade dylib that should be the right lib for it work correctly.

« Last Edit: March 06, 2008, 08:39:43 pm by istink@modding » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #44 on: March 06, 2008, 08:54:52 pm »

I've got libglade from its homepage and compile it
http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/libglade-2.0.1.tar.gz
unpact into a folder, open terminal
make
sudo make install
Logged

Pages: 1 2 [3] 4 5 6   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Bad Behavior has blocked 118 access attempts in the last 7 days.



Google visited last this page January 19, 2012, 08:46:01 pm