Author Topic: How To Sync With Gpe?  (Read 6115 times)

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« on: April 18, 2005, 08:20:01 pm »
I'm running SuSE Linux 9.2 Professional on my PC. GPE is on my SL-5500. I've seen something about a gpe-sync plugin for multisync, but I'm not really following what it's asking me to do. I'm assuming the plugin will work for the GPE-ROM on collie.

Does anyone have simple, easy-to-follow instructions for setting up the Z to sync properly from the cradle?

I definitely prefer the look and feel of GPE over OPIE, but if I can't get the Z to sync with GPE, I'll be switching back.

Cwiiis

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
How To Sync With Gpe?
« Reply #1 on: April 19, 2005, 04:31:44 am »
I'm afraid GPE syncing is in a very immature state at the moment - There's a gpe plugin in multisync cvs, and feel free to give it a try, but last time I inquired it loses data going back and forth

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Sync With Gpe?
« Reply #2 on: April 19, 2005, 09:26:15 am »
See http://handhelds.org/moin/moin.cgi/GpeSync for the latest information on syncing.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #3 on: April 19, 2005, 07:53:58 pm »
Quote
See http://handhelds.org/moin/moin.cgi/GpeSync for the latest information on syncing.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75904\"][{POST_SNAPBACK}][/a][/div]
And for those like me who are not as familiar with makeing (installing from source) plugins for programs, the simple and straitforward instructions would be?  

I'm trying to say that I'm not sure which source folder they are talking about, and the link only gives me one file instead of the 3 they talk about. I can find the files and download them separately, but what folder should I be downloading them to and installing them from for this to work? I've used make before, but only to install the ATI video drivers on my SuSE box (at one point it requires the user to make modules and make install). I'm still learning the command-line interface, though I'm only one or two steps ahead of the complete novice.

I know I've been pampered with YaST, and easy rpm installation for most of what I use.

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #4 on: April 25, 2005, 01:45:57 am »
Am I on my own to decipher what the instructions koen linked to mean for a SuSE system? Has anyone here managed to get the GPE plugin for Multisync to work? Has anyone managed to get their Zaurus using the GPE ROM to sync using anything other than Multisync?
I recognize that I don't have enough experience with this stuff to figure it out blindly, but I'd be happy to learn if I could just get a little assistance getting started. I'm not a software developer, and I've been teaching myself how to configure and run SuSE with some help from the SuSE Linux Support Forums. The Zaurus is a completely new ballgame. I'm mostly self-taught, so I haven't picked up as much of the conventions and skills that others might have. With just a little bit of direction, I can figure out a lot, though.
Can anyone point me in the right direction? I'm not making sense of the directions koen linked to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
How To Sync With Gpe?
« Reply #5 on: April 25, 2005, 06:22:03 am »
I'll help (I'll install it in parallel on my Manrdake 10 box), where are you up to currently?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #6 on: April 25, 2005, 03:04:59 pm »
Quote
I'll help (I'll install it in parallel on my Manrdake 10 box), where are you up to currently?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76714\"][{POST_SNAPBACK}][/a][/div]
I have managed to find and download the packages mentioned, unzipped the tarballs, and now am wondering which source directory they are talking about. I don't see any directory marked as source in the stuff I unzipped, and Multisync has stuff spread all over the place. Which directory should I be looking for?
If I look in the directories that have been created by unzipping the tarballs, and run make from within those directories, should that work? I don't remember seeing anything that would allow me to build from those locations. (There's usually a MAKEFILE in the directory to direct the program to the proper object file, isn't there?)

Thank you in advance for any help.

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #7 on: April 26, 2005, 12:02:44 am »
OK-
I have extracted the files, and I have found the Makefile in each directory. I get a slew of errors when I try to build them, however. Here's a sample:
Code: [Select]
copperlion:/usr/local/lib/multisync/libgpevtype # make PREFIX=/usr
make: pkg-config: Command not found
make: pkg-config: Command not found
cc -Os -fomit-frame-pointer  -MD -Wall   -DG_DISABLE_DEPRECATED -fPIC -D_GNU_SOU
RCE -DPACKAGE=\"libgpevtype\" -DPREFIX=\"/usr\" -DPACKAGE_LOCALE_DIR=\"/usr/shar
e/locale\" -DPREFIX=\"/usr\" -DPACKAGE=\"libgpevtype\" -I. -c tag-db.c -o tag-db
.o
tag-db.c:10:18: glib.h: No such file or directory
In file included from tag-db.c:11:
gpe/tag-db.h:19: error: parse error before '*' token
gpe/tag-db.h:20: error: parse error before '*' token
gpe/tag-db.h:20: error: parse error before '*' token
gpe/tag-db.h:20: warning: type defaults to `int' in declaration of `gpe_tag_list
_prepend'
gpe/tag-db.h:20: warning: data definition has no type or storage class
tag-db.c:14: error: parse error before '*' token
tag-db.c: In function `gpe_tag_list_free':
tag-db.c:16: error: `GSList' undeclared (first use in this function)
tag-db.c:16: error: (Each undeclared identifier is reported only once
tag-db.c:16: error: for each function it appears in.)
tag-db.c:16: error: `i' undeclared (first use in this function)
tag-db.c:18: error: `tags' undeclared (first use in this function)
tag-db.c:22: warning: implicit declaration of function `g_free'
tag-db.c:27: warning: implicit declaration of function `g_slist_free'
tag-db.c: At top level:
tag-db.c:30: error: parse error before '*' token
tag-db.c:31: error: parse error before '*' token
tag-db.c:32: warning: return type defaults to `int'
tag-db.c: In function `gpe_tag_list_prepend':
tag-db.c:33: warning: implicit declaration of function `g_malloc'
tag-db.c:33: warning: initialization makes pointer from integer without a cast
tag-db.c:35: warning: implicit declaration of function `g_strdup'
tag-db.c:35: error: `tag' undeclared (first use in this function)
tag-db.c:35: warning: assignment makes pointer from integer without a cast
tag-db.c:36: error: `value' undeclared (first use in this function)
tag-db.c:38: warning: implicit declaration of function `g_slist_prepend'
tag-db.c:38: error: `data' undeclared (first use in this function)
tag-db.c:38: warning: return makes pointer from integer without a cast
make: *** [tag-db.o] Error 1
copperlion:/usr/local/lib/multisync/libgpevtype #
This is following the instructions, as far as I can tell, but it doesn't appear to be working.
Any suggestions?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
How To Sync With Gpe?
« Reply #8 on: April 26, 2005, 08:03:54 am »
Look into:

make: pkg-config: Command not found

and

glib.h: No such file or directory


You should probably just run make in the bottom-most source directory and it will call make in its sub directories. Also note that you may need to run configure before building.

If I've got a spare minute I'll grab the source and have a look after lunch.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #9 on: May 02, 2005, 10:50:31 am »
Sorry for not getting back to this. I've had way too much to do this weekend to get around to looking at my Zaurus or getting it to sync with my computer. I'll try to get to it sometime this week.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Sync With Gpe?
« Reply #10 on: May 22, 2005, 08:09:45 am »
Quote
Quote
See http://handhelds.org/moin/moin.cgi/GpeSync for the latest information on syncing.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
And for those like me who are not as familiar with makeing (installing from source) plugins for programs, the simple and straitforward instructions would be?  

[div align=\"right\"][a href=\"index.php?act=findpost&pid=76032\"][{POST_SNAPBACK}][/a][/div]

I haven't built anything from source. I apt-get installed multisync and used the binary plugin from [a href=\"http://handhelds.org/~florian/multisync/gpe-multisync.tar.gz]http://handhelds.org/~florian/multisync/gpe-multisync.tar.gz[/url].
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #11 on: June 02, 2005, 02:31:16 pm »
Quote
I haven't built anything from source. I apt-get installed multisync and used the binary plugin from http://handhelds.org/~florian/multisync/gpe-multisync.tar.gz.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80924\"][{POST_SNAPBACK}][/a][/div]
With the binaries, did you just download, extract, and copy the files into their proper directories? How did you install them?

I've been using Linux (SuSE specifically) for over 3 years now, and there's obviously a lot I still need to learn. I'm not as familiar with command-line interface as I would like, and I haven't spent much time installing packages beyond what I get through the YaST installer. I haven't tried the SuSE version of apt-get (I think it's called apt4-rpm or something like that), but I might give it a shot in the near future if I can find some time.

I've tried a few things to see if I could get the sources to build correctly. Nothing has worked so far.
With the errors I posted, would that suggest I need to update some development files? I'm not sure what lardman means by "look into" glib.h and pkg-config.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
How To Sync With Gpe?
« Reply #12 on: June 03, 2005, 06:52:37 am »
Quote
With the binaries, did you just download, extract, and copy the files into their proper directories? How did you install them?

From a quick look at the tarball I'd say do the following (as root):

cd /
tar -zxvf /path/to/the/tarball/gpe-multisync.tar.gz

This will extract the files to locations under /usr


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CopperLion

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Sync With Gpe?
« Reply #13 on: June 03, 2005, 06:05:29 pm »
Quote
Quote
With the binaries, did you just download, extract, and copy the files into their proper directories? How did you install them?

From a quick look at the tarball I'd say do the following (as root):

cd /
tar -zxvf /path/to/the/tarball/gpe-multisync.tar.gz

This will extract the files to locations under /usr


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82608\"][{POST_SNAPBACK}][/a][/div]
Multisync seems to be installed under /usr/local for SuSE 9.2, rather than just /usr. When I try to move the files to what I think are the proper locations, Multisync still doesn't see them. Right now, Multisync doesn't want to start since I tried what you suggested, only I did it as superuser, and I can't find the files that were extracted. It could be that my system is messed up since I tried upgrading my KDE installation to 3.4, and I can't start a session as root from the login screen. I can only seem to do this stuff as superuser for the moment.

acpkendo

  • Full Member
  • ***
  • Posts: 169
    • View Profile
    • http://
How To Sync With Gpe?
« Reply #14 on: June 24, 2005, 12:39:39 pm »
I don't think it's "messed up," IIRC in 3.4 KDM disables root logins by default.  You can change this by editing the /etc/kde3/kdm/kdmrc file.  Look for a value called AllowRootLogin, and change it to "True."

Also, lardman notes that they will be "locations under /usr," not the /usr directory itself.  Lots of times locations like /usr/bin and /usr/local/bin are part of the $PATH variable, but /usr itself is not.  If SuSE installs multisync to /usr/local, your best bet is to leave any related files in /usr/local as well.

Your bestest bet is to go to a package manager (YaST in SuSE I guess?) and see where the plugins that come with Multisync, or where the plugins that you've installed from RPM packages, are installed, and move the GPE plugin there as well.
« Last Edit: June 24, 2005, 12:43:39 pm by acpkendo »