Discussion:
Freepops Port
(too old to reply)
berbeghe
2004-09-23 21:07:59 UTC
Permalink
Hi guys, I'm an ItBug member , I'm trying to compile an italian
software called Freepops ( freepops.sf.net) on BeOS, this software is
" a POP3 daemon plus a LUA interpreter and some extra libraries for
HTTP and HTML parsing. Its main purpose is translating local POP3
requests to remote HTTP actions on the supported web-mails, but it is
really more flexible. For example there is a plugin to read news from
a website as if they were mails in a mailbox. You can easily extend
FreePOPs on the fly, without even restarting it. You can add a plugin
or modify an existing one simply changing the script file since the
plugins are written in LUA and are interpreted on the fly. "

It's interesting 'cause this program supports most used italian
webmail, but also international services like aol, lycos, gmail,
hotmail, msn and yahoo.

Launching make I found some errors like ld can't load -lcurses...I
didn't find libcurses in no-where in my system, like in the web (
beshare too).
I tried to "bypass" this file removing from makefile, but I receive a
lot of errors... I really don't need libcurses in BeOS like libmath or
I must do something else??

thanx for answers
Earl Colby Pottinger
2004-09-26 22:16:45 UTC
Permalink
Post by berbeghe
Hi guys, I'm an ItBug member , I'm trying to compile an italian
software called Freepops ( freepops.sf.net) on BeOS, this software is
" a POP3 daemon plus a LUA interpreter and some extra libraries for
HTTP and HTML parsing. Its main purpose is translating local POP3
requests to remote HTTP actions on the supported web-mails, but it is
really more flexible. For example there is a plugin to read news from
a website as if they were mails in a mailbox. You can easily extend
FreePOPs on the fly, without even restarting it. You can add a plugin
or modify an existing one simply changing the script file since the
plugins are written in LUA and are interpreted on the fly. "
It's interesting 'cause this program supports most used italian
webmail, but also international services like aol, lycos, gmail,
hotmail, msn and yahoo.
Launching make I found some errors like ld can't load -lcurses...I
didn't find libcurses in no-where in my system, like in the web (
beshare too).
I tried to "bypass" this file removing from makefile, but I receive a
lot of errors... I really don't need libcurses in BeOS like libmath or
I must do something else??
thanx for answers
Search for ncurses on your beos drive, does that one help. Also check
boot/beos/etc I think there was a file there. Last but not less do a search
on www.bebits.com there seems to be some files there.

Earl Colby Pottinger
--
I make public email sent to me! Hydrogen Peroxide Rockets, OpenBeos,
SerialTransfer 3.0, RAMDISK, BoatBuilding, DIY TabletPC. What happened to
the time? http://webhome.idirect.com/~earlcp
berbeghe
2004-09-27 17:43:37 UTC
Permalink
thx for the answer , I've solved the previous problem, and i know i
reached one only warning during the compilation of the program, an
error caused by ( i think ) the lack of implementation of posix
threads on BeOS (pthread_create and pthread_mutex_lock)...i'm not a
programmer, i've read this one on the net ;-)...have you a working
libpthread or a link where i can learn how use native be semaphores
instead pthread?

thx
berbeghe
Jøhnny Fävòrítê (it means "halo, then resonate")
2004-09-28 00:15:43 UTC
Permalink
Post by berbeghe
thx for the answer , I've solved the previous problem, and i know i
reached one only warning during the compilation of the program, an
error caused by ( i think ) the lack of implementation of posix
threads on BeOS (pthread_create and pthread_mutex_lock)...i'm not a
programmer, i've read this one on the net ;-)...have you a working
libpthread or a link where i can learn how use native be semaphores
instead pthread?
that's correct, pthreads is not on beos. read the be book for the
replacement functions. assuming you've gotten beos installed, it will
be at:

file:///boot/beos/documentation/Be%20Book/index.html

you want to look into the kernel kit.

i've used both pthreads and beos threads extensively, and beos threads
beats the pants off pthreads. it wouldn't be too hard to write a
pthreads-compatible layer to go on top of beos threads.

but since you describe yourself as "not a programmer," i'd say the odds
of you getting it working are very small. maybe somebody has already
written a pthreads-to-beos-threads wrapper? you could look around for
other threads-using code that has been ported to beos. but even if you
found something like that, integrating that other program's threading
code with the program you want to port will be non-trivial.
berbeghe
2004-09-28 08:42:36 UTC
Permalink
Post by Jøhnny Fävòrítê (it means "halo, then resonate")
Post by berbeghe
thx for the answer , I've solved the previous problem, and i know i
reached one only warning during the compilation of the program, an
error caused by ( i think ) the lack of implementation of posix
threads on BeOS (pthread_create and pthread_mutex_lock)...i'm not a
programmer, i've read this one on the net ;-)...have you a working
libpthread or a link where i can learn how use native be semaphores
instead pthread?
that's correct, pthreads is not on beos. read the be book for the
replacement functions. assuming you've gotten beos installed, it will
file:///boot/beos/documentation/Be%20Book/index.html
you want to look into the kernel kit.
i've used both pthreads and beos threads extensively, and beos threads
beats the pants off pthreads. it wouldn't be too hard to write a
pthreads-compatible layer to go on top of beos threads.
but since you describe yourself as "not a programmer," i'd say the odds
of you getting it working are very small. maybe somebody has already
written a pthreads-to-beos-threads wrapper? you could look around for
other threads-using code that has been ported to beos. but even if you
found something like that, integrating that other program's threading
code with the program you want to port will be non-trivial.
a senior member of itbug (Andrea Anzani, creator of xrs) has sent me a
working pthread library on beos, then we've solved partially the
problem...now i got an executable and it runs, but there is an error
during authentication...i sent the error log to one of the original
developer of this program, so i wish that i can publish it on bebits
soon...stay tuned

thx

Loading...