I have to declare I am new to trying to compile packages,.. but feel I am going round in circles getting no-where due to lack of knowledge and understanding.
This reports errors as follows:-
checking glcdproclib/glcdprocdriver.h usability... no
checking glcdproclib/glcdprocdriver.h presence... no
checking for glcdproclib/glcdprocdriver.h... no
configure: WARNING: The glcdlib driver needs glcdproclib/glcdprocdriver.h
checking ncurses.h usability... no
checking ncurses.h presence... no
.
.
.
checking for curses.h... no
checking for main in -lncurses... no
checking for main in -lcurses... no
configure: WARNING: The curses driver needs the curses (or ncurses) library.
checking for acs_map in curses.h... no
checking for _acs_char in curses.h... no
.
.
LCDd will be compiled with the drivers:
- glcd
- text
So,.. apparently I am missing "glcdproclib",.. I have duly found and downloaded this library,. and tried to install that.... (glcdprocdriver-0.1.0.tar.bz2)
I have muddled around with glcdgraphics,..pulled a folder including font.h in,.. then just copied font.h into the current working folder,.. to get through the make to work,... ( do I need to set LIBRARY_PATH ?)
in desperation I have installed LCDproc from source tree,.. including additional driver bits,.. so I think I have well and truly confused my system.
Can someone pls advise what I should download,... and then how to compile for GLCD2USB display, in the mean time I will delete my virtual mint system and install a fresh... so clean slate..
My thanks to anyone who can help me...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please do not get confused with 'glcd' and 'glcdlib' drivers. They are a totally different thing! glcdlib is a bridge to graphlcd. Is is not necassary for building and/or using the glcd driver.
Yes, I acknowledge this should be changed in some future version to avoid that kind of confusion.
However, if you really want to use something that graphlcd provides, you need that and glcdprocdriver package first. But I cannot help with both of them.
Note that the glcd2usb device will not work with libusb-1.x, it still builds on top of the legacy libusb-0.1 library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK many thanks for the feedback....
Darn,.. :-) the one thing I had done that actually worked, Tried to sudo make remove,.. no such rule ( was just hopeful),.. so how do I remove the 1.09 library,.. just delete the libusb references in /usr/lib/local/lib.
OK so started install glcdprocdriver-0.1.0,.. rane "make" and failed as follows
g++ -c -fPIC -g -O2 -Wall -Woverloaded-virtual glcdprocdriver.c -o glcdprocdriver.o
In file included from glcdprocdriver.c:13:0:
glcddriver.h:11:31: fatal error: glcdgraphics/font.h: No such file or directory
#include <glcdgraphics font.h="">
^
compilation terminated.</glcdgraphics>
Now I have found the font.h file,.. but inserting into the glcdprocdriver file structure ( as ./glcdgraphics/font.h) does not just fix the above error,.... Now I am totally lost so to say,.. do I need to use LIBRARY_PATH or something,.. what/where is the complier looking,.. my knowledge here has run out,.. sorry.
Rgds
Last edit: diyhouse 2014-09-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
progress!!!,.. probably bordering on success!! Yippee!!
Used the correct usb library libusb-compat-0.1.4,.. configs and makes fine.
Then running
./configure --prefix=/usr/local --enable-drivers=glcd,text,curses
make and make install within the lcdproc structure then all works...
Running sudo LCDd and sudo lcdproc,.. display starts working and cycling through the default screens,.. although time is small font,... need to look at this..
but thanks again
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have to declare I am new to trying to compile packages,.. but feel I am going round in circles getting no-where due to lack of knowledge and understanding.
Please Help,... getting frustrated.............................................
To start compiling LCDproc I am using:
./configure --prefix=/usr/local --enable-drivers=glcd,glcdlib,text,curses
This reports errors as follows:-
checking glcdproclib/glcdprocdriver.h usability... no
checking glcdproclib/glcdprocdriver.h presence... no
checking for glcdproclib/glcdprocdriver.h... no
configure: WARNING: The glcdlib driver needs glcdproclib/glcdprocdriver.h
checking ncurses.h usability... no
checking ncurses.h presence... no
.
.
.
checking for curses.h... no
checking for main in -lncurses... no
checking for main in -lcurses... no
configure: WARNING: The curses driver needs the curses (or ncurses) library.
checking for acs_map in curses.h... no
checking for _acs_char in curses.h... no
.
.
LCDd will be compiled with the drivers:
- glcd
- text
So,.. apparently I am missing "glcdproclib",.. I have duly found and downloaded this library,. and tried to install that.... (glcdprocdriver-0.1.0.tar.bz2)
I have muddled around with glcdgraphics,..pulled a folder including font.h in,.. then just copied font.h into the current working folder,.. to get through the make to work,... ( do I need to set LIBRARY_PATH ?)
in desperation I have installed LCDproc from source tree,.. including additional driver bits,.. so I think I have well and truly confused my system.
Can someone pls advise what I should download,... and then how to compile for GLCD2USB display, in the mean time I will delete my virtual mint system and install a fresh... so clean slate..
My thanks to anyone who can help me...
OK I now have a clean Mint-17 system, with all updates applied, "Build-essentials" loaded.
have installed libusb-1.0.9,.. ./configure, make, make install,.. and that seems OK,..
have tried LCDproc,.. and that fails as described above.
Should I now install glcdprocdriver-0.1.0.tar.bz2 and work the font.h issues... ( assuming there still present)
Tx
Please do not get confused with 'glcd' and 'glcdlib' drivers. They are a totally different thing! glcdlib is a bridge to graphlcd. Is is not necassary for building and/or using the glcd driver.
Yes, I acknowledge this should be changed in some future version to avoid that kind of confusion.
However, if you really want to use something that graphlcd provides, you need that and glcdprocdriver package first. But I cannot help with both of them.
Note that the glcd2usb device will not work with libusb-1.x, it still builds on top of the legacy libusb-0.1 library.
OK many thanks for the feedback....
Darn,.. :-) the one thing I had done that actually worked, Tried to sudo make remove,.. no such rule ( was just hopeful),.. so how do I remove the 1.09 library,.. just delete the libusb references in /usr/lib/local/lib.
OK so started install glcdprocdriver-0.1.0,.. rane "make" and failed as follows
g++ -c -fPIC -g -O2 -Wall -Woverloaded-virtual glcdprocdriver.c -o glcdprocdriver.o
In file included from glcdprocdriver.c:13:0:
glcddriver.h:11:31: fatal error: glcdgraphics/font.h: No such file or directory
#include <glcdgraphics font.h="">
^
compilation terminated.</glcdgraphics>
Now I have found the font.h file,.. but inserting into the glcdprocdriver file structure ( as ./glcdgraphics/font.h) does not just fix the above error,.... Now I am totally lost so to say,.. do I need to use LIBRARY_PATH or something,.. what/where is the complier looking,.. my knowledge here has run out,.. sorry.
Rgds
Last edit: diyhouse 2014-09-22
sorry about previous formatting,.. corrected now,.. don't know what happened.... nothing intentional
Markus,. Tx for the pointers,....
progress!!!,.. probably bordering on success!! Yippee!!
Used the correct usb library libusb-compat-0.1.4,.. configs and makes fine.
Then running
./configure --prefix=/usr/local --enable-drivers=glcd,text,curses
make and make install within the lcdproc structure then all works...
Running sudo LCDd and sudo lcdproc,.. display starts working and cycling through the default screens,.. although time is small font,... need to look at this..
but thanks again