[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] An idiot and his Mac



hi,

I 've been a long time mac user and feel fairly comfortable with some 
basic *nix commands.  I'm also fairly handy with my palm.  But that 
is about were my skills end.  I will be attempting to set up the 
following:

Multiple palms (mostly plam III series) dialing into an isp
Each being able to coldsync with a mac running coldsync in daemon mode

For the time being I will be using an iBook running Mac OSX.

I've read through this list's archive and the included documentation.

I'll post my progress to this thread for two reasons.  1.  To help 
the next person who wants to do something similar.  2.  Provide you 
all with some amusement.

The first question I have is what are the directories usr and etc 
referring to?  I do not seem to have such folders or directories.  Do 
I need to create them?  Where?  is there a different Mac equivalent?

2nd question:  How do I "uninstall"?

Below you will see the output from a install and make that I tried. 
Following that will be a complete spec printout for my mac (just as a 
reference.)  The only thing that I've learned so far is that it seems 
necessary to use the command "sudo", but I'm not sure why.


Let the fun begin.....


[localhost:~/trial coldsync/coldsyncX] larsbell% cd coldsync-2.1.2
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell% l
total 1032
-rwxr-xr-x   1 larsbell  staff    2744 May 15  2001 AUTHORS
-rwxr-xr-x   1 larsbell  staff    6163 Sep  8  1999 Artistic
-rwxr-xr-x   1 larsbell  staff   13657 May 23  2001 ChangeLog
-rwxr-xr-x   1 larsbell  staff   69601 Jan 22  2000 ChangeLog.0
-rwxr-xr-x   1 larsbell  staff   90932 Jan 14  2001 ChangeLog.1
-rwxr-xr-x   1 larsbell  staff    7099 Sep 20  2000 FAQ
-rwxr-xr-x   1 larsbell  staff    5067 Feb 24  2001 HACKING
-rwxr-xr-x   1 larsbell  staff   10724 Apr 14  2001 INSTALL
-rw-r--r--   1 larsbell  staff    5896 Dec  5 21:29 Make.rules
-rwxr-xr-x   1 larsbell  staff    5900 Dec 17  2000 Make.rules.in
-rwxr-xr-x   1 larsbell  staff    2174 May 23  2001 Makefile
-rwxr-xr-x   1 larsbell  staff     797 May  6  2001 NEWS
-rwxr-xr-x   1 larsbell  staff    7623 Jan 14  2001 OLDNEWS.1
-rwxr-xr-x   1 larsbell  staff    7676 May 23  2001 README
-rwxr-xr-x   1 larsbell  staff    4538 May 23  2001 README.daemon
-rwxr-xr-x   1 larsbell  staff   17995 May 23  2001 TODO
-rwxr-xr-x   1 larsbell  staff    2674 Dec 23  2000 aclocal.m4
-rw-r--r--   1 larsbell  staff     203 Dec  5 21:59 changme.coldsync.rc
drwxr-xr-x  10 larsbell  staff     296 Dec  6 01:50 conduits
-rwxr-xr-x   1 larsbell  staff    4919 May 27  2001 config.cache
-rwxr-xr-x   1 larsbell  staff   11497 May 27  2001 config.h
-rwxr-xr-x   1 larsbell  staff   11094 Apr 14  2001 config.h.in
-rwxr-xr-x   1 larsbell  staff    6492 Dec  5 21:29 config.log
-rwxr-xr-x   1 larsbell  staff   18607 Dec  5 21:29 config.status
-rwxr-xr-x   1 larsbell  staff  126791 May 23  2001 configure
-rwxr-xr-x   1 larsbell  staff   17554 May 23  2001 configure.in
drwxr-xr-x  11 larsbell  staff     330 Dec  5 21:29 doc
-rwxr-xr-x   1 larsbell  staff    2225 Dec 14  2000 find-leaks
drwxr-xr-x   7 larsbell  staff     264 Dec  5 00:29 i18n
drwxr-xr-x   6 larsbell  staff     264 Dec  5 00:29 include
-rwxr-xr-x   1 larsbell  staff    5598 Dec 19  2000 install-sh
drwxr-xr-x  33 larsbell  staff    1078 Dec  6 01:50 libpconn
drwxr-xr-x   7 larsbell  staff     264 Dec  5 00:29 libpdb
-rwxr-xr-x   1 larsbell  staff     724 May 19  2000 mkinstalldirs
drwxr-xr-x   5 larsbell  staff     264 Dec  2 13:09 perl
drwxr-xr-x  56 larsbell  staff    1860 Dec  3 00:59 src
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell% ./configure
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc  -L/usr/local/lib) works... yes
checking whether the C compiler (cc  -L/usr/local/lib) is a 
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
(cached) checking how to run the C preprocessor... (cached) cc -E 
-traditional-cpp
checking for AIX... no
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -Wall -ansi -pedantic 
-L/usr/local/lib) works... yes
checking whether the C++ compiler (c++ -Wall -ansi -pedantic 
-L/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking whether the C++ compiler understands 'bool'... yes
checking whether the C++ compiler understands new-style casts... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) no
checking for gettext in -lintl... (cached) no
checking for gettext... (cached) no
checking for xgettext... no
checking for gettext... no
checking for msgmerge... no
checking for msgfmt... no
checking for bison... (cached) bison -y
checking for perl... (cached) /usr/bin/perl
checking for pod2man... (cached) /usr/bin/pod2man
checking for sed... (cached) /usr/bin/sed
checking for date... (cached) date
checking for mkdep... (cached) mkdep
checking for mkid... no
checking for gtar... (cached) tar
checking for gzip... (cached) gzip
checking for lint... no
checking for makeinfo... no
configure: warning:
         The makeinfo program could not be found. This isn't critical,
         but it means that you won't be able to create releases with
         "make dist".
