s5vi's Motorola p2k phone page
February 10, 2012, 05:38:59 pm *
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 ... 6   Go Down
  Print  
Author Topic: OSX and P2kCommander  (Read 26267 times)
0 Members and 1 Guest are viewing this topic.
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #15 on: March 02, 2008, 06:54:20 pm »

i cant seen to install the jsbuild components..... i get this in terminal:
Last login: Sun Mar  2 09:30:57 on ttys001
adsl-64-173-170-55:~ scotthunter$ jhbuild bootstrap
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build meta-gtk-osx-core
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild bootstrap
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build meta-gtk-osx-core

maybe i can install this part another way??

also the ~/.jhbuilddrc wouldn't allow me to save file.....how do i do this in terminal?

thanks, btw voiceofra, i successfully installed macports too, but i still need the GTK libs.












« Last Edit: March 02, 2008, 06:56:57 pm by istink@modding » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #16 on: March 02, 2008, 07:06:13 pm »

before starting jhbuild:
1: did you install svn ? (this is a source code download tool)
2: did you install jhbuild with svn ?
Logged

jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #17 on: March 03, 2008, 04:33:58 am »

I'm having the same problem. svn comes with Leopard. I installed jhbuild with svn per the instructions at:
http://developer.imendio.com/projects/gtk-macosx/build-instructions

when I get to this step
jhbuild bootstrap
-bash: jhbuild: command not found

I copied the .jhbuilddrc file with the cp command (cp filename1 filename2 --- copies a file)
I verified that the file was in the directory using ls -a to see the hidden files

nevermind. added /bin to PATH in .profile

« Last Edit: March 03, 2008, 05:19:31 am by jimmydls05 » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #18 on: March 03, 2008, 08:09:43 am »

jhbuild will come into your home/bin NOT the /bin folder !
So ~/bin (or Users/yourusername/bin) and NOT /bin must be add your path

try to run jhbuild with full pathname
Logged

voiceofra
Newbie
*
Offline Offline

Posts: 5


Email
« Reply #19 on: March 03, 2008, 09:13:10 am »

i cant seen to install the jsbuild components..... i get this in terminal:
Last login: Sun Mar  2 09:30:57 on ttys001
adsl-64-173-170-55:~ scotthunter$ jhbuild bootstrap
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build meta-gtk-osx-core
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild bootstrap
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build
-bash: jhbuild: command not found
adsl-64-173-170-55:~ scotthunter$ jhbuild build meta-gtk-osx-core

maybe i can install this part another way??

also the ~/.jhbuilddrc wouldn't allow me to save file.....how do i do this in terminal?

thanks, btw voiceofra, i successfully installed macports too, but i still need the GTK libs.

gtklibs is available in the ports...search for, and install gtk2 and libglade.

I'm running in to issue trying to compile. Specifically, errors with the library locations. I looked thru the Make files (and ran make --help) but didn't see - or rather CAN'T see. My eyes are crossing :p - an option to pass the location of the library files (gtk, etc). Mac ports puts everything in /opt/ by default.
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #20 on: March 03, 2008, 10:20:22 am »

My makefile uses pkg-config
This is a tool to determine gkt libs location
http://en.wikipedia.org/wiki/Pkg-config

As i wrote jhbuild binary is in your home/bin folder. Thats why you get command not found. Append path.
Or run just like this:
bin/jhbuild bootstrap
Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #21 on: March 03, 2008, 05:43:13 pm »

yes s5vi.....i checked to make sure svn was installed by typing: svn help. it shows that the contents are installed.
i will try to run bin/jhbuild bootstrap when i get home from work.

thanks for your help s5vi, i appreciate your patience!
« Last Edit: March 03, 2008, 07:44:33 pm by istink@modding » Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #22 on: March 03, 2008, 11:00:00 pm »

Now I get -  jhbuild: Can't create /opt/gtk directory
when I try any jhbuild command

seems to working after trying - sudo jhbuild bootstrap

OK...The gtk demo is working.

Can you walk me through the steps to get P2kCommander running?

Thanks
« Last Edit: March 04, 2008, 12:47:53 am by jimmydls05 » Logged
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #23 on: March 04, 2008, 04:51:17 am »

