LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installation of libcclc-0.7.1 for cleint billing (https://www.linuxquestions.org/questions/linux-software-2/installation-of-libcclc-0-7-1-for-cleint-billing-4175470737/)

mutetikasikali 07-24-2013 06:42 AM

Installation of libcclc-0.7.1 for cleint billing
 
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/libcclc-0.7.1$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

cd cclcfox-0.7.1(make & sudo make install) :-comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ make
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT cclcfox.o -MD -MP -MF ".deps/cclcfox.Tpo" -c -o cclcfox.o cclcfox.cpp; \
then mv -f ".deps/cclcfox.Tpo" ".deps/cclcfox.Po"; else rm -f ".deps/cclcfox.Tpo"; exit 1; fi
cclcfox.cpp: In member function ‘void CCLCFox::showMessage(char*)’:
cclcfox.cpp:272:76: warning: format not a string literal and no format arguments [-Wformat-security]
cclcfox.cpp: In member function ‘void CCLCFox::turnOffMonitor()’:
cclcfox.cpp:261:32: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
cclcfox.cpp: In member function ‘void CCLCFox::rebootSystem()’:
cclcfox.cpp:231:25: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
cclcfox.cpp: In member function ‘void CCLCFox::shutdownSystem()’:
cclcfox.cpp:201:23: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cpp; \
then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT locker.o -MD -MP -MF ".deps/locker.Tpo" -c -o locker.o locker.cpp; \
then mv -f ".deps/locker.Tpo" ".deps/locker.Po"; else rm -f ".deps/locker.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [all-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ make
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [all-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ sudo make install
Making install in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making install in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making install in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [install-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ cd cclcfox-0.7.1
Please Advice

TB0ne 07-24-2013 09:05 AM

Quote:

Originally Posted by mutetikasikali (Post 4995803)
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/libcclc-0.7.1$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

Please Advice

"Please advice" with WHAT?? You don't tell us what version/distro of Linux you're running, where you got this particular libcclc package, why you're not installing from a package, what the installation guide/notes tell you, what you've actually done, etc. Wild guess: try installing/making as root.

And if you're talking about the Cafe Con Leche project:
http://ccl.sourceforge.net/index.php?page=download

...did you read the part on their webpages where they TELL YOU that the project is very old, unmaintained, and TELL YOU AN ALTERNATIVE???
Quote:

Originally Posted by CCL Webpage
This project has been unmantained for a while, please take a look at mkahawa for an improved and actively mantained version of CCL. Thanks. -- BD



All times are GMT -5. The time now is 09:17 PM.