checking for texi2dvi... no
checking for tex... no
configure: warning:
         The texi2dvi program could not be found. This isn't critical,
         but it means that you won't be able to create releases with
         "make dist".
checking for dvips... no
configure: warning:
         The dvips program could not be found. This isn't critical,
         but it means that you won't be able to create releases with
         "make dist".
checking for texi2html... (cached) texi2html
checking for yyerror in -ly... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for d_type in struct dirent... (cached) yes
checking for fcntl.h... (cached) yes
checking for libintl.h... (cached) no
checking for locale.h... (cached) yes
checking for resolv.h... (cached) yes
checking for strings.h... (cached) yes
checking for stropts.h... (cached) no
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/sockio.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for inline... (cached) __inline__
checking for working const... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for socklen_t... (cached) no
checking for sa_len in struct sockaddr... (cached) yes
checking for struct sockaddr_in6... (cached) yes
checking for fpurge... (cached) yes
checking for getopt... (cached) yes
checking for memcpy... (cached) yes
checking for memset... (cached) yes
checking for bzero... (cached) yes
checking for mkstemp... (cached) yes
checking for select... (cached) yes
checking for rename... (cached) yes
checking for strchr... (cached) yes
checking for strncpy... (cached) yes
checking for cfmakeraw... (cached) yes
checking for socketpair... (cached) yes
checking for usleep... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for snprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for library containing inet_pton... (cached) no
checking for library containing inet_aton... (cached) none required
checking for library containing inet_ntop... (cached) no
checking for library containing inet_ntoa... (cached) none required
checking for library containing gethostbyname2... (cached) none required
checking for library containing gethostbyname... (cached) none required
checking whether ENODEV is defined... (cached) yes
checking whether O_BINARY is defined... no
checking for BSD USB support... no
checking for socks behind the sofa... no
creating ./config.status
creating Make.rules
creating doc/version.texi
creating config.h
config.h is unchanged
Writing Makefile for ColdSync
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell% make
all: Entering directory `./include'
all: Entering directory `./include/pconn'
all: Leaving directory `./include/pconn'
all: Leaving directory `./include'
all: Entering directory `./libpconn'
all: Leaving directory `./libpconn'
all: Entering directory `./libpdb'
all: Leaving directory `./libpdb'
all: Entering directory `./src'
all: Leaving directory `./src'
all: Entering directory `./perl'
all: Entering directory `./perl/ColdSync'
Manifying blib/man3/ColdSync.3
Manifying blib/man3/ColdSync::SPC.3
all: Leaving directory `./perl/ColdSync'
all: Leaving directory `./perl'
all: Entering directory `./conduits'
all: Leaving directory `./conduits'
all: Entering directory `./doc'
true conduits.texi
make[1]: *** No rule to make target `conduits.info-*', needed by `all'.  Stop.
all: Leaving directory `./doc'
all: Entering directory `./i18n'
true -LC++ -s -k_ -kN_ -o messages.po ./../libpconn/PConnection.c 
./../libpconn/PConnection_net.c ./../libpconn/PConnection_serial.c 
./../libpconn/PConnection_usb.c ./../libpconn/cfmakeraw.c 
./../libpconn/cmp.c ./../libpconn/dlp.c ./../libpconn/dlp_cmd.c 
./../libpconn/dlp_rpc.c ./../libpconn/netsync.c ./../libpconn/padp.c 
./../libpconn/palm_errno.c ./../libpconn/slp.c ./../libpconn/util.c 
./../libpdb/pdb.c ./../src/archive.c ./../src/backup.c 
./../src/coldsync.c ./../src/conduit.c ./../src/config.c 
./../src/install.c ./../src/lex.yy.c ./../src/log.c ./../src/misc.c 
./../src/palm.c ./../src/parser.y ./../src/pref.c ./../src/restore.c 
./../src/spc.c ./../src/net_compat.c ./../src/GenericConduit.cc
true -v  -o fr.mo fr.po
true -v  -o de.mo de.po
all: Leaving directory `./i18n'
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell% sudo 
make install
Password:
install: Entering directory `./include'
install: Entering directory `./include/pconn'
install: Leaving directory `./include/pconn'
install: Leaving directory `./include'
install: Entering directory `./libpconn'
install: Leaving directory `./libpconn'
install: Entering directory `./libpdb'
install: Leaving directory `./libpdb'
install: Entering directory `./src'
./../mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 555 coldsync /usr/local/bin/coldsync
install: Leaving directory `./src'
install: Entering directory `./perl'
install: Entering directory `./perl/ColdSync'
Skipping /Library/Perl/ColdSync.pm (unchanged)
Skipping /Library/Perl/ColdSync/.DS_Store (unchanged)
Skipping /Library/Perl/ColdSync/SPC.pm (unchanged)
Installing /usr/share/man/man3/ColdSync.3
Installing /usr/share/man/man3/ColdSync::SPC.3
Writing /Library/Perl/darwin/auto/ColdSync/.packlist
Appending installation info to /System/Library/Perl/darwin/perllocal.pod
install: Leaving directory `./perl/ColdSync'
install: Leaving directory `./perl'
install: Entering directory `./conduits'
for i in send-mail todo-text; do \
         /usr/bin/pod2man $i > $i.1; \
