freepops

freepops

Postby carodiavolo » Sat Jul 02, 2011 3:41 pm

I'm not so smart in this field, so, before I make some mess... better I ask... :D

I'm going out for summer holidays and usually i keep one PC up to serve freepops (http://www.freepops.org/en/download-linux.shtml) for a couple of email accounts, to keep in sync with my Android phone.

So... i'm askin' to myself (and you) if is possible to compile and make it working that directly on the NAS instead of keeping the PC up at home.


Many thanks for any answer...
carodiavolo
 
Posts: 25
Joined: Fri Jun 03, 2011 9:59 am

Re: freepops

Postby carodiavolo » Sat Jul 02, 2011 5:32 pm

I'm trying to make the brave... ;)

As now, I'm stopping here... any idea ?
Code: Select all
/share/1000/public/freepops-0.2.9 # ./configure.sh linux
/share/1000/public/freepops-0.2.9 # make
Targets are:
  all          - build it (remember to ./configure.sh first)
  clean        - clean the source tree
  distclean    - remove also the dist-* distributions
  realclean    - clean and be ready for building to another arch
  doc          - create developers documentation
  manual       - create user/developers manual
  install      - install it (linux/unix distribution independent)
  uninstall    - uninstall it (linux/unix distribution independent)
  buildfactory - build all distributions

Default is all
building lua
 building liblua5.1... <unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
BusyBox v1.15.3 (2010-03-25 23:49:03 CET) multi-call binary

Usage: ar [-o] [-v] [-p] [-t] [-x] ARCHIVE FILES

Extract or list FILES from an ar archive

Options:
   -o   Preserve original dates
   -p   Extract to stdout
   -t   List
   -x   Extract
   -v   Verbose

ranlib: 'liblua5.1.a': No such file
done.
cp: cannot stat 'src/*.a': No such file or directory
make[4]: *** [src/liblua5.1.a] Error 1
make[3]: *** [all] Error 2
building freepopsd
 building dep for luabox.c
<unknown> tried to exec cc1 but failed (No such file or directory)
 building dep for freepops.c
<unknown> tried to exec cc1 but failed (No such file or directory)
 building dep for engine.c
<unknown> tried to exec cc1 but failed (No such file or directory)
make[2]: *** No rule to make target `.engine.d', needed by `all'.  Stop.
make[1]: *** [src] Error 2
make: *** [help] Error 2
carodiavolo
 
Posts: 25
Joined: Fri Jun 03, 2011 9:59 am

Re: freepops

Postby fvdw » Sat Jul 02, 2011 8:06 pm

there is no compiler installed present in the firmware. To use it as compiler and commands like "make" you need to set up some special features, and extra librairies, not easy to explain. I will see if I can compile it for you one of these days

I looked at freepops and found it is a pop3 server. Don't know if it will work on our Nas, can take some time

---

* What is this? *

FreePOPs is an extensible pop3 server. Its main purpose is to provide a pop3
interface to a webmail.

*
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: freepops

Postby fvdw » Sat Jul 02, 2011 9:28 pm

I tried to compile it, but there is a problem with the source code, the routine getdate_lua.c is causing problems


Code: Select all
/share/1000/public/freepops-0.2.9 # ./configure.sh linux
/share/1000/public/freepops-0.2.9 # make
Targets are:
  all          - build it (remember to ./configure.sh first)
  clean        - clean the source tree
  distclean    - remove also the dist-* distributions
  realclean    - clean and be ready for building to another arch
  doc          - create developers documentation
  manual       - create user/developers manual
  install      - install it (linux/unix distribution independent)
  uninstall    - uninstall it (linux/unix distribution independent)
  buildfactory - build all distributions

Default is all
building lua
 building liblua5.1... done.
building luasocket
 building luasocket... buffer.c: In function `buffer_meth_send':
buffer.c:83: warning: unused variable `tm'
buffer.c: In function `buffer_meth_receive':
buffer.c:114: warning: unused variable `tm'
done.
building luay
 building dep for luay.c
 compiling luay.c -> luay.c: In function `luay_printstack':
luay.c:77: warning: long unsigned int format, size_t arg (arg 3)
luay.o
 linking libluay.a
building luabind
 building dep for luabind.c
 compiling luabind.c -> luabind.o
 linking libluabind.a
building oscompatibility
 building dep for win32_compatibility.c
 building dep for c99_compatibility.c
 building dep for beos_compatibility.c
 compiling beos_compatibility.c -> beos_compatibility.o
 compiling c99_compatibility.c -> c99_compatibility.o
 compiling win32_compatibility.c -> win32_compatibility.o
 linking liboscompatibility.a
building regularexp
 building dep for regularexp.c
 compiling regularexp.c -> regularexp.o
 linking libregularexp.a
building log
 building dep for log.c
 compiling log.c -> log.o
 linking liblog.a
building base64
 building dep for base64.c
 compiling base64.c -> base64.o
 linking libbase64.a
building list
 building dep for list.c
 compiling list.c -> list.o
 linking liblist.a
building mlex
 building dep for mlex.c
 compiling mlex.c -> mlex.o
 linking libmlex.a
building pid
 building dep for pid.c
 compiling pid.c -> pid.o
 linking libpid.a
building lock
 building dep for lock.c
 compiling lock.c -> lock.o
 linking liblock.a
building dictionary
 building dep for dictionary.c
 compiling dictionary.c -> dictionary.o
 linking libdictionary.a
building stats_lua
 building dep for stats_lua.c
 compiling stats_lua.c -> stats_lua.o
 linking libstats_lua.a
building session
 building dep for session.c
 compiling session.c -> session.c: In function `session_load_and_lock':
session.c:91: warning: dereferencing type-punned pointer will break strict-aliasing rules
session.o
 linking libsession.a
building portablesocket
 building dep for socketcommon.c
 building dep for altsocklib.c
 compiling altsocklib.c -> altsocklib.o
 compiling socketcommon.c -> socketcommon.o
 linking libportablesocket.a
building pop3server
 building dep for threads.c
 building dep for popstate.c
 building dep for popserver.c
 compiling popserver.c -> popserver.o
 compiling popstate.c -> popstate.o
 compiling threads.c -> threads.o
 linking libpop3server.a
building pop3server_lua
 building dep for pop3server_lua.c
 compiling pop3server_lua.c -> pop3server_lua.o
 linking libpop3server_lua.a
building session_lua
 building dep for session_lua.c
 compiling session_lua.c -> session_lua.o
 linking libsession_lua.a
building serialize_lua
building log_lua
 building dep for log_lua.c
 compiling log_lua.c -> log_lua.o
 linking liblog_lua.a
building mlex_lua
 building dep for mlex_lua.c
 compiling mlex_lua.c -> mlex_lua.o
 linking libmlex_lua.a
building support_lua
building getdate
 compiling getdate.y -> getdate.o
getdate.y:120:1: warning: "yyparse" redefined
getdate.c:62:1: warning: this is the location of the previous definition
getdate.y:121:1: warning: "yylex" redefined
getdate.c:63:1: warning: this is the location of the previous definition
getdate.y:122:1: warning: "yyerror" redefined
getdate.c:64:1: warning: this is the location of the previous definition
getdate.y:123:1: warning: "yylval" redefined
getdate.c:65:1: warning: this is the location of the previous definition
getdate.y:124:1: warning: "yychar" redefined
getdate.c:66:1: warning: this is the location of the previous definition
getdate.y:125:1: warning: "yydebug" redefined
getdate.c:67:1: warning: this is the location of the previous definition
getdate.y:135:1: warning: "yynerrs" redefined
getdate.c:68:1: warning: this is the location of the previous definition
getdate.c: In function `Curl_gd_parse':
getdate.c:1486: warning: comparison of unsigned expression >= 0 is always true
 linking libgetdate.a
building getdate_lua
 building dep for getdate_lua.c
 compiling getdate_lua.c -> getdate_lua.o
 linking libgetdate_lua.a
building luacurl
 compiling lua-curl.c -> lua-curl.c: In function `L_checkconst':
lua-curl.c:425: warning: comparison between signed and unsigned
lua-curl.c: At top level:
lua-curl.c:445: warning: unused parameter 't'
lua-curl.o
 linking libluacurl.a
building browser_lua
building stringhack_lua
 building dep for stringhack_lua.c
 building dep for lstringhack.c
 compiling lstringhack.c -> lstringhack.o
 compiling stringhack_lua.c -> stringhack_lua.o
 linking libstringhack_lua.a
building portablesocket_lua
building base64_lua
 building dep for base64_lua.c
 compiling base64_lua.c -> base64_lua.o
 linking libbase64_lua.a
building mimer_lua
building commonimpl_lua
building regularexp_lua
 building dep for regularexp_lua.c
 compiling regularexp_lua.c -> regularexp_lua.o
 linking libregularexp_lua.a
building luaexpat
 compiling lxplib.c -> lxplib.o
 linking libluaexpat.a
building xmltables_lua
building httpmail_lua
building crypto_lua
 building dep for crypto_lua.c
 compiling crypto_lua.c -> crypto_lua.c:149: warning: unused parameter 'L'
crypto_lua.o
 linking libcrypto_lua.a
building luafilesystem
 compiling lfs.c -> lfs.o
 linking libluafilesystem.a
building plugins2xml_lua
building version_comparer_lua
building updater_lua
building xml2tex_lua
building luasoap
building dpipe_lua
 building dep for dpipe_lua.c
 compiling dpipe_lua.c -> dpipe_lua.o
 linking libdpipe_lua.a
building lwel
 building lwel.a... done.
building lgettext
 building dep for lgettext.c
 compiling lgettext.c -> lgettext.o
 linking liblgettext.a
building smartlog_lua
building freepopsd
 building dep for luabox.c
 building dep for freepops.c
 building dep for engine.c
 compiling engine.c -> engine.o
 compiling freepops.c -> freepops.o
 compiling luabox.c -> luabox.o
 linking ../modules/lib/libgetdate_lua.a(getdate_lua.o): In function `L_getdate':
/share/1000/public/freepops-0.2.9/modules/src/getdate_lua/getdate_lua.c:27: undefined reference to `gd_getdate'
collect2: ld returned 1 exit status
make[2]: *** [freepopsd] Error 1
make[1]: *** [src] Error 2
make: *** [help] Error 2
/share/1000/public/freepops-0.2.9 #
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: freepops

Postby carodiavolo » Sun Jul 03, 2011 5:12 am

fvdw wrote:---

* What is this? *

FreePOPs is an extensible pop3 server. Its main purpose is to provide a pop3
interface to a webmail.

*


Is used to download emails from providers that doesn't permit to use POP when connected from other providers (like libero in Italy).
When you are connected by another provider you can use only webmail.
So freepops is a trick to go around this limit.

BTW don't waste alot of time, I will keep my PC on 24/7 as ever... :D

Many thanks again :mrgreen:
carodiavolo
 
Posts: 25
Joined: Fri Jun 03, 2011 9:59 am

Re: freepops

Postby fvdw » Sun Jul 03, 2011 2:24 pm

on short term I can not solve it, but I will put it on the wish list, could a nice feature
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 7 guests