100% Linux Addict

Just another WordPress.com weblog

Cafe Con Leche – Ubuntu How To

Cafe Con Leche actually is a library project that intends to make the development of internet cafe programs easier, it consists of two library : libccls is used to make the server part, and libcclc is used to make the client. But The developers also made a GPL version Billing based on these library called CCLFox.

CCL is very popular here in Indonesia where Internet Cafes are starting to turn to Free Open Source Operating System since Microsoft and the Police starts sweeping internet cafes for illegal use of Microsoft Windows. But nonetheless it’s hard to find a How to on installing and using libCCL and CCLfox, especially on Ubuntu, I’ve done some googling last night and didn’t find anything satisfying. I’ve found some very good reference tough, like the one one linux.or.id and at Mr.Handri’s Blog.This How To is actually based on Linux Mint 3.0 but i think it’ll work just fine on Fiesty and you can download CCL here.

==Common Installation==

Both side of the application (client & server) has to meet their depdencies, since this is not a debian package, we have to install the dependencies manually. CCL depdencies are

  • sqlite3
  • glib2.0
  • libfox1.4
  • openssl

so on both computer (clien & server) run these command :

$ sudo apt-get install sqlite3 libsqlite3-dev

$ sudo apt-get install libfox1.4 libfox1.4-dev

$ sudo apt-get install libglib2.0-dev

$ sudo apt-get install libssl-dev

Don’t forget the build essentials for compiling from source :

$sudo apt-get install build-essential

Then edit your /etc/ld.so.conf file with :

$gksudo gedit /etc/ld.so.conf

and add these lines :

/usr/lib
/usr/local/lib

Then execute this :

$sudo ldconfig

== Billing Server ==

for the server side you’ll need these to files :

cclfox-0.7.0.tar.bz2
libccls-0.7.0.tar.bz2

Put these files on your home folder an do these steps :

$tar -xjvf libccls-0.7.0.tar.bz2
$cd libccls-0.7.0
$./configure
$make
$sudo make install
$cd ..
$tar -xjvf cclfox-0.7.0.tar.bz2
$cd cclfox-0.7.0
$./configure
$make
$sudo make install

Then create a launcher on your desktop and add :

cclfox -nossl

on the “command” text box

== Billing Client ==

for the server side you’ll need these to files :

cclcfox-0.7.0.tar.bz2
libcclc-0.7.0.tar.bz2

Put these files on your home folder an do these steps :

$tar -xjvf libcclc-0.7.0.tar.bz2
$cd libcclc-0.7.0
$./configure
$make
$sudo make install
$cd ..
$tar -xjvf cclcfox-0.7.0.tar.bz2
$cd cclcfox-0.7.0
$./configure
$make
$sudo make install

Then create a launcher on your desktop and add :

cclcfox -host <server’s ip> -name <client name> -nossl

on the “command” text box

That’s about it! Now my internet cafe is 100% sugar *M$* free!

Trouble Shooting :

this errors bellow usually happens because we have installed the depdencies but we didn’t installed the dev of the library that is used for compiling the CCL from source :

  1. configure: error: please install openssl
    cure : $sudo apt-get install libssl-dev
  2. configure: error: please install sqlite3
    cure : $sudo apt-get install libsqlite3-dev
  3. configure: error: please install glib
    cure : $sudo apt-get install libglib2.0-dev
  4. configure: error: please install fox
    cure : $sudo apt-get install libfox1.4-dev
  5. configure: error: installation or configuration problem: C++ compiler cannot create executables.
    cure :$sudo apt-get install build-essential

If you find any error please let me know, and forgive my english, it’s getting rusty :p

Freedom!

August 23, 2007 - Posted by yogharp | How To, Ubuntu, Waskita.Net | | 41 Comments