ok...it worked and all is installed.......WHEW! that is a long process! ok, anxoiusly awaiting the app.....thanks again s5vi-------YOU ARE THE MAN!

also checked with: /opt/gtk/bin/gtk-demo     
and it works!

« Last Edit: March 04, 2008, 10:21:57 pm by istink@modding » Logged
trojanmac
Newbie
*
Offline Offline

Posts: 9


« Reply #24 on: March 04, 2008, 06:57:14 am »

Are you still going to try to do a double-click install method for p2kcommander
and will this work with P2k05 phones such as the v3xx?

I guess im a little confused on you instructions? I can't figure out what i need to install and what i DON"T need to install

Thanks!

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

Posts: 769



WWW Email
« Reply #25 on: March 04, 2008, 08:19:26 am »

So gtk is operational on you MAC?
Now its time to compile p2kc....
1: open a terminal, and navigate p2kc/p2k-core folder
2: enter "make mac" to compile p2k-core first
3: you can run "./p2k-core -m" to check if success
3a: p2k-core is useful itself , type help into its command line
4: navigate p2kc folder ("cd ..")
5: enter "make" command to compile p2kc
5a: some missing lib problem maybe appear (libglade..etc) i dont remember, these libs must be installed before

My compiled intel binary is available, i will upload soon, tis must work without compilation on your intel mac if gtk is present in /opt folder.

@trojanmac
Yes, p2k-core and p2kc CAN manage V3xx and other p2k/p2k05 phones.
Ahmmm, gui is quite difficult. First you can try p2k-core, this is much simpler to install. This is a command-line utility with full functionality.
1: download and install xcode and libusb package
2: get p2kc 0.6 source
3: open a command line, naviagte p2k-core folder and enter "make mac"
4: run with "./p2k-core -m" command


For a more simpler method , you can get universal binary packages:
1: libusb
10.3.x Panther  http://www.ellert.se/PKGS/libusb-2007-11-06/10.3/libusb.pkg.tar.gz
10.4.x Tiger      http://www.ellert.se/PKGS/libusb-2007-11-06/10.4/libusb.pkg.tar.gz
10.5.x Leopard  http://www.ellert.se/PKGS/libusb-2007-11-06/10.5/libusb.pkg.tar.gz

2: p2k-core: (this is an older but functional version)
http://www.el-co.hu/dl/p2kc/p2k-core_1.4_OSX_UB.tar.gz
Logged

s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #26 on: March 04, 2008, 09:19:56 am »

p2kc intel binary here:
http://www.el-co.hu/dl/p2kc/p2kc_osb_intel_binary.zip
Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #27 on: March 04, 2008, 05:33:55 pm »

@s5vi:
i found & installed libglade here last night:
http://gtk.php.net/manual/en/tutorials.installation.macosx-stepbystep.php
(down the page to: Step 6 - Get Glade)

can you check to see if this is the lib needed s5vi?
all installed and opened gtk-demo--so it's working.

i will try to get the rest of the components installed before the weekend.
thanks....
Logged
jimmydls05
Newbie
*
Offline Offline

Posts: 15


Email
« Reply #28 on: March 05, 2008, 03:05:49 am »

how did you install the libglade-2.0?

thanks
Logged
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #29 on: March 05, 2008, 03:22:15 am »

ok, the terminal works for p2k but doesn't open the gtk app.....how do i make the GUI work?

Last login: Tue Mar  4 18:12:41 on ttys000
/Users/scotthunter/Desktop/p2kc_osb_intel_binary\ Folder/p2k-core/p2k-core ; exit;
adsl-76-245-116-152:~ scotthunter$ /Users/scotthunter/Desktop/p2kc_osb_intel_binary\ Folder/p2k-core/p2k-core ; exit;
V_1.5 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
 Search for Motorola Test Command.
 Found Interface: Motorola Test Command
 Inteface number: 02, Endpoints: 00 00
 This is P2k phone.
 Phone model: Z3
 Volume: /a  Free space: 1907074 bytes, 564 files found.
 Volume: /c  Free space: 16389987 bytes, 445 files found.
P2k:>








Logged
Pages: 1 [2] 3 4 ... 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 128 access attempts in the last 7 days.



Google visited last this page January 03, 2012, 10:59:00 pm