done
./../mkinstalldirs /usr/local/libexec/coldsync /usr/local/man/man1
for i in send-mail todo-text; do \
         /usr/bin/sed 's:#! *[^  ]*\(.*\):#!/usr/bin/perl\1:' \
                 < $i > $i.inst; \
         /usr/bin/install -c -m 555 $i.inst /usr/local/libexec/coldsync/$i; \
         rm -f $i.inst; \
done
for i in send-mail todo-text; do \
         /usr/bin/install -c -m 644 $i.1 /usr/local/man/man1/$i.1; \
done
install: Leaving directory `./conduits'
install: Entering directory `./doc'
true conduits.texi
make[1]: *** No rule to make target `conduits.info-*', needed by 
`install'.  Stop.
install: Leaving directory `./doc'
install: Entering directory `./i18n'
install: Leaving directory `./i18n'
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell% coldsync
Error: Can't open "/dev/palm".
open: No such file or directory
Error: Can't open connection.
[localhost:~/trial coldsync/coldsyncX/coldsync-2.1.2] larsbell%


well that is about all the fun I can take for the minute.

And here is the nitty gritty on my system....

----System Information
Platform: Macintosh
Machine Type: Unidentified (%x) (0)
System Version: 10.0.4
Processor: PowerPC 750
Physical RAM Installed: 196,608K
Total RAM: 2097,148K
TCP/IP Version: OpenTransport A.0.1
Main Video: 32 bit color at 800x600 pixels




-- 

Lars Bell
lars@praestare.com
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.