41 Comments »

  1. Thanks infonya, sngt jelas dan rinci, bagus buat tambahan belajar.
    Btw, artikelnya muncul di tuxmachines lho :)

    http://www.tuxmachines.org/node/19330

    Salam,

    Comment by heri | August 23, 2007 | Reply

  2. Thanx bro!

    Masa? TuxMachines.co? gila aje.. belum ada 2 jam gwe post :D

    Semoga bermanfaat

    Comment by yogharp | August 23, 2007 | Reply

  3. Good Article.
    I’m trying to install in an AMD64 running KUBUNTU.
    The ccl libs are in /usr/local/lib. I’ve checked.

    The .conf refers to everything in conf.d/
    And there is only one file there called x86_64-linux-gnu.
    with 2 lines :
    /lib/x86_64-linux-gnu
    /usr/lib/x86_64-linux-gnu

    I don’t know if adding another file (“ccllibs”, for example), with the ccl paths in it, would work. Or would it cause confusion, havoc, and widespread meltdown ?

    Thanks to you, I now know why I was getting a “cannot open shared libcclc.so.0″ message.

    Thanks!

    Comment by M.Madeira | October 8, 2007 | Reply

  4. I have installed the CCLFOX timer but i noticed a problem but Im not sure if its my configuration or what. How does one end the session and will still start the time.
    Then secondly If you end the session withought exiting the programs that I was using the timer doesnt exit the running programs for me. How can I go about this?

    Comment by David | October 29, 2007 | Reply

  5. numpang baca2 ..
    lumayan walo blum sempat install billing nya …
    gw belum punya warnet siii nii ..tp udah menggebu2 gitu mo buka warnet ..:D:D:D
    peace ..:)

    Comment by coe2h | December 6, 2007 | Reply

  6. Hi

    I am testing CCL on my computer i have installed both the server and client on one machine. My question is can it work on one machine.
    Note everything installed perfectly i created the launchers on my desktop

    The launchers are not working what is the problem. The error message when i run the command on the terminal is (libcclc.so.0: cannot open shared object file)

    How do i solve this

    Comment by Kush | December 21, 2007 | Reply

  7. i have jst tried to follow your procedure on how to install ccl but i got lost on edit…… excute….. and add these lines……….. pliz im not good with ubuntu can i pliz get a detailed guidelined but thanx very much for this

    Comment by dicko | January 8, 2008 | Reply

  8. I have managed to install the server.

    – The client is not installing on the client computer. It gets stuck at the point when I am to put
    $sudo apt-get install build-essential.
    It then tells me to put Ubuntu CD 7.1, and press enter like it did on the server. But even if I put the CD and press enter it keeps on giving the same message and nothing is happening . please help.

    Comment by otoyo | January 17, 2008 | Reply

  9. Hi, am so happy now that am on the right track on installing the Cafe Con Leche. The only problem is that when i create the laucher for the client it doesnt respond at all. I have tried to put in the command text box for the laucher :cclcfox -host -name -nossl but i seem to be getting nowhere. Please do help me and if possible give me an example. My server part of CCL is working Okay with the launger.

    Thanks
    you get 5 cups of ubuntu from kenya.

    Comment by JP | January 25, 2008 | Reply

  10. i was stuck to the adding of launcher and the error says:

    There was an error launching the application…
    details: failed to execute child process
    “cclfox”(no such file or directory)..pls help i need this program badly and thanks for the reply….best regards

    Comment by boyet | January 30, 2008 | Reply

  11. hey jp do you have i dea on what happened to my server side launcher? i did what the instructions above and am stuck to the server side launcher…can i have some help?

    Comment by boyet | January 30, 2008 | Reply

  12. hey guys, i managed to install the billing server without any problems but i cant get my launcher to work. Am running on Kubuntu 7.10. Help will be much appreciated.

    Comment by lex | January 31, 2008 | Reply

  13. my question is simple the GUI for ccl server and client is not appearing further more the launcher icon appearing on my desktop

    Comment by george mwaura | February 6, 2008 | Reply

  14. Hi guys,

    Finally got the CCL working…..however got (read download) some deb packages which only work in Ubuntu 7.10. Does anyone have the 6.06 LTS ones? Can’t seem to compile successfully………Also the GUI is in Indonesian….any way i could change that to english?

    Thanx alot!

    Comment by Ben Nzomo | February 13, 2008 | Reply

  15. how do i update kubuntuhow do i update coz anytime i say sudo apt-get install update it doesent work

    Comment by edu | February 23, 2008 | Reply

  16. Thanks alot man! am about to revolutionise how guys access internet cafe’ in my country, Am a novice in the Linux world but I have come to love Ubuntu, pliz let me know of the new staff or of the staff you got in your closet.

    Comment by Decryptor | March 2, 2008 | Reply

  17. How do i show daily reports.?

    Comment by maina | March 11, 2008 | Reply

  18. hey guys, im having the same problem where i managed to install the billing server without any problems but i cant get my launcher to work. Coul someone please help me with that?

    Comment by pretz | March 16, 2008 | Reply

  19. cclcfox -host -name -nossl
    how it works on DHCP networks like speedy?
    or should we change the ip adress to static mode?
    Please help me…

    Comment by abu haya | April 5, 2008 | Reply

  20. ya,

    better change to IP address static mode.

    Comment by panggiring | April 20, 2008 | Reply

  21. how to configure scanner and printer to linux

    Comment by kiki | May 13, 2008 | Reply

  22. how do we clear the logs for the day

    Comment by peters | May 14, 2008 | Reply

  23. thank’s for yours articel. good job man.

    Comment by cukupcs | May 15, 2008 | Reply

  24. If i have these depedencies on cd what command do i use to install them.
    * sqlite3
    * glib2.0
    * libfox1.4
    * openssl

    Comment by Jaymo | May 17, 2008 | Reply

  25. hi guys pls in want to known the starting point on who to intall both client and server which file to start with and which to end with when iam intalling both client and serve. pls help me good teachers iam from nairobi kenya

    Comment by david | May 23, 2008 | Reply

  26. well.ive installed cafe con leche on ubuntu 7.01 successfully but seems it doesnt work on ubuntu 8.04.anyone with the knowhow would be of much assistance.Am even thinking of uninstalling ubuntu 8.04,its got issues with”unable to resolve host”managed to remove the error but eventually its back again.HELP PLEASE

    Comment by dandan | May 25, 2008 | Reply

  27. I have managed to install cclfox server but now how to create the launcher on desktop.

    please do assist.

    Comment by sam | June 11, 2008 | Reply

  28. Thanks alot man, have always wondered of where to find these kind of ideas. Please send me your personal email address to mine which is jknkings@yahoo.co.uk because i will need much of your help.

    Comment by Joseph | June 16, 2008 | Reply

  29. Hi guys, anyone know how to solve this error?
    “zygo@zygo-1:~$ cclcfox -host 192.168.0.251 -name Imanu -nossl
    cclcfox: error while loading shared libraries: libcclc.so.0: cannot open shared object file: No such file or directory”

    Comment by JAred | June 26, 2008 | Reply

  30. Do a “sudo ldconfig” and the shared library error is gone!

    Comment by Wycliffe | July 28, 2008 | Reply

  31. hello guys gud day..
    I’m novice with this linux. i’m trying to install the ccl.. as it was directed i just follow the intruction given on this site..
    i download already all the ccl depdencies… i’m stacked now on how to edit “/etc/ld/so.conf file with: …. and so.. i dont know where to edit…

    pls help.. thanks..

    Comment by blinx356 | August 5, 2008 | Reply

  32. Hi, I saw this installed in one of the Cybers in Europe and decided to try it back home. Am implementing this in Ubuntu Hardy Heron. But unfortunately when i run ./configure i get this error:

    checking for g_malloc0 in -lglib-2.0… no
    configure: error: please install glib

    I tried running the cure:
    sudo apt-get install libglib2.0-dev
    I get:
    E: Couldn’t find package libglib2.0-dev

    In any case Glib is already installed when i check from Synaptic package manager. I also try to download manually the .deb package but i get ”A later version is already installed”

    How can i sort out this problem?
    Am looking forward to having this working in my country. Thank you.

    Comment by Bilal | September 2, 2008 | Reply

  33. Hi Good People,

    Kindly help sort out
    1. Generation of Reoprts
    2. Creation of a debian Package to automate installation – though not necessary to those who can manage installation

    CCL – works well on Ubuntu 8.04

    Comment by weezy | November 5, 2008 | Reply

  34. Hi,

    Ubuntu 8.04

    Everything went well with the install of the server side of CCL.

    But on the client side it is much different.

    I am typing in the following line in a terminal window:
    cclcfox -host 192.168.2.40 -name pc45 -nossl

    I then sit back and wait. It repeatedly tries to find the server.

    Maybe somebody can clarify the syntax of this command. Especially the IP address and the name.

    Do I need to set the ipaddress of the server (and if so, how?).
    Do I have to give the name of the server or client? (I assume that this name should be the one shown in a terminal window?)

    I’m sure that I am missing the obvious, but I just can’t get it to work!

    Any help would be much appreciated.

    Comment by Daoud | November 7, 2008 | Reply

  35. Hello All

    I am experimenting with ZenCafe right now, will try Ubuntu later.

    Does anyone have any instructions for the end-user to operate CCL?

    Any one willing to co-operate in making some?

    Thank you

    Comment by StephenW | January 22, 2009 | Reply

  36. Thanks i have managed to install ccl server and workstation the price configaration is a bit of a problem please advice

    Comment by kimesh | February 26, 2009 | Reply

  37. ave goT A PROBLEM WITH cafe con leche its not detailing the amount used when serving the clients and its marking the clients with x

    Comment by kevin mariga | May 10, 2009 | Reply

  38. How does one setup minimum amount in ccl. I want to setup minimum to say 10. My browsing time is .50 per minute. Thanks.

    Comment by maish | June 1, 2009 | Reply

  39. i have this problem in my installation, i have ubuntu 9.04

    rwyz@rwyz-laptop:~/cclfox-0.7.0$ make

    CCLWin.cpp:853: error: la conversión de ‘void*’ a ‘int’ pierde precisión
    CCLWin.cpp:858: error: la conversión de ‘void*’ a ‘int’ pierde precisión
    make[1]: *** [CCLWin.o] Error 1
    make[1]: se sale del directorio `/home/rwyz/cclfox-0.7.0/src’
    make: *** [install-recursive] Error 1

    Comment by ramses | June 3, 2009 | Reply

  40. Hi yogharp, I had been trying to install and test the ccl in my company’s cybercafe following your steps, but the thing is after installation both server n client doesn’t recognise each other….

    interface on server program doesn’t appear any clients….

    looking forward for your reply asap, thank you!

    Comment by Antonio | June 11, 2009 | Reply

  41. please help me i try install but that happen

    creating po/POTFILES
    creating po/Makefile
    creating po/POTFILES
    setting ALL_LINGUAS in configure.in is obsolete
    creating po/Makefile

    Comment by jose | August 27, 2009 | Reply


Leave a comment