Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Mon Aug 27, 2012 9:11 pm

hd44780.so (I got a couple of digits reversed). But you are missing that particular file anyway, and I see the hd44780-rpi sources didn't get compiled. Clearly there was a compile time error that you failed to spot and comprehend and compounded it by ignoring the errors from attempting a "make install".

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 9:16 pm

at which stage would this error have occured?

theres alot of information sprouting on screen when doing this so its actually quite easy to miss a couple of errors.

if i know at which stage then i get start over and keep an eye on any and all errors and try and work it out from there.

but perhaps some more....refined and detailed instructions would be useful? simple is good but if somethings too simple it can leave out vital information

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 10:19 pm

clearly, its clear to you but i didnt manage to spot that and i've been trawling over the directories trying to work this out. goes to show my know how isnt as good as yours by any measure.

heres the logs for redoing this all again: (absolutely clean install of raspbmc, nothing changed/modified) which is for my use and if you can see something thats not right, feel free to point it out.

step 1 (obtain gcc, make, cvs, patch, autoconf, automake)

Code: Select all

root@raspbmc:/home/pi# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.6 gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
Suggested packages:
  binutils-doc cpp-doc gcc-4.6-locales gcc-multilib make manpages-dev autoconf
  automake1.9 libtool flex bison gdb gcc-doc libmudflap0-4.6-dev gcc-4.6-doc
  libgcc1-dbg libgomp1-dbg libquadmath-dbg libmudflap0-dbg binutils-gold
The following NEW packages will be installed:
  binutils cpp cpp-4.6 gcc gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 34.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main libgmp10 armhf 2:5.0.5+dfsg-2 [208 kB]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main libgomp1 armhf 4.7.1-2+rpi1 [28.3 kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main libmpfr4 armhf 3.1.0-5 [524 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main libmpc2 armhf 0.9-4 [32.0 kB]
Get:5 http://archive.raspbian.org/raspbian/ wheezy/main binutils armhf 2.22-6.1 [4527 kB]
Get:6 http://archive.raspbian.org/raspbian/ wheezy/main cpp-4.6 armhf 4.6.3-8+rpi1 [4248 kB]
Get:7 http://archive.raspbian.org/raspbian/ wheezy/main cpp armhf 4:4.6.3-7 [16.6 kB]
Get:8 http://archive.raspbian.org/raspbian/ wheezy/main gcc-4.6 armhf 4.6.3-8+rpi1 [4467 kB]
Get:9 http://archive.raspbian.org/raspbian/ wheezy/main gcc armhf 4:4.6.3-7 [5010 B]
Fetched 14.1 MB in 17s (817 kB/s)
Selecting previously unselected package libgmp10:armhf.
(Reading database ... 23082 files and directories currently installed.)
Unpacking libgmp10:armhf (from .../libgmp10_2%3a5.0.5+dfsg-2_armhf.deb) ...
Selecting previously unselected package libgomp1:armhf.
Unpacking libgomp1:armhf (from .../libgomp1_4.7.1-2+rpi1_armhf.deb) ...
Selecting previously unselected package libmpfr4:armhf.
Unpacking libmpfr4:armhf (from .../libmpfr4_3.1.0-5_armhf.deb) ...
Selecting previously unselected package libmpc2:armhf.
Unpacking libmpc2:armhf (from .../libmpc2_0.9-4_armhf.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6.1_armhf.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-7_armhf.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-7_armhf.deb) ...
Setting up libgmp10:armhf (2:5.0.5+dfsg-2) ...
Setting up libgomp1:armhf (4.7.1-2+rpi1) ...
Setting up libmpfr4:armhf (3.1.0-5) ...
Setting up libmpc2:armhf (0.9-4) ...
Setting up binutils (2.22-6.1) ...
Setting up cpp-4.6 (4.6.3-8+rpi1) ...
Setting up cpp (4:4.6.3-7) ...
Setting up gcc-4.6 (4.6.3-8+rpi1) ...
Setting up gcc (4:4.6.3-7) ...
W: Operation was interrupted before it could finish
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 393 kB of archives.
After this operation, 1149 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main make armhf 3.81-8.2 [393 kB]
Fetched 393 kB in 0s (397 kB/s)
Selecting previously unselected package make.
(Reading database ... 23366 files and directories currently installed.)
Unpacking make (from .../make_3.81-8.2_armhf.deb) ...
Setting up make (3.81-8.2) ...
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install cvs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  mksh rcs
The following NEW packages will be installed:
  cvs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2736 kB of archives.
After this operation, 4067 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main cvs armhf 2:1.12.13+real-9 [2736 kB]
Fetched 2736 kB in 2s (916 kB/s)
Selecting previously unselected package cvs.
(Reading database ... 23400 files and directories currently installed.)
Unpacking cvs (from .../cvs_2%3a1.12.13+real-9_armhf.deb) ...
Processing triggers for install-info ...
Setting up cvs (2:1.12.13+real-9) ...
Allowing use of questionable username.
Adding group `_cvsadmin' (GID 110) ...
Done.
root@raspbmc:/home/pi#
root@raspbmc:/home/pi# apt-get install patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  ed diffutils-doc
The following NEW packages will be installed:
  patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 kB of archives.
After this operation, 218 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main patch armhf 2.6.1-3 [123 kB]
Fetched 123 kB in 5s (22.3 kB/s)
Selecting previously unselected package patch.
(Reading database ... 23461 files and directories currently installed.)
Unpacking patch (from .../patch_2.6.1-3_armhf.deb) ...
Setting up patch (2.6.1-3) ...
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  automake autotools-dev m4
Suggested packages:
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext
The following NEW packages will be installed:
  autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1516 kB of archives.
After this operation, 4053 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main m4 armhf 1.4.16-3 [246 k          B]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main autoconf all 2.69-1 [589           kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main autotools-dev all 201206          08.1 [73.0 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main automake all 1:1.11.6-1           [607 kB]
Fetched 1516 kB in 1s (811 kB/s)
Selecting previously unselected package m4.
(Reading database ... 23472 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.16-3_armhf.deb) ...
Selecting previously unselected package autoconf.
Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ...
Selecting previously unselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.6-1_all.deb) ...
Processing triggers for install-info ...
Setting up m4 (1.4.16-3) ...
Setting up autoconf (2.69-1) ...
Setting up autotools-dev (20120608.1) ...
Setting up automake (1:1.11.6-1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install automake
Reading package lists... Done
Building dependency tree
Reading state information... Done
automake is already the newest version.
automake set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@raspbmc:/home/pi#
I assume this is all normal.

step 2 (obtaining the source information i think)

Code: Select all

U lcdproc/scripts/debian/watch
cvs checkout: Updating lcdproc/scripts/debian/manpages
cvs checkout: Updating lcdproc/scripts/debian/patches
cvs checkout: Updating lcdproc/scripts/nightly
U lcdproc/scripts/nightly/README
U lcdproc/scripts/nightly/generate-nightlies.sh
U lcdproc/scripts/nightly/lcdproc-finish-nightly.sh
U lcdproc/scripts/nightly/make-docs.sh
U lcdproc/scripts/nightly/make-nightly.sh
U lcdproc/scripts/nightly/st-compile.sh
cvs checkout: Updating lcdproc/server
U lcdproc/server/.cvsignore
U lcdproc/server/Makefile.am
U lcdproc/server/client.c
U lcdproc/server/client.h
U lcdproc/server/clients.c
U lcdproc/server/clients.h
U lcdproc/server/driver.c
U lcdproc/server/driver.h
U lcdproc/server/drivers.c
U lcdproc/server/drivers.h
U lcdproc/server/input.c
U lcdproc/server/input.h
U lcdproc/server/main.c
U lcdproc/server/main.h
U lcdproc/server/menu.c
U lcdproc/server/menu.h
U lcdproc/server/menuitem.c
U lcdproc/server/menuitem.h
U lcdproc/server/menuscreens.c
U lcdproc/server/menuscreens.h
U lcdproc/server/parse.c
U lcdproc/server/parse.h
U lcdproc/server/render.c
U lcdproc/server/render.h
U lcdproc/server/screen.c
U lcdproc/server/screen.h
U lcdproc/server/screenlist.c
U lcdproc/server/screenlist.h
U lcdproc/server/serverscreens.c
U lcdproc/server/serverscreens.h
U lcdproc/server/sock.c
U lcdproc/server/sock.h
U lcdproc/server/widget.c
U lcdproc/server/widget.h
cvs checkout: Updating lcdproc/server/commands
U lcdproc/server/commands/.cvsignore
U lcdproc/server/commands/Makefile.am
U lcdproc/server/commands/client_commands.c
U lcdproc/server/commands/client_commands.h
U lcdproc/server/commands/command_list.c
U lcdproc/server/commands/command_list.h
U lcdproc/server/commands/menu_commands.c
U lcdproc/server/commands/menu_commands.h
U lcdproc/server/commands/screen_commands.c
U lcdproc/server/commands/screen_commands.h
U lcdproc/server/commands/server_commands.c
U lcdproc/server/commands/server_commands.h
U lcdproc/server/commands/widget_commands.c
U lcdproc/server/commands/widget_commands.h
cvs checkout: Updating lcdproc/server/drivers
U lcdproc/server/drivers/.cvsignore
U lcdproc/server/drivers/CFontz-charmap.h
U lcdproc/server/drivers/CFontz.c
U lcdproc/server/drivers/CFontz.h
U lcdproc/server/drivers/CFontz633io.c
U lcdproc/server/drivers/CFontz633io.h
U lcdproc/server/drivers/CFontzPacket.c
U lcdproc/server/drivers/CFontzPacket.h
U lcdproc/server/drivers/CwLnx.c
U lcdproc/server/drivers/CwLnx.h
U lcdproc/server/drivers/DOTirmanrc
U lcdproc/server/drivers/EyeboxOne.c
U lcdproc/server/drivers/EyeboxOne.h
U lcdproc/server/drivers/IOWarrior.c
U lcdproc/server/drivers/IOWarrior.h
U lcdproc/server/drivers/MD8800.c
U lcdproc/server/drivers/MD8800.h
U lcdproc/server/drivers/Makefile.am
U lcdproc/server/drivers/MtxOrb.c
U lcdproc/server/drivers/MtxOrb.h
U lcdproc/server/drivers/NoritakeVFD.c
U lcdproc/server/drivers/NoritakeVFD.h
U lcdproc/server/drivers/README
U lcdproc/server/drivers/SureElec.c
U lcdproc/server/drivers/SureElec.h
U lcdproc/server/drivers/adv_bignum.c
U lcdproc/server/drivers/adv_bignum.h
U lcdproc/server/drivers/bayrad.c
U lcdproc/server/drivers/bayrad.h
U lcdproc/server/drivers/curses_drv.c
U lcdproc/server/drivers/curses_drv.h
U lcdproc/server/drivers/debug.c
U lcdproc/server/drivers/debug.h
U lcdproc/server/drivers/ea65.c
U lcdproc/server/drivers/ea65.h
U lcdproc/server/drivers/g15-num.c
U lcdproc/server/drivers/g15.c
U lcdproc/server/drivers/g15.h
U lcdproc/server/drivers/glcd-drivers.h
U lcdproc/server/drivers/glcd-glcd2usb.c
U lcdproc/server/drivers/glcd-glcd2usb.h
U lcdproc/server/drivers/glcd-low.h
U lcdproc/server/drivers/glcd-png.c
U lcdproc/server/drivers/glcd-render.c
U lcdproc/server/drivers/glcd-render.h
U lcdproc/server/drivers/glcd-serdisp.c
U lcdproc/server/drivers/glcd-t6963.c
U lcdproc/server/drivers/glcd_drv.c
U lcdproc/server/drivers/glcd_drv.h
U lcdproc/server/drivers/glcd_font5x8.h
U lcdproc/server/drivers/glcdlib.c
U lcdproc/server/drivers/glcdlib.h
U lcdproc/server/drivers/glk.c
U lcdproc/server/drivers/glk.h
U lcdproc/server/drivers/glkproto.c
U lcdproc/server/drivers/glkproto.h
U lcdproc/server/drivers/hd44780-4bit.c
U lcdproc/server/drivers/hd44780-4bit.h
U lcdproc/server/drivers/hd44780-bwct-usb.c
U lcdproc/server/drivers/hd44780-bwct-usb.h
U lcdproc/server/drivers/hd44780-charmap.h
U lcdproc/server/drivers/hd44780-drivers.h
U lcdproc/server/drivers/hd44780-ethlcd.c
U lcdproc/server/drivers/hd44780-ethlcd.h
U lcdproc/server/drivers/hd44780-ext8bit.c
U lcdproc/server/drivers/hd44780-ext8bit.h
U lcdproc/server/drivers/hd44780-ftdi.c
U lcdproc/server/drivers/hd44780-ftdi.h
U lcdproc/server/drivers/hd44780-i2c.c
U lcdproc/server/drivers/hd44780-i2c.h
U lcdproc/server/drivers/hd44780-lcd2usb.c
U lcdproc/server/drivers/hd44780-lcd2usb.h
U lcdproc/server/drivers/hd44780-lis2.c
U lcdproc/server/drivers/hd44780-lis2.h
U lcdproc/server/drivers/hd44780-low.h
U lcdproc/server/drivers/hd44780-serial.c
U lcdproc/server/drivers/hd44780-serial.h
U lcdproc/server/drivers/hd44780-serialLpt.c
U lcdproc/server/drivers/hd44780-serialLpt.h
U lcdproc/server/drivers/hd44780-usb4all.c
U lcdproc/server/drivers/hd44780-usb4all.h
U lcdproc/server/drivers/hd44780-usblcd.c
U lcdproc/server/drivers/hd44780-usblcd.h
U lcdproc/server/drivers/hd44780-usbtiny.c
U lcdproc/server/drivers/hd44780-usbtiny.h
U lcdproc/server/drivers/hd44780-uss720.c
U lcdproc/server/drivers/hd44780-uss720.h
U lcdproc/server/drivers/hd44780-winamp.c
U lcdproc/server/drivers/hd44780-winamp.h
U lcdproc/server/drivers/hd44780.c
U lcdproc/server/drivers/hd44780.h
U lcdproc/server/drivers/i2500vfd.c
U lcdproc/server/drivers/i2500vfd.h
U lcdproc/server/drivers/icp_a106.c
U lcdproc/server/drivers/icp_a106.h
U lcdproc/server/drivers/imon.c
U lcdproc/server/drivers/imon.h
U lcdproc/server/drivers/imonlcd.c
U lcdproc/server/drivers/imonlcd.h
U lcdproc/server/drivers/imonlcd_font.h
U lcdproc/server/drivers/irmanin.c
U lcdproc/server/drivers/irmanin.h
U lcdproc/server/drivers/irtrans.c
U lcdproc/server/drivers/irtrans.h
U lcdproc/server/drivers/irtrans_errcode.h
U lcdproc/server/drivers/irtrans_network.h
U lcdproc/server/drivers/irtrans_remote.h
U lcdproc/server/drivers/joy.c
U lcdproc/server/drivers/joy.h
U lcdproc/server/drivers/lb216.c
U lcdproc/server/drivers/lb216.h
U lcdproc/server/drivers/lcd.h
U lcdproc/server/drivers/lcd_lib.c
U lcdproc/server/drivers/lcd_lib.h
U lcdproc/server/drivers/lcd_sem.c
U lcdproc/server/drivers/lcd_sem.h
U lcdproc/server/drivers/lcdm001.c
U lcdproc/server/drivers/lcdm001.h
U lcdproc/server/drivers/lcterm.c
U lcdproc/server/drivers/lcterm.h
U lcdproc/server/drivers/lircin.c
U lcdproc/server/drivers/lircin.h
U lcdproc/server/drivers/lis.c
U lcdproc/server/drivers/lis.h
U lcdproc/server/drivers/lpt-port.h
U lcdproc/server/drivers/mdm166a.c
U lcdproc/server/drivers/mdm166a.h
U lcdproc/server/drivers/ms6931.c
U lcdproc/server/drivers/ms6931.h
U lcdproc/server/drivers/mtc_s16209x.c
U lcdproc/server/drivers/mtc_s16209x.h
U lcdproc/server/drivers/mx5000.c
U lcdproc/server/drivers/mx5000.h
U lcdproc/server/drivers/picolcd.c
U lcdproc/server/drivers/picolcd.h
U lcdproc/server/drivers/port.h
U lcdproc/server/drivers/pylcd.c
U lcdproc/server/drivers/pylcd.h
U lcdproc/server/drivers/report.h
U lcdproc/server/drivers/sdeclcd.c
U lcdproc/server/drivers/sdeclcd.h
U lcdproc/server/drivers/sed1330.c
U lcdproc/server/drivers/sed1330.h
U lcdproc/server/drivers/sed1520.c
U lcdproc/server/drivers/sed1520.h
U lcdproc/server/drivers/sed1520fm.h
U lcdproc/server/drivers/serialPOS.c
U lcdproc/server/drivers/serialPOS.h
U lcdproc/server/drivers/serialVFD.c
U lcdproc/server/drivers/serialVFD.h
U lcdproc/server/drivers/serialVFD_displays.c
U lcdproc/server/drivers/serialVFD_displays.h
U lcdproc/server/drivers/serialVFD_io.c
U lcdproc/server/drivers/serialVFD_io.h
U lcdproc/server/drivers/shuttleVFD.c
U lcdproc/server/drivers/shuttleVFD.h
U lcdproc/server/drivers/stv5730.c
U lcdproc/server/drivers/stv5730.h
U lcdproc/server/drivers/svgalib_drv.c
U lcdproc/server/drivers/svgalib_drv.h
U lcdproc/server/drivers/t6963.c
U lcdproc/server/drivers/t6963.h
U lcdproc/server/drivers/t6963_low.c
U lcdproc/server/drivers/t6963_low.h
U lcdproc/server/drivers/text.c
U lcdproc/server/drivers/text.h
U lcdproc/server/drivers/timing.h
U lcdproc/server/drivers/tyan_lcdm.c
U lcdproc/server/drivers/tyan_lcdm.h
U lcdproc/server/drivers/ula200.c
U lcdproc/server/drivers/ula200.h
U lcdproc/server/drivers/vlsys_m428.c
U lcdproc/server/drivers/vlsys_m428.h
U lcdproc/server/drivers/wirz-sli.c
U lcdproc/server/drivers/wirz-sli.h
U lcdproc/server/drivers/xosdlib_drv.c
U lcdproc/server/drivers/xosdlib_drv.h
cvs checkout: Updating lcdproc/shared
U lcdproc/shared/.cvsignore
U lcdproc/shared/LL.c
U lcdproc/shared/LL.h
U lcdproc/shared/Makefile.am
U lcdproc/shared/configfile.c
U lcdproc/shared/configfile.h
U lcdproc/shared/defines.h
U lcdproc/shared/getopt.c
U lcdproc/shared/getopt.h
U lcdproc/shared/getopt1.c
U lcdproc/shared/report.c
U lcdproc/shared/report.h
U lcdproc/shared/snprintf.c
U lcdproc/shared/snprintf.h
U lcdproc/shared/sockets.c
U lcdproc/shared/sockets.h
U lcdproc/shared/sring.c
U lcdproc/shared/sring.h
U lcdproc/shared/str.c
U lcdproc/shared/str.h
cvs checkout: Updating lcdproc/tests
root@raspbmc:/home/pi#
not all of it as it wasnt all stored on screen. go figure.

step 3, the patch!

Code: Select all

root@raspbmc:/home/pi# mkdir -p /mnt/pen
root@raspbmc:/home/pi# mount /dev/sda1 /mnt/pen
root@raspbmc:/home/pi# cd /mnt/pen
root@raspbmc:/mnt/pen# ls
Dog Soldiers.avi  Honey.avi  RaspberryPiV2.patch.gz
root@raspbmc:/mnt/pen# cp -v /mnt/pen/RaspberryPiV2.patch.gz /home/pi/lcdproc
`/mnt/pen/RaspberryPiV2.patch.gz' -> `/home/pi/lcdproc/RaspberryPiV2.patch.gz'
root@raspbmc:/mnt/pen#

root@raspbmc:/mnt/pen# gunzip RaspberryPiV2.patch.gz
root@raspbmc:/mnt/pen# patch -p0 < RaspberryPiV2.patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: acinclude.m4
|===================================================================
|RCS file: /cvsroot/lcdproc/lcdproc/acinclude.m4,v
|retrieving revision 1.125
|diff -p -u -r1.125 acinclude.m4
|--- acinclude.m4       18 Feb 2012 15:24:43 -0000      1.125
|+++ acinclude.m4       24 Aug 2012 13:42:26 -0000
--------------------------
File to patch: ^[
 No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: server/drivers/Makefile.am
|===================================================================
|RCS file: /cvsroot/lcdproc/lcdproc/server/drivers/Makefile.am,v
|retrieving revision 1.109
|diff -p -u -r1.109 Makefile.am
|--- server/drivers/Makefile.am 11 Mar 2012 10:58:24 -0000      1.109
|+++ server/drivers/Makefile.am 24 Aug 2012 13:42:26 -0000
--------------------------
File to patch: ^[
 No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 41
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: server/drivers/hd44780-drivers.h
|===================================================================
|RCS file: /cvsroot/lcdproc/lcdproc/server/drivers/hd44780-drivers.h,v
|retrieving revision 1.30
|diff -p -u -r1.30 hd44780-drivers.h
|--- server/drivers/hd44780-drivers.h   18 Feb 2012 15:24:45 -0000      1.30
|+++ server/drivers/hd44780-drivers.h   24 Aug 2012 13:42:26 -0000
--------------------------
File to patch: ^C
i dont understand this. why arent the files there to patch?

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 10:52 pm

new logs lol

clearly, its clear to you but i didnt manage to spot that and i've been trawling over the directories trying to work this out. goes to show my know how isnt as good as yours by any measure.

heres the logs for redoing this all again: (absolutely clean install of raspbmc, nothing changed/modified) which is for my use and if you can see something thats not right, feel free to point it out.

step 1 (obtain gcc, make, cvs, patch, autoconf, automake)

Code: Select all

root@raspbmc:/home/pi# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.6 gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
Suggested packages:
  binutils-doc cpp-doc gcc-4.6-locales gcc-multilib make manpages-dev autoconf
  automake1.9 libtool flex bison gdb gcc-doc libmudflap0-4.6-dev gcc-4.6-doc
  libgcc1-dbg libgomp1-dbg libquadmath-dbg libmudflap0-dbg binutils-gold
The following NEW packages will be installed:
  binutils cpp cpp-4.6 gcc gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 34.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main libgmp10 armhf 2:5.0.5+dfsg-2 [208 kB]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main libgomp1 armhf 4.7.1-2+rpi1 [28.3 kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main libmpfr4 armhf 3.1.0-5 [524 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main libmpc2 armhf 0.9-4 [32.0 kB]
Get:5 http://archive.raspbian.org/raspbian/ wheezy/main binutils armhf 2.22-6.1 [4527 kB]
Get:6 http://archive.raspbian.org/raspbian/ wheezy/main cpp-4.6 armhf 4.6.3-8+rpi1 [4248 kB]
Get:7 http://archive.raspbian.org/raspbian/ wheezy/main cpp armhf 4:4.6.3-7 [16.6 kB]
Get:8 http://archive.raspbian.org/raspbian/ wheezy/main gcc-4.6 armhf 4.6.3-8+rpi1 [4467 kB]
Get:9 http://archive.raspbian.org/raspbian/ wheezy/main gcc armhf 4:4.6.3-7 [5010 B]
Fetched 14.1 MB in 17s (817 kB/s)
Selecting previously unselected package libgmp10:armhf.
(Reading database ... 23082 files and directories currently installed.)
Unpacking libgmp10:armhf (from .../libgmp10_2%3a5.0.5+dfsg-2_armhf.deb) ...
Selecting previously unselected package libgomp1:armhf.
Unpacking libgomp1:armhf (from .../libgomp1_4.7.1-2+rpi1_armhf.deb) ...
Selecting previously unselected package libmpfr4:armhf.
Unpacking libmpfr4:armhf (from .../libmpfr4_3.1.0-5_armhf.deb) ...
Selecting previously unselected package libmpc2:armhf.
Unpacking libmpc2:armhf (from .../libmpc2_0.9-4_armhf.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6.1_armhf.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-7_armhf.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-7_armhf.deb) ...
Setting up libgmp10:armhf (2:5.0.5+dfsg-2) ...
Setting up libgomp1:armhf (4.7.1-2+rpi1) ...
Setting up libmpfr4:armhf (3.1.0-5) ...
Setting up libmpc2:armhf (0.9-4) ...
Setting up binutils (2.22-6.1) ...
Setting up cpp-4.6 (4.6.3-8+rpi1) ...
Setting up cpp (4:4.6.3-7) ...
Setting up gcc-4.6 (4.6.3-8+rpi1) ...
Setting up gcc (4:4.6.3-7) ...
W: Operation was interrupted before it could finish
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 393 kB of archives.
After this operation, 1149 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main make armhf 3.81-8.2 [393 kB]
Fetched 393 kB in 0s (397 kB/s)
Selecting previously unselected package make.
(Reading database ... 23366 files and directories currently installed.)
Unpacking make (from .../make_3.81-8.2_armhf.deb) ...
Setting up make (3.81-8.2) ...
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install cvs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  mksh rcs
The following NEW packages will be installed:
  cvs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2736 kB of archives.
After this operation, 4067 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main cvs armhf 2:1.12.13+real-9 [2736 kB]
Fetched 2736 kB in 2s (916 kB/s)
Selecting previously unselected package cvs.
(Reading database ... 23400 files and directories currently installed.)
Unpacking cvs (from .../cvs_2%3a1.12.13+real-9_armhf.deb) ...
Processing triggers for install-info ...
Setting up cvs (2:1.12.13+real-9) ...
Allowing use of questionable username.
Adding group `_cvsadmin' (GID 110) ...
Done.
root@raspbmc:/home/pi#
root@raspbmc:/home/pi# apt-get install patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  ed diffutils-doc
The following NEW packages will be installed:
  patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 kB of archives.
After this operation, 218 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main patch armhf 2.6.1-3 [123 kB]
Fetched 123 kB in 5s (22.3 kB/s)
Selecting previously unselected package patch.
(Reading database ... 23461 files and directories currently installed.)
Unpacking patch (from .../patch_2.6.1-3_armhf.deb) ...
Setting up patch (2.6.1-3) ...
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  automake autotools-dev m4
Suggested packages:
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext
The following NEW packages will be installed:
  autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1516 kB of archives.
After this operation, 4053 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main m4 armhf 1.4.16-3 [246 k          B]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main autoconf all 2.69-1 [589           kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main autotools-dev all 201206          08.1 [73.0 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main automake all 1:1.11.6-1           [607 kB]
Fetched 1516 kB in 1s (811 kB/s)
Selecting previously unselected package m4.
(Reading database ... 23472 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.16-3_armhf.deb) ...
Selecting previously unselected package autoconf.
Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ...
Selecting previously unselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.6-1_all.deb) ...
Processing triggers for install-info ...
Setting up m4 (1.4.16-3) ...
Setting up autoconf (2.69-1) ...
Setting up autotools-dev (20120608.1) ...
Setting up automake (1:1.11.6-1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
root@raspbmc:/home/pi#

root@raspbmc:/home/pi# apt-get install automake
Reading package lists... Done
Building dependency tree
Reading state information... Done
automake is already the newest version.
automake set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@raspbmc:/home/pi#
I assume this is all normal.

step 2 (obtaining the source information i think)

Code: Select all

U lcdproc/scripts/debian/watch
cvs checkout: Updating lcdproc/scripts/debian/manpages
cvs checkout: Updating lcdproc/scripts/debian/patches
cvs checkout: Updating lcdproc/scripts/nightly
U lcdproc/scripts/nightly/README
U lcdproc/scripts/nightly/generate-nightlies.sh
U lcdproc/scripts/nightly/lcdproc-finish-nightly.sh
U lcdproc/scripts/nightly/make-docs.sh
U lcdproc/scripts/nightly/make-nightly.sh
U lcdproc/scripts/nightly/st-compile.sh
cvs checkout: Updating lcdproc/server
U lcdproc/server/.cvsignore
U lcdproc/server/Makefile.am
U lcdproc/server/client.c
U lcdproc/server/client.h
U lcdproc/server/clients.c
U lcdproc/server/clients.h
U lcdproc/server/driver.c
U lcdproc/server/driver.h
U lcdproc/server/drivers.c
U lcdproc/server/drivers.h
U lcdproc/server/input.c
U lcdproc/server/input.h
U lcdproc/server/main.c
U lcdproc/server/main.h
U lcdproc/server/menu.c
U lcdproc/server/menu.h
U lcdproc/server/menuitem.c
U lcdproc/server/menuitem.h
U lcdproc/server/menuscreens.c
U lcdproc/server/menuscreens.h
U lcdproc/server/parse.c
U lcdproc/server/parse.h
U lcdproc/server/render.c
U lcdproc/server/render.h
U lcdproc/server/screen.c
U lcdproc/server/screen.h
U lcdproc/server/screenlist.c
U lcdproc/server/screenlist.h
U lcdproc/server/serverscreens.c
U lcdproc/server/serverscreens.h
U lcdproc/server/sock.c
U lcdproc/server/sock.h
U lcdproc/server/widget.c
U lcdproc/server/widget.h
cvs checkout: Updating lcdproc/server/commands
U lcdproc/server/commands/.cvsignore
U lcdproc/server/commands/Makefile.am
U lcdproc/server/commands/client_commands.c
U lcdproc/server/commands/client_commands.h
U lcdproc/server/commands/command_list.c
U lcdproc/server/commands/command_list.h
U lcdproc/server/commands/menu_commands.c
U lcdproc/server/commands/menu_commands.h
U lcdproc/server/commands/screen_commands.c
U lcdproc/server/commands/screen_commands.h
U lcdproc/server/commands/server_commands.c
U lcdproc/server/commands/server_commands.h
U lcdproc/server/commands/widget_commands.c
U lcdproc/server/commands/widget_commands.h
cvs checkout: Updating lcdproc/server/drivers
U lcdproc/server/drivers/.cvsignore
U lcdproc/server/drivers/CFontz-charmap.h
U lcdproc/server/drivers/CFontz.c
U lcdproc/server/drivers/CFontz.h
U lcdproc/server/drivers/CFontz633io.c
U lcdproc/server/drivers/CFontz633io.h
U lcdproc/server/drivers/CFontzPacket.c
U lcdproc/server/drivers/CFontzPacket.h
U lcdproc/server/drivers/CwLnx.c
U lcdproc/server/drivers/CwLnx.h
U lcdproc/server/drivers/DOTirmanrc
U lcdproc/server/drivers/EyeboxOne.c
U lcdproc/server/drivers/EyeboxOne.h
U lcdproc/server/drivers/IOWarrior.c
U lcdproc/server/drivers/IOWarrior.h
U lcdproc/server/drivers/MD8800.c
U lcdproc/server/drivers/MD8800.h
U lcdproc/server/drivers/Makefile.am
U lcdproc/server/drivers/MtxOrb.c
U lcdproc/server/drivers/MtxOrb.h
U lcdproc/server/drivers/NoritakeVFD.c
U lcdproc/server/drivers/NoritakeVFD.h
U lcdproc/server/drivers/README
U lcdproc/server/drivers/SureElec.c
U lcdproc/server/drivers/SureElec.h
U lcdproc/server/drivers/adv_bignum.c
U lcdproc/server/drivers/adv_bignum.h
U lcdproc/server/drivers/bayrad.c
U lcdproc/server/drivers/bayrad.h
U lcdproc/server/drivers/curses_drv.c
U lcdproc/server/drivers/curses_drv.h
U lcdproc/server/drivers/debug.c
U lcdproc/server/drivers/debug.h
U lcdproc/server/drivers/ea65.c
U lcdproc/server/drivers/ea65.h
U lcdproc/server/drivers/g15-num.c
U lcdproc/server/drivers/g15.c
U lcdproc/server/drivers/g15.h
U lcdproc/server/drivers/glcd-drivers.h
U lcdproc/server/drivers/glcd-glcd2usb.c
U lcdproc/server/drivers/glcd-glcd2usb.h
U lcdproc/server/drivers/glcd-low.h
U lcdproc/server/drivers/glcd-png.c
U lcdproc/server/drivers/glcd-render.c
U lcdproc/server/drivers/glcd-render.h
U lcdproc/server/drivers/glcd-serdisp.c
U lcdproc/server/drivers/glcd-t6963.c
U lcdproc/server/drivers/glcd_drv.c
U lcdproc/server/drivers/glcd_drv.h
U lcdproc/server/drivers/glcd_font5x8.h
U lcdproc/server/drivers/glcdlib.c
U lcdproc/server/drivers/glcdlib.h
U lcdproc/server/drivers/glk.c
U lcdproc/server/drivers/glk.h
U lcdproc/server/drivers/glkproto.c
U lcdproc/server/drivers/glkproto.h
U lcdproc/server/drivers/hd44780-4bit.c
U lcdproc/server/drivers/hd44780-4bit.h
U lcdproc/server/drivers/hd44780-bwct-usb.c
U lcdproc/server/drivers/hd44780-bwct-usb.h
U lcdproc/server/drivers/hd44780-charmap.h
U lcdproc/server/drivers/hd44780-drivers.h
U lcdproc/server/drivers/hd44780-ethlcd.c
U lcdproc/server/drivers/hd44780-ethlcd.h
U lcdproc/server/drivers/hd44780-ext8bit.c
U lcdproc/server/drivers/hd44780-ext8bit.h
U lcdproc/server/drivers/hd44780-ftdi.c
U lcdproc/server/drivers/hd44780-ftdi.h
U lcdproc/server/drivers/hd44780-i2c.c
U lcdproc/server/drivers/hd44780-i2c.h
U lcdproc/server/drivers/hd44780-lcd2usb.c
U lcdproc/server/drivers/hd44780-lcd2usb.h
U lcdproc/server/drivers/hd44780-lis2.c
U lcdproc/server/drivers/hd44780-lis2.h
U lcdproc/server/drivers/hd44780-low.h
U lcdproc/server/drivers/hd44780-serial.c
U lcdproc/server/drivers/hd44780-serial.h
U lcdproc/server/drivers/hd44780-serialLpt.c
U lcdproc/server/drivers/hd44780-serialLpt.h
U lcdproc/server/drivers/hd44780-usb4all.c
U lcdproc/server/drivers/hd44780-usb4all.h
U lcdproc/server/drivers/hd44780-usblcd.c
U lcdproc/server/drivers/hd44780-usblcd.h
U lcdproc/server/drivers/hd44780-usbtiny.c
U lcdproc/server/drivers/hd44780-usbtiny.h
U lcdproc/server/drivers/hd44780-uss720.c
U lcdproc/server/drivers/hd44780-uss720.h
U lcdproc/server/drivers/hd44780-winamp.c
U lcdproc/server/drivers/hd44780-winamp.h
U lcdproc/server/drivers/hd44780.c
U lcdproc/server/drivers/hd44780.h
U lcdproc/server/drivers/i2500vfd.c
U lcdproc/server/drivers/i2500vfd.h
U lcdproc/server/drivers/icp_a106.c
U lcdproc/server/drivers/icp_a106.h
U lcdproc/server/drivers/imon.c
U lcdproc/server/drivers/imon.h
U lcdproc/server/drivers/imonlcd.c
U lcdproc/server/drivers/imonlcd.h
U lcdproc/server/drivers/imonlcd_font.h
U lcdproc/server/drivers/irmanin.c
U lcdproc/server/drivers/irmanin.h
U lcdproc/server/drivers/irtrans.c
U lcdproc/server/drivers/irtrans.h
U lcdproc/server/drivers/irtrans_errcode.h
U lcdproc/server/drivers/irtrans_network.h
U lcdproc/server/drivers/irtrans_remote.h
U lcdproc/server/drivers/joy.c
U lcdproc/server/drivers/joy.h
U lcdproc/server/drivers/lb216.c
U lcdproc/server/drivers/lb216.h
U lcdproc/server/drivers/lcd.h
U lcdproc/server/drivers/lcd_lib.c
U lcdproc/server/drivers/lcd_lib.h
U lcdproc/server/drivers/lcd_sem.c
U lcdproc/server/drivers/lcd_sem.h
U lcdproc/server/drivers/lcdm001.c
U lcdproc/server/drivers/lcdm001.h
U lcdproc/server/drivers/lcterm.c
U lcdproc/server/drivers/lcterm.h
U lcdproc/server/drivers/lircin.c
U lcdproc/server/drivers/lircin.h
U lcdproc/server/drivers/lis.c
U lcdproc/server/drivers/lis.h
U lcdproc/server/drivers/lpt-port.h
U lcdproc/server/drivers/mdm166a.c
U lcdproc/server/drivers/mdm166a.h
U lcdproc/server/drivers/ms6931.c
U lcdproc/server/drivers/ms6931.h
U lcdproc/server/drivers/mtc_s16209x.c
U lcdproc/server/drivers/mtc_s16209x.h
U lcdproc/server/drivers/mx5000.c
U lcdproc/server/drivers/mx5000.h
U lcdproc/server/drivers/picolcd.c
U lcdproc/server/drivers/picolcd.h
U lcdproc/server/drivers/port.h
U lcdproc/server/drivers/pylcd.c
U lcdproc/server/drivers/pylcd.h
U lcdproc/server/drivers/report.h
U lcdproc/server/drivers/sdeclcd.c
U lcdproc/server/drivers/sdeclcd.h
U lcdproc/server/drivers/sed1330.c
U lcdproc/server/drivers/sed1330.h
U lcdproc/server/drivers/sed1520.c
U lcdproc/server/drivers/sed1520.h
U lcdproc/server/drivers/sed1520fm.h
U lcdproc/server/drivers/serialPOS.c
U lcdproc/server/drivers/serialPOS.h
U lcdproc/server/drivers/serialVFD.c
U lcdproc/server/drivers/serialVFD.h
U lcdproc/server/drivers/serialVFD_displays.c
U lcdproc/server/drivers/serialVFD_displays.h
U lcdproc/server/drivers/serialVFD_io.c
U lcdproc/server/drivers/serialVFD_io.h
U lcdproc/server/drivers/shuttleVFD.c
U lcdproc/server/drivers/shuttleVFD.h
U lcdproc/server/drivers/stv5730.c
U lcdproc/server/drivers/stv5730.h
U lcdproc/server/drivers/svgalib_drv.c
U lcdproc/server/drivers/svgalib_drv.h
U lcdproc/server/drivers/t6963.c
U lcdproc/server/drivers/t6963.h
U lcdproc/server/drivers/t6963_low.c
U lcdproc/server/drivers/t6963_low.h
U lcdproc/server/drivers/text.c
U lcdproc/server/drivers/text.h
U lcdproc/server/drivers/timing.h
U lcdproc/server/drivers/tyan_lcdm.c
U lcdproc/server/drivers/tyan_lcdm.h
U lcdproc/server/drivers/ula200.c
U lcdproc/server/drivers/ula200.h
U lcdproc/server/drivers/vlsys_m428.c
U lcdproc/server/drivers/vlsys_m428.h
U lcdproc/server/drivers/wirz-sli.c
U lcdproc/server/drivers/wirz-sli.h
U lcdproc/server/drivers/xosdlib_drv.c
U lcdproc/server/drivers/xosdlib_drv.h
cvs checkout: Updating lcdproc/shared
U lcdproc/shared/.cvsignore
U lcdproc/shared/LL.c
U lcdproc/shared/LL.h
U lcdproc/shared/Makefile.am
U lcdproc/shared/configfile.c
U lcdproc/shared/configfile.h
U lcdproc/shared/defines.h
U lcdproc/shared/getopt.c
U lcdproc/shared/getopt.h
U lcdproc/shared/getopt1.c
U lcdproc/shared/report.c
U lcdproc/shared/report.h
U lcdproc/shared/snprintf.c
U lcdproc/shared/snprintf.h
U lcdproc/shared/sockets.c
U lcdproc/shared/sockets.h
U lcdproc/shared/sring.c
U lcdproc/shared/sring.h
U lcdproc/shared/str.c
U lcdproc/shared/str.h
cvs checkout: Updating lcdproc/tests
root@raspbmc:/home/pi#
not all of it as it wasnt all stored on screen. go figure.

step 3, the patch!

Code: Select all

root@raspbmc:/home/pi/lcdproc# gunzip RaspberryPiV2.patch.gz
root@raspbmc:/home/pi/lcdproc# patch -p0 < RaspberryPiV2.patch
patching file acinclude.m4
patching file server/drivers/Makefile.am
patching file server/drivers/hd44780-drivers.h
patching file server/drivers/hd44780-low.h
patching file server/drivers/hd44780-rpi.c
patching file server/drivers/hd44780-rpi.h
root@raspbmc:/home/pi/lcdproc#
step 4 Next step, generate the configure script:

Code: Select all

root@raspbmc:/home/pi/lcdproc# bash ./autogen.sh
Running aclocal ...
Running autoheader...
Running automake  ...
configure.in:75: installing `./compile'
configure.in:10: installing `./config.guess'
configure.in:10: installing `./config.sub'
configure.in:6: installing `./install-sh'
configure.in:6: installing `./missing'
clients/lcdexec/Makefile.am: installing `./depcomp'
^C
root@raspbmc:/home/pi/lcdproc# bash ./autogen.sh
Running aclocal ...
Running autoheader...
Running automake  ...
Running autoconf ...
root@raspbmc:/home/pi/lcdproc#
step 5

Code: Select all

root@raspbmc:/home/pi/lcdproc# ./                 configure --enable-drivers=hd44780
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for xmlto... no
checking CFLAGS for gcc -Wno-unused-function... -Wno-unused-function
checking CFLAGS for gcc -ftrampolines... no, unknown
checking for gethostbyname... yes
checking for connect... yes
checking for inet_aton... yes
checking for kstat_open in -lkstat... no
checking for nanosleep in -lposix4... no
checking for getloadavg... yes
checking for swapctl... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for kvm_open in -lkvm... no
checking for kvm_open in -lkvm with -lelf... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sys/types.h... (cached) yes
checking machine/pio.h usability... no
checking machine/pio.h presence... no
checking for machine/pio.h... no
checking machine/sysarch.h usability... no
checking machine/sysarch.h presence... no
checking for machine/sysarch.h... no
checking sys/cpuvar.h usability... no
checking sys/cpuvar.h presence... no
checking for sys/cpuvar.h... no
checking machine/apm_bios.h usability... no
checking machine/apm_bios.h presence... no
checking for machine/apm_bios.h... no
checking for System V IPC headers... yes
checking for union semun... no
checking for machine/cpufunc.h... no
checking for sched_setscheduler... yes
checking for sched_setscheduler in -lposix4... no
checking for sched_setscheduler in -lrt... yes
checking for i386_get_ioperm in -li386... no
checking for i386_get_ioperm in -lc... no
checking for iopl... yes
checking for ioperm... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for a parallel port... yes
checking linux/i2c-dev.h usability... yes
checking linux/i2c-dev.h presence... yes
checking for linux/i2c-dev.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/io.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for sys/sysctl.h... yes
checking for sys/pcpu.h... no
checking for SA_RESTART... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for uname... yes
checking for cfmakeraw... yes
checking for snprintf... yes
checking for getopt... yes
checking for your mounted filesystem table... /etc/mtab
checking for fcntl.h... (cached) yes
checking sys/dustat.h usability... no
checking sys/dustat.h presence... no
checking for sys/dustat.h... no
checking for sys/param.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking for getmntinfo... no
configure: checking how to get filesystem space usage...
checking for statvfs... yes
checking module extension... .so
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking if libusb support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb may not be built
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libftdi may not be built
checking if libhid support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libhid may not be built
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... yes
checking for doxygen... no
configure: checking which drivers to compile...
---------------------------------------
LCDd will be compiled with the drivers:
    -  hd44780
---------------------------------------
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared/Makefile
config.status: creating server/Makefile
config.status: creating server/commands/Makefile
config.status: creating server/drivers/Makefile
config.status: creating clients/Makefile
config.status: creating clients/lcdproc/Makefile
config.status: creating clients/lcdexec/Makefile
config.status: creating clients/lcdvc/Makefile
config.status: creating clients/examples/Makefile
config.status: creating clients/metar/Makefile
config.status: creating docs/Makefile
config.status: creating docs/Doxyfile
config.status: creating docs/lcdproc-dev/Makefile
config.status: creating docs/lcdproc-user/Makefile
config.status: creating docs/lcdproc-user/drivers/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/init-LCDd.LSB
config.status: creating scripts/init-lcdproc.LSB
config.status: creating scripts/init-lcdexec.LSB
config.status: creating scripts/init-lcdvc.LSB
config.status: creating scripts/init-LCDd.debian
config.status: creating scripts/init-lcdproc.debian
config.status: creating scripts/init-lcdexec.debian
config.status: creating scripts/init-lcdvc.debian
config.status: creating scripts/init-LCDd.rpm
config.status: creating scripts/init-lcdproc.rpm
config.status: creating config.h
config.status: executing depfiles commands
root@raspbmc:/home/pi/lcdproc#
now, these are the only errors i've noticed

Code: Select all

configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb may not be built
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libftdi may not be built
checking if libhid support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libhid may not be built
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... yes
checking for doxygen... no
configure: checking which drivers to compile...
however something else has gone incredibly wrong apparently because of this

Code: Select all

root@raspbmc:/home/pi/lcdproc# lcdproc -f T
bash: lcdproc: command not found
how the heck did this happen?

Goofy
Posts: 11
Joined: Tue Jun 12, 2012 10:58 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 11:14 pm

secretreeve wrote:new logs lol
...
how the heck did this happen?
No offense, but Serac is very patient with you. You have all the answers, take your time and read what you need. Check the first link on google.com for the first suggested reading.

Suggested reading:
How to use configure & make to install software from source
How to use apt-get
What a "man page" is, and how to display it.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 11:27 pm

oh i know, im very grateful to the man.

i just get overwhelmed by all this. so much information to try and work through and i dont understand half of it.

im just concerned this is going to pose a problem

Code: Select all

configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb may not be built
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libftdi may not be built
checking if libhid support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libhid may not be built
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... yes
checking for doxygen... no
configure: checking which drivers to compile...
i've read through the material already by the way. and frankly it doesnt suggest whats being done wrong.

either way, i ran through the instructions yet again, installing the other packages first, then doing the instructions with the addition of

Code: Select all

make

Code: Select all

make install
to the end.

i cant paste all of it, but heres what i got left with on make install

Code: Select all

mv -f .deps/hd44780-lcd_sem.Tpo .deps/hd44780-lcd_sem.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -MT hd44780-hd44780-winamp.o -MD -MP -MF .deps/hd44780-hd44780-winamp.Tpo -c -o hd44780-hd44780-winamp.o `test -f 'hd44780-winamp.c' || echo './'`hd44780-winamp.c
mv -f .deps/hd44780-hd44780-winamp.Tpo .deps/hd44780-hd44780-winamp.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -MT hd44780-hd44780-serialLpt.o -MD -MP -MF .deps/hd44780-hd44780-serialLpt.Tpo -c -o hd44780-hd44780-serialLpt.o `test -f 'hd44780-serialLpt.c' || echo './'`hd44780-serialLpt.c
mv -f .deps/hd44780-hd44780-serialLpt.Tpo .deps/hd44780-hd44780-serialLpt.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -MT hd44780-hd44780-bwct-usb.o -MD -MP -MF .deps/hd44780-hd44780-bwct-usb.Tpo -c -o hd44780-hd44780-bwct-usb.o `test -f 'hd44780-bwct-usb.c' || echo './'`hd44780-bwct-usb.c
hd44780-bwct-usb.c: In function 'hd_init_bwct_usb':
hd44780-bwct-usb.c:68:3: warning: implicit declaration of function 'usb_init' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:69:3: warning: implicit declaration of function 'usb_find_busses' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:70:3: warning: implicit declaration of function 'usb_find_devices' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:72:4: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:73:4: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:74:3: warning: implicit declaration of function 'usb_get_busses' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:74:12: warning: assignment makes pointer from integer without a cast [enabled by default]
hd44780-bwct-usb.c:74:54: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:77:19: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:77:52: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:81:14: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:85:26: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:87:15: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:87:32: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:87:48: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:87:77: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:91:30: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:91:53: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:93:22: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:93:45: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:94:22: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:94:45: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:95:21: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:98:16: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:98:15: warning: implicit declaration of function 'usb_open' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:99:20: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:115:17: warning: implicit declaration of function 'usb_get_string_simple' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:115:44: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:115:60: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:121:19: warning: implicit declaration of function 'usb_close' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:121:30: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:129:28: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:130:18: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:140:8: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:144:5: warning: implicit declaration of function 'usb_set_configuration' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:144:32: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:144:46: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:150:5: warning: implicit declaration of function 'usb_claim_interface' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:150:30: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:150:44: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:166:18: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_senddata':
hd44780-bwct-usb.c:194:3: warning: implicit declaration of function 'usb_control_msg' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:194:20: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:194:33: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
hd44780-bwct-usb.c:194:33: note: each undeclared identifier is reported only once for each function it appears in
hd44780-bwct-usb.c:194:61: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_close':
hd44780-bwct-usb.c:201:8: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:202:16: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:203:6: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_set_contrast':
hd44780-bwct-usb.c:216:24: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:216:37: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
hd44780-bwct-usb.c:217:31: error: 'PrivateData' has no member named 'usbIndex'
make[3]: *** [hd44780-hd44780-bwct-usb.o] Error 1
make[3]: Leaving directory `/home/pi/lcdproc/server/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pi/lcdproc/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pi/lcdproc'
make: *** [all] Error 2
root@raspbmc:/home/pi/lcdproc# make install
Making install in shared
make[1]: Entering directory `/home/pi/lcdproc/shared'
make[2]: Entering directory `/home/pi/lcdproc/shared'
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/pi/lcdproc/shared'
make[1]: Leaving directory `/home/pi/lcdproc/shared'
Making install in clients
make[1]: Entering directory `/home/pi/lcdproc/clients'
Making install in examples
make[2]: Entering directory `/home/pi/lcdproc/clients/examples'
make[3]: Entering directory `/home/pi/lcdproc/clients/examples'
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c fortune.pl iosock.pl tail.pl x11amp.pl lcdident.pl '/usr/local/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients/examples'
make[2]: Leaving directory `/home/pi/lcdproc/clients/examples'
Making install in lcdexec
make[2]: Entering directory `/home/pi/lcdproc/clients/lcdexec'
make[3]: Entering directory `/home/pi/lcdproc/clients/lcdexec'
 /bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c lcdexec '/usr/local/bin'
 /bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 lcdexec.conf '/usr/local/etc'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients/lcdexec'
make[2]: Leaving directory `/home/pi/lcdproc/clients/lcdexec'
Making install in lcdproc
make[2]: Entering directory `/home/pi/lcdproc/clients/lcdproc'
make[3]: Entering directory `/home/pi/lcdproc/clients/lcdproc'
 /bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c lcdproc '/usr/local/bin'
 /bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 lcdproc.conf '/usr/local/etc'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients/lcdproc'
make[2]: Leaving directory `/home/pi/lcdproc/clients/lcdproc'
Making install in lcdvc
make[2]: Entering directory `/home/pi/lcdproc/clients/lcdvc'
make[3]: Entering directory `/home/pi/lcdproc/clients/lcdvc'
 /bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c lcdvc '/usr/local/bin'
 /bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 lcdvc.conf '/usr/local/etc'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients/lcdvc'
make[2]: Leaving directory `/home/pi/lcdproc/clients/lcdvc'
Making install in metar
make[2]: Entering directory `/home/pi/lcdproc/clients/metar'
make[3]: Entering directory `/home/pi/lcdproc/clients/metar'
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c lcdmetar.pl '/usr/local/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients/metar'
make[2]: Leaving directory `/home/pi/lcdproc/clients/metar'
make[2]: Entering directory `/home/pi/lcdproc/clients'
make[3]: Entering directory `/home/pi/lcdproc/clients'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/pi/lcdproc/clients'
make[2]: Leaving directory `/home/pi/lcdproc/clients'
make[1]: Leaving directory `/home/pi/lcdproc/clients'
Making install in server
make[1]: Entering directory `/home/pi/lcdproc/server'
Making install in drivers
make[2]: Entering directory `/home/pi/lcdproc/server/drivers'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -MT hd44780-hd44780-bwct-usb.o -MD -MP -MF .deps/hd44780-hd44780-bwct-usb.Tpo -c -o hd44780-hd44780-bwct-usb.o `test -f 'hd44780-bwct-usb.c' || echo './'`hd44780-bwct-usb.c
hd44780-bwct-usb.c: In function 'hd_init_bwct_usb':
hd44780-bwct-usb.c:68:3: warning: implicit declaration of function 'usb_init' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:69:3: warning: implicit declaration of function 'usb_find_busses' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:70:3: warning: implicit declaration of function 'usb_find_devices' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:72:4: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:73:4: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:74:3: warning: implicit declaration of function 'usb_get_busses' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:74:12: warning: assignment makes pointer from integer without a cast [enabled by default]
hd44780-bwct-usb.c:74:54: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:77:19: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:77:52: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:81:14: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:85:26: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:87:15: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:87:32: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:87:48: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:87:77: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:91:30: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:91:53: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:93:22: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:93:45: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:94:22: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:94:45: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:95:21: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:98:16: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:98:15: warning: implicit declaration of function 'usb_open' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:99:20: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:115:17: warning: implicit declaration of function 'usb_get_string_simple' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:115:44: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:115:60: error: dereferencing pointer to incomplete type
hd44780-bwct-usb.c:121:19: warning: implicit declaration of function 'usb_close' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:121:30: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:129:28: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:130:18: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:140:8: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:144:5: warning: implicit declaration of function 'usb_set_configuration' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:144:32: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:144:46: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:150:5: warning: implicit declaration of function 'usb_claim_interface' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:150:30: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:150:44: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c:166:18: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_senddata':
hd44780-bwct-usb.c:194:3: warning: implicit declaration of function 'usb_control_msg' [-Wimplicit-function-declaration]
hd44780-bwct-usb.c:194:20: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:194:33: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
hd44780-bwct-usb.c:194:33: note: each undeclared identifier is reported only once for each function it appears in
hd44780-bwct-usb.c:194:61: error: 'PrivateData' has no member named 'usbIndex'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_close':
hd44780-bwct-usb.c:201:8: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:202:16: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:203:6: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c: In function 'bwct_usb_HD44780_set_contrast':
hd44780-bwct-usb.c:216:24: error: 'PrivateData' has no member named 'usbHandle'
hd44780-bwct-usb.c:216:37: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
hd44780-bwct-usb.c:217:31: error: 'PrivateData' has no member named 'usbIndex'
make[2]: *** [hd44780-hd44780-bwct-usb.o] Error 1
make[2]: Leaving directory `/home/pi/lcdproc/server/drivers'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pi/lcdproc/server'
make: *** [install-recursive] Error 1
if that makes any sense to anyone and has a suggestion on how to go about rectifying this that would be great, because the material people keep suggesting to me to read doesnt have anything useful. im using the apt-get properly, i've used the suggestions on the configure and make and so on.

i just need a little more detail on what the problem is and how to fix it.

on the plus side, im back to the server error, and LCDd start ect goes to show as no directory so once again LCDd part isnt there meaning the make + make install has failed somewhere due to some reason which i cant work out.

Code: Select all

root@raspbmc:/home/pi/lcdproc# lcdproc -f T
sock_connect: connect failed
Error connecting to LCD server localhost on port 13666.
Check to see that the server is running and operating normally.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 12:04 am

i think something went wrong during the ./configure --enable-drivers=hd44780 stage because make just returns many errors as does make install (obviously because make hasnt compiled the program so theres nothing to install, right?)

so i guess the question is, whats going wrong at the configure stage? or am i completely off base with this?

heres what i get during the configure

Code: Select all

root@raspbmc:/home/pi/lcdproc# ./configure --enable-drivers=hd44780
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for xmlto... no
checking CFLAGS for gcc -Wno-unused-function... -Wno-unused-function
checking CFLAGS for gcc -ftrampolines... no, unknown
checking for gethostbyname... yes
checking for connect... yes
checking for inet_aton... yes
checking for kstat_open in -lkstat... no
checking for nanosleep in -lposix4... no
checking for getloadavg... yes
checking for swapctl... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for kvm_open in -lkvm... no
checking for kvm_open in -lkvm with -lelf... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sys/types.h... (cached) yes
checking machine/pio.h usability... no
checking machine/pio.h presence... no
checking for machine/pio.h... no
checking machine/sysarch.h usability... no
checking machine/sysarch.h presence... no
checking for machine/sysarch.h... no
checking sys/cpuvar.h usability... no
checking sys/cpuvar.h presence... no
checking for sys/cpuvar.h... no
checking machine/apm_bios.h usability... no
checking machine/apm_bios.h presence... no
checking for machine/apm_bios.h... no
checking for System V IPC headers... yes
checking for union semun... no
checking for machine/cpufunc.h... no
checking for sched_setscheduler... yes
checking for sched_setscheduler in -lposix4... no
checking for sched_setscheduler in -lrt... yes
checking for i386_get_ioperm in -li386... no
checking for i386_get_ioperm in -lc... no
checking for iopl... yes
checking for ioperm... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for a parallel port... yes
checking linux/i2c-dev.h usability... yes
checking linux/i2c-dev.h presence... yes
checking for linux/i2c-dev.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/io.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for sys/sysctl.h... yes
checking for sys/pcpu.h... no
checking for SA_RESTART... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for uname... yes
checking for cfmakeraw... yes
checking for snprintf... yes
checking for getopt... yes
checking for your mounted filesystem table... /etc/mtab
checking for fcntl.h... (cached) yes
checking sys/dustat.h usability... no
checking sys/dustat.h presence... no
checking for sys/dustat.h... no
checking for sys/param.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking for getmntinfo... no
configure: checking how to get filesystem space usage...
checking for statvfs... yes
checking module extension... .so
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking if libusb support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb may not be built
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libftdi may not be built
checking if libhid support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libhid may not be built
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... yes
checking for doxygen... no
configure: checking which drivers to compile...
---------------------------------------
LCDd will be compiled with the drivers:
    -  hd44780
---------------------------------------
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared/Makefile
config.status: creating server/Makefile
config.status: creating server/commands/Makefile
config.status: creating server/drivers/Makefile
config.status: creating clients/Makefile
config.status: creating clients/lcdproc/Makefile
config.status: creating clients/lcdexec/Makefile
config.status: creating clients/lcdvc/Makefile
config.status: creating clients/examples/Makefile
config.status: creating clients/metar/Makefile
config.status: creating docs/Makefile
config.status: creating docs/Doxyfile
config.status: creating docs/lcdproc-dev/Makefile
config.status: creating docs/lcdproc-user/Makefile
config.status: creating docs/lcdproc-user/drivers/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/init-LCDd.LSB
config.status: creating scripts/init-lcdproc.LSB
config.status: creating scripts/init-lcdexec.LSB
config.status: creating scripts/init-lcdvc.LSB
config.status: creating scripts/init-LCDd.debian
config.status: creating scripts/init-lcdproc.debian
config.status: creating scripts/init-lcdexec.debian
config.status: creating scripts/init-lcdvc.debian
config.status: creating scripts/init-LCDd.rpm
config.status: creating scripts/init-lcdproc.rpm
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@raspbmc:/home/pi/lcdproc#

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Tue Aug 28, 2012 12:16 am

OK. You do have a non-trivial problem. Because you don't have some of the libraries installed for USB, ftdi, etc, configure is only doing half it's job. The long term fix involves delving deep in to the internals of autoconf scripts (which you probably don't want to do this side of Christmas). A quick fix, run configure like this:

Code: Select all

./configure --disable-libusb --disable-libftdi --disable-libhid --disable-ethlcd --enable-drivers=hd44780 --no-create --no-recursion
(Watch for line wrap - That should all be on a single line, not two).

In the meantime, I will have a look at the internals of the configure script and send a patch upstream to the LCDproc team.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 12:38 am

kind of right about the configure stage then.

even running that adjusted configure its still returning the cannot connect to server.

and theres still nothing under /etc for LCDd.

i think i'll go at this again tomorow and post up the information.

does make create a log where the information can be recalled? theres to much to keep all on screen and scrolling up its still only 1/4 of what was displayed

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Tue Aug 28, 2012 12:49 am

secretreeve wrote:does make create a log where the information can be recalled? theres to much to keep all on screen and scrolling up its still only 1/4 of what was displayed

Code: Select all

make 2>&1 | tee /tmp/thingy.log
Tip No.1
The 2>&1 combines the standard and error streams and then pipes them to tee which writes stuff to the screen and also saves it to a file. appending 2>&1 | tee <file> to (almost) any script is a handy way of capturing the output.

Tip No.2
Get yourself a little notebook and write down handy little snippets of code - The web isn't always there when you need it.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 12:52 am

i save it all to a notepad file.

im reinstalling raspbmc now to give this one last go tonight before banging my head.

i figure clean installs are best because of the "multiple antibiotic problem" too many different AB's and you end up with symptoms similar to other things.

translated: trying to many types of fixes on one error = errors similar

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 1:28 am

apt-get install gcc

Code: Select all

root@raspbmc:/home/pi# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.6 gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
Suggested packages:
  binutils-doc cpp-doc gcc-4.6-locales gcc-multilib make manpages-dev autoconf automake1.9 libtool
  flex bison gdb gcc-doc libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath-dbg
  libmudflap0-dbg binutils-gold
The following NEW packages will be installed:
  binutils cpp cpp-4.6 gcc gcc-4.6 libgmp10 libgomp1 libmpc2 libmpfr4
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 34.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main libgmp10 armhf 2:5.0.5+dfsg-2 [208 kB]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main libgomp1 armhf 4.7.1-2+rpi1 [28.3 kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main libmpfr4 armhf 3.1.0-5 [524 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main libmpc2 armhf 0.9-4 [32.0 kB]
Get:5 http://archive.raspbian.org/raspbian/ wheezy/main binutils armhf 2.22-6.1 [4527 kB]
Get:6 http://archive.raspbian.org/raspbian/ wheezy/main cpp-4.6 armhf 4.6.3-8+rpi1 [4248 kB]
Get:7 http://archive.raspbian.org/raspbian/ wheezy/main cpp armhf 4:4.6.3-7 [16.6 kB]
Get:8 http://archive.raspbian.org/raspbian/ wheezy/main gcc-4.6 armhf 4.6.3-8+rpi1 [4467 kB]
Get:9 http://archive.raspbian.org/raspbian/ wheezy/main gcc armhf 4:4.6.3-7 [5010 B]
Fetched 14.1 MB in 13s (1065 kB/s)
Selecting previously unselected package libgmp10:armhf.
(Reading database ... 23082 files and directories currently installed.)
Unpacking libgmp10:armhf (from .../libgmp10_2%3a5.0.5+dfsg-2_armhf.deb) ...
Selecting previously unselected package libgomp1:armhf.
Unpacking libgomp1:armhf (from .../libgomp1_4.7.1-2+rpi1_armhf.deb) ...
Selecting previously unselected package libmpfr4:armhf.
Unpacking libmpfr4:armhf (from .../libmpfr4_3.1.0-5_armhf.deb) ...
Selecting previously unselected package libmpc2:armhf.
Unpacking libmpc2:armhf (from .../libmpc2_0.9-4_armhf.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6.1_armhf.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-7_armhf.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-8+rpi1_armhf.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-7_armhf.deb) ...
Setting up libgmp10:armhf (2:5.0.5+dfsg-2) ...
Setting up libgomp1:armhf (4.7.1-2+rpi1) ...
Setting up libmpfr4:armhf (3.1.0-5) ...
Setting up libmpc2:armhf (0.9-4) ...
Setting up binutils (2.22-6.1) ...
Setting up cpp-4.6 (4.6.3-8+rpi1) ...
Setting up cpp (4:4.6.3-7) ...
Setting up gcc-4.6 (4.6.3-8+rpi1) ...
Setting up gcc (4:4.6.3-7) ...
root@raspbmc:/home/pi#
apt-get install make

Code: Select all

root@raspbmc:/home/pi# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 393 kB of archives.
After this operation, 1149 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main make armhf 3.81-8.2 [393 kB]
Fetched 393 kB in 0s (712 kB/s)
Selecting previously unselected package make.
(Reading database ... 23366 files and directories currently installed.)
Unpacking make (from .../make_3.81-8.2_armhf.deb) ...
Setting up make (3.81-8.2) ...
root@raspbmc:/home/pi#
apt-get install cvs

Code: Select all

root@raspbmc:/home/pi# apt-get install cvs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  mksh rcs
The following NEW packages will be installed:
  cvs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2736 kB of archives.
After this operation, 4067 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main cvs armhf 2:1.12.13+real-9 [2736 kB]
Fetched 2736 kB in 2s (1157 kB/s)
Selecting previously unselected package cvs.
(Reading database ... 23400 files and directories currently installed.)
Unpacking cvs (from .../cvs_2%3a1.12.13+real-9_armhf.deb) ...
Processing triggers for install-info ...
Setting up cvs (2:1.12.13+real-9) ...
Allowing use of questionable username.
Adding group `_cvsadmin' (GID 110) ...
Done.
root@raspbmc:/home/pi#
apt-get install autoconf

Code: Select all

root@raspbmc:/home/pi# apt-get install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  automake autotools-dev m4
Suggested packages:
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext
The following NEW packages will be installed:
  autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1516 kB of archives.
After this operation, 4053 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main m4 armhf 1.4.16-3 [246 kB]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main autoconf all 2.69-1 [589 kB]
Get:3 http://archive.raspbian.org/raspbian/ wheezy/main autotools-dev all 20120608.1 [73.0 kB]
Get:4 http://archive.raspbian.org/raspbian/ wheezy/main automake all 1:1.11.6-1 [607 kB]
Fetched 1516 kB in 1s (905 kB/s)
Selecting previously unselected package m4.
(Reading database ... 23461 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.16-3_armhf.deb) ...
Selecting previously unselected package autoconf.
Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ...
Selecting previously unselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.6-1_all.deb) ...
Processing triggers for install-info ...
Setting up m4 (1.4.16-3) ...
Setting up autoconf (2.69-1) ...
Setting up autotools-dev (20120608.1) ...
Setting up automake (1:1.11.6-1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
root@raspbmc:/home/pi#
apt-get install patch

Code: Select all

root@raspbmc:/home/pi# apt-get install patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  ed diffutils-doc
The following NEW packages will be installed:
  patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 kB of archives.
After this operation, 218 kB of additional disk space will be used.
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main patch armhf 2.6.1-3 [123 kB]
Fetched 123 kB in 0s (188 kB/s)
Selecting previously unselected package patch.
(Reading database ... 23758 files and directories currently installed.)
Unpacking patch (from .../patch_2.6.1-3_armhf.deb) ...
Setting up patch (2.6.1-3) ...
root@raspbmc:/home/pi#
apt-get install automake

Code: Select all

root@raspbmc:/home/pi# apt-get install automake
Reading package lists... Done
Building dependency tree
Reading state information... Done
automake is already the newest version.
automake set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@raspbmc:/home/pi#
Grab the latest LCDproc sources from the CVS repository (on the target Pi)

Code: Select all

well no errors where reported at the end
patching process

Code: Select all

root@raspbmc:/home/pi# mkdir -p /mnt/pen
root@raspbmc:/home/pi# mount /dev/sda1 /mnt/pen
root@raspbmc:/home/pi# cd /mnt/pen
root@raspbmc:/mnt/pen# ls
Dog Soldiers.avi  Honey.avi  RaspberryPiV2.patch.gz
root@raspbmc:/mnt/pen# cp -v /mnt/pen/RaspberryPiV2.patch.gz /home/pi/lcdproc
`/mnt/pen/RaspberryPiV2.patch.gz' -> `/home/pi/lcdproc/RaspberryPiV2.patch.gz'
root@raspbmc:/mnt/pen# cd /home/pi/lcdproc
root@raspbmc:/home/pi/lcdproc# gunzip RaspberryPiV2.patch.gz
root@raspbmc:/home/pi/lcdproc# patch -p0 < RaspberryPiV2.patch
patching file acinclude.m4
patching file server/drivers/Makefile.am
patching file server/drivers/hd44780-drivers.h
patching file server/drivers/hd44780-low.h
patching file server/drivers/hd44780-rpi.c
patching file server/drivers/hd44780-rpi.h
root@raspbmc:/home/pi/lcdproc#
bash ./autogen.sh part

Code: Select all

root@raspbmc:/home/pi/lcdproc# bash ./autogen.sh
Running aclocal ...
Running autoheader...
Running automake  ...
configure.in:75: installing `./compile'
configure.in:10: installing `./config.guess'
configure.in:10: installing `./config.sub'
configure.in:6: installing `./install-sh'
configure.in:6: installing `./missing'
clients/lcdexec/Makefile.am: installing `./depcomp'
Running autoconf ...
root@raspbmc:/home/pi/lcdproc#
modified configure

Code: Select all

root@raspbmc:/home/pi/lcdproc# ./configure --disable-libusb --disable-libftdi --disable-libhid --disable-ethlcd --enable-drivers=hd44780 --no-create --no-recursion 2>&1 | tee /tmp/thingy.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for xmlto... no
checking CFLAGS for gcc -Wno-unused-function... -Wno-unused-function
checking CFLAGS for gcc -ftrampolines... no, unknown
checking for gethostbyname... yes
checking for connect... yes
checking for inet_aton... yes
checking for kstat_open in -lkstat... no
checking for nanosleep in -lposix4... no
checking for getloadavg... yes
checking for swapctl... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for kvm_open in -lkvm... no
checking for kvm_open in -lkvm with -lelf... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sys/types.h... (cached) yes
checking machine/pio.h usability... no
checking machine/pio.h presence... no
checking for machine/pio.h... no
checking machine/sysarch.h usability... no
checking machine/sysarch.h presence... no
checking for machine/sysarch.h... no
checking sys/cpuvar.h usability... no
checking sys/cpuvar.h presence... no
checking for sys/cpuvar.h... no
checking machine/apm_bios.h usability... no
checking machine/apm_bios.h presence... no
checking for machine/apm_bios.h... no
checking for System V IPC headers... yes
checking for union semun... no
checking for machine/cpufunc.h... no
checking for sched_setscheduler... yes
checking for sched_setscheduler in -lposix4... no
checking for sched_setscheduler in -lrt... yes
checking for i386_get_ioperm in -li386... no
checking for i386_get_ioperm in -lc... no
checking for iopl... yes
checking for ioperm... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for a parallel port... yes
checking linux/i2c-dev.h usability... yes
checking linux/i2c-dev.h presence... yes
checking for linux/i2c-dev.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/io.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for sys/sysctl.h... yes
checking for sys/pcpu.h... no
checking for SA_RESTART... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for uname... yes
checking for cfmakeraw... yes
checking for snprintf... yes
checking for getopt... yes
checking for your mounted filesystem table... /etc/mtab
checking for fcntl.h... (cached) yes
checking sys/dustat.h usability... no
checking sys/dustat.h presence... no
checking for sys/dustat.h... no
checking for sys/param.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking for getmntinfo... no
configure: checking how to get filesystem space usage...
checking for statvfs... yes
checking module extension... .so
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking if libusb support has been enabled... no
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... no
checking if libhid support has been enabled... no
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... no
checking for doxygen... no
configure: checking which drivers to compile...
---------------------------------------
LCDd will be compiled with the drivers:
    -  hd44780
---------------------------------------
configure: creating ./config.status
root@raspbmc:/home/pi/lcdproc#
still getting 2 warnings here and for some reason make returns the following

make command

Code: Select all

root@raspbmc:/home/pi/lcdproc# make
make: *** No targets specified and no makefile found.  Stop.
so now whats gone wrong? i mean okay, i know, theres no makefile. well there is but its "Makefile.am" and "Makefile.in".

so how on earth has that happened? and can i just rename a Makefile without the extension on it?

this is just me but im thinking something is going wrong prior to the configure stage as well. on the previous install it still didnt sort the LCDd errors, even with the modified configure script. so i've posted all the information i could get in this post just in case something is going wrong.

also i dont think that hd44780 file is there either

Code: Select all

root@raspbmc:/home/pi/lcdproc/server/drivers# ls
CFontz-charmap.h  curses_drv.c        hd44780-bwct-usb.h   hd44780-winamp.c   lcdm001.h      serialPOS.h
CFontz.c          curses_drv.h        hd44780-charmap.h    hd44780-winamp.h   lcterm.c       serialVFD.c
CFontz.h          debug.c             hd44780-drivers.h    hd44780.c          lcterm.h       serialVFD.h
CFontz633io.c     debug.h             hd44780-ethlcd.c     hd44780.h          lircin.c       serialVFD_displays.c
CFontz633io.h     ea65.c              hd44780-ethlcd.h     i2500vfd.c         lircin.h       serialVFD_displays.h
CFontzPacket.c    ea65.h              hd44780-ext8bit.c    i2500vfd.h         lis.c          serialVFD_io.c
CFontzPacket.h    g15-num.c           hd44780-ext8bit.h    icp_a106.c         lis.h          serialVFD_io.h
CVS               g15.c               hd44780-ftdi.c       icp_a106.h         lpt-port.h     shuttleVFD.c
CwLnx.c           g15.h               hd44780-ftdi.h       imon.c             mdm166a.c      shuttleVFD.h
CwLnx.h           glcd-drivers.h      hd44780-i2c.c        imon.h             mdm166a.h      stv5730.c
DOTirmanrc        glcd-glcd2usb.c     hd44780-i2c.h        imonlcd.c          ms6931.c       stv5730.h
EyeboxOne.c       glcd-glcd2usb.h     hd44780-lcd2usb.c    imonlcd.h          ms6931.h       svgalib_drv.c
EyeboxOne.h       glcd-low.h          hd44780-lcd2usb.h    imonlcd_font.h     mtc_s16209x.c  svgalib_drv.h
IOWarrior.c       glcd-png.c          hd44780-lis2.c       irmanin.c          mtc_s16209x.h  t6963.c
IOWarrior.h       glcd-render.c       hd44780-lis2.h       irmanin.h          mx5000.c       t6963.h
MD8800.c          glcd-render.h       hd44780-low.h        irtrans.c          mx5000.h       t6963_low.c
MD8800.h          glcd-serdisp.c      hd44780-rpi.c        irtrans.h          picolcd.c      t6963_low.h
Makefile.am       glcd-t6963.c        hd44780-rpi.h        irtrans_errcode.h  picolcd.h      text.c
Makefile.in       glcd_drv.c          hd44780-serial.c     irtrans_network.h  port.h         text.h
MtxOrb.c          glcd_drv.h          hd44780-serial.h     irtrans_remote.h   pylcd.c        timing.h
MtxOrb.h          glcd_font5x8.h      hd44780-serialLpt.c  joy.c              pylcd.h        tyan_lcdm.c
NoritakeVFD.c     glcdlib.c           hd44780-serialLpt.h  joy.h              report.h       tyan_lcdm.h
NoritakeVFD.h     glcdlib.h           hd44780-usb4all.c    lb216.c            sdeclcd.c      ula200.c
README            glk.c               hd44780-usb4all.h    lb216.h            sdeclcd.h      ula200.h
SureElec.c        glk.h               hd44780-usblcd.c     lcd.h              sed1330.c      vlsys_m428.c
SureElec.h        glkproto.c          hd44780-usblcd.h     lcd_lib.c          sed1330.h      vlsys_m428.h
adv_bignum.c      glkproto.h          hd44780-usbtiny.c    lcd_lib.h          sed1520.c      wirz-sli.c
adv_bignum.h      hd44780-4bit.c      hd44780-usbtiny.h    lcd_sem.c          sed1520.h      wirz-sli.h
bayrad.c          hd44780-4bit.h      hd44780-uss720.c     lcd_sem.h          sed1520fm.h    xosdlib_drv.c
bayrad.h          hd44780-bwct-usb.c  hd44780-uss720.h     lcdm001.c          serialPOS.c    xosdlib_drv.h

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Tue Aug 28, 2012 2:03 am

secretreeve wrote:so how on earth has that happened? and can i just rename a Makefile without the extension on it?
No. You can not just rename an arbitrary file with an .am or .in extension and hope it will work - These files have to be processed by configure before anything useful can be done with them. Give me a day or so to look at your problem. Something has gone wrong, but I've been up all day and need sleeZzzzzzzZzzzzz

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 2:10 am

alrighty, i was just wondering because the two Makefiles that are present are with the .am and .in extensions. and hey, if you dont ask, you dont know :)

if you need any further information, let me know and i'll try to get you the information.

learning alot about this side of things. far to used to dealing with installers and user interfaces. i.e windows lol. thanks so far, and thanks for being so.....patient isnt the right word, its so much more than that lol

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: looking for volunteer programmer.

Tue Aug 28, 2012 8:21 am

Just a couple of suggestions. Some of this may already be plain as day to you, but please bear with. What you are trying to do is build an application from source. This needs to be done in a few stages:

- you install the necessary build tools (sudo apt-get install build-essential will get you the majority of them)
- you download the source
- you patch the source if necessary
- you configure the source as per your requirements (./configure etc)
- you build the source (make)
- you install the resultant programs (sudo make install)
- you run your programs

If any step fails, there is no point continuing into the next step. So, if you see an error at the end of your screen following the make command, don't run make install. If your configure script output doesn't show config.status: creating Makefile, you won't be able to run make.

Wherever there is an error, fix it first before proceeding. There should be no need to keep re-installing everything, I think the only thing that's getting modified in this case is contained in your lcdproc folder. Worse case, just remake this folder, but you shouldn't need to.

From your listings, you have tried to redirect the output from configure, not the output from make, as serac showed. So, go back to your configure command and run it without the 2&1... When it's done, check it's made a Makefile. if not, report your findings. If so, run make (with or without the redirect, although what serac has showed is great for debugging, it's likely that all the relevant error info is in the last few lines anyway, so just go back up the output text until you see where the errors started and report back. If you can't go back far enough, then redirect make (i.e. 2&1...) and post the output file.)

If make finishes without error, then run sudo make install.

Then, and only then, should the lcd tools run.

good luck!

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 8:53 am

i should have said, i did re-run the configure without the 2&1 already and it still is not making the makefile.

from what i gather there should be changes made within the /etc folder. i.e /etc/LCDd (Which is non existant for some reason)

also, the apt-get install build essential is difficult because theres a risk that any step taken could essentialy "brake" something within raspbmc

also, "build essential" fails due to

Code: Select all

The following extra packages will be installed:
  bzip2 dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl libstdc++6-4.6-dev
  libtimedate-perl
Suggested packages:
  bzip2-doc debian-keyring gcc-4.6-doc libstdc++6-4.6-dbg libstdc++6-4.6-doc
The following NEW packages will be installed:
  build-essential bzip2 dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl
  libstdc++6-4.6-dev libtimedate-perl
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 2043 kB/9151 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://archive.raspbian.org/raspbian/ wheezy/main bzip2 armhf 1.0.6-3
  404  Not Found [IP: 89.16.177.90 80]
Err http://archive.raspbian.org/raspbian/ wheezy/main libdpkg-perl all 1.16.4.3
  404  Not Found [IP: 89.16.177.90 80]
Err http://archive.raspbian.org/raspbian/ wheezy/main dpkg-dev all 1.16.4.3
  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/b/bzip2/bzip2_1.0.6-3_armhf.deb  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/d/dpkg/libdpkg-perl_1.16.4.3_all.deb  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/d/dpkg/dpkg-dev_1.16.4.3_all.deb  404  Not Found [IP: 89.16.177.90 80]
Unable to correct missing packages.
E: Aborting install.
root@raspbmc:/home/pi/lcdproc#
but im pretty sure i have whats needed. perhaps serac can clarify which other packages may be required?

also if i knew how to delete the lcdproc folder to start over again, i would, but any rm commands i try fail complaining the directory isnt empty and its far quicker to reinstall raspbmc than delete all those files manually one by one lol it also garantees a clean slate so any mistakes from the previous attempt are removed.

but if you look through the logs i've posted, there arent actually any error messages (that i can see)

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 9:19 am

i need to let people know, if any of my posts have appeared as being stressed, rude, adjitated or fustrated. alot of it boils down to no sleep yet. so my posts may come across a little abrasive. sorry.

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: looking for volunteer programmer.

Tue Aug 28, 2012 9:32 am

secretreeve wrote:i should have said, i did re-run the configure without the 2&1 already and it still is not making the makefile.

from what i gather there should be changes made within the /etc folder. i.e /etc/LCDd (Which is non existant for some reason)

also, the apt-get install build essential is difficult because theres a risk that any step taken could essentialy "brake" something within raspbmc

also, "build essential" fails due to

Code: Select all

The following extra packages will be installed:
  bzip2 dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl libstdc++6-4.6-dev
  libtimedate-perl
Suggested packages:
  bzip2-doc debian-keyring gcc-4.6-doc libstdc++6-4.6-dbg libstdc++6-4.6-doc
The following NEW packages will be installed:
  build-essential bzip2 dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl
  libstdc++6-4.6-dev libtimedate-perl
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 2043 kB/9151 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://archive.raspbian.org/raspbian/ wheezy/main bzip2 armhf 1.0.6-3
  404  Not Found [IP: 89.16.177.90 80]
Err http://archive.raspbian.org/raspbian/ wheezy/main libdpkg-perl all 1.16.4.3
  404  Not Found [IP: 89.16.177.90 80]
Err http://archive.raspbian.org/raspbian/ wheezy/main dpkg-dev all 1.16.4.3
  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/b/bzip2/bzip2_1.0.6-3_armhf.deb  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/d/dpkg/libdpkg-perl_1.16.4.3_all.deb  404  Not Found [IP: 89.16.177.90 80]
Failed to fetch http://archive.raspbian.org/raspbian/pool/main/d/dpkg/dpkg-dev_1.16.4.3_all.deb  404  Not Found [IP: 89.16.177.90 80]
Unable to correct missing packages.
E: Aborting install.
root@raspbmc:/home/pi/lcdproc#
but im pretty sure i have whats needed. perhaps serac can clarify which other packages may be required?

also if i knew how to delete the lcdproc folder to start over again, i would, but any rm commands i try fail complaining the directory isnt empty and its far quicker to reinstall raspbmc than delete all those files manually one by one lol it also garantees a clean slate so any mistakes from the previous attempt are removed.

but if you look through the logs i've posted, there arent actually any error messages (that i can see)

Try sudo apt-get update then sudo apt-get upgrade before trying to install build essential (having said that, not sure how Raspbmc will get on with the upgrade, but you're an expert on its installation now, right? ;-) Besides, as you said, you've probably got everything there anyway now.

To remove the lcdproc folder, use rm -rf lcdproc

I suspect you won't get /etc/LCDd until make install has succeeded.

Can you run the configure script again, without the 2&1... and post the output - I can only see the output with the 2&1. Also, the config.log file might be useful

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 9:37 am

unfortunatly the platform raspbmc is based on received an update, updating the core platform brakes the majority of raspbmc at the moment so that wouldnt help hehe

Code: Select all

root@raspbmc:/home/pi/lcdproc# ./configure --disable-libusb --disable-libftdi --disable-libhid --disable-ethlcd --enable-drivers=hd44780 --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for xmlto... no
checking CFLAGS for gcc -Wno-unused-function... -Wno-unused-function
checking CFLAGS for gcc -ftrampolines... no, unknown
checking for gethostbyname... yes
checking for connect... yes
checking for inet_aton... yes
checking for kstat_open in -lkstat... no
checking for nanosleep in -lposix4... no
checking for getloadavg... yes
checking for swapctl... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for kvm_open in -lkvm... no
checking for kvm_open in -lkvm with -lelf... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sys/types.h... (cached) yes
checking machine/pio.h usability... no
checking machine/pio.h presence... no
checking for machine/pio.h... no
checking machine/sysarch.h usability... no
checking machine/sysarch.h presence... no
checking for machine/sysarch.h... no
checking sys/cpuvar.h usability... no
checking sys/cpuvar.h presence... no
checking for sys/cpuvar.h... no
checking machine/apm_bios.h usability... no
checking machine/apm_bios.h presence... no
checking for machine/apm_bios.h... no
checking for System V IPC headers... yes
checking for union semun... no
checking for machine/cpufunc.h... no
checking for sched_setscheduler... yes
checking for sched_setscheduler in -lposix4... no
checking for sched_setscheduler in -lrt... yes
checking for i386_get_ioperm in -li386... no
checking for i386_get_ioperm in -lc... no
checking for iopl... yes
checking for ioperm... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for a parallel port... yes
checking linux/i2c-dev.h usability... yes
checking linux/i2c-dev.h presence... yes
checking for linux/i2c-dev.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/io.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for sys/sysctl.h... yes
checking for sys/pcpu.h... no
checking for SA_RESTART... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for uname... yes
checking for cfmakeraw... yes
checking for snprintf... yes
checking for getopt... yes
checking for your mounted filesystem table... /etc/mtab
checking for fcntl.h... (cached) yes
checking sys/dustat.h usability... no
checking sys/dustat.h presence... no
checking for sys/dustat.h... no
checking for sys/param.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking for getmntinfo... no
configure: checking how to get filesystem space usage...
checking for statvfs... yes
checking module extension... .so
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking if libusb support has been enabled... no
checking if libusb-1-0 support has been enabled... yes
configure: WARNING: pkg-config not (fully) installed; drivers requiring libusb-1.0 may not be built
checking if libftdi support has been enabled... no
checking if libhid support has been enabled... no
checking if PNG support has been enabled... yes
checking for libpng-config... no
checking whether libpng is present and sane... no
checking if freetype support has been enabled... yes
configure: WARNING: freetype does not seem to be installed
checking if ethlcd support has been enabled... no
checking for doxygen... no
configure: checking which drivers to compile...
---------------------------------------
LCDd will be compiled with the drivers:
    -  hd44780
---------------------------------------
configure: creating ./config.status
root@raspbmc:/home/pi/lcdproc#
i will pull the config.log and upload it instead of copying and pasting over 3000 lines lol

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 9:44 am

config.log http://www.sendspace.com/file/hldjoo

got extension log is not alowed so sorry for the sendspace link.

i wouldnt say im an expert in the raspbmc install. i do spend a fair bit of time on their forums and read up on what brakes it and what doesnt. i only found out about the dist upgrade today because someone did a manual update/upgrade and broke their install hehe

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: looking for volunteer programmer.

Tue Aug 28, 2012 10:03 am

Is there a config.status file in your lcdproc folder?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: looking for volunteer programmer.

Tue Aug 28, 2012 10:27 am

Having just read through the entire thread, I'd suggest, and this may not be what you want to hear, that you have bitten off too big a project for your current experience level. What you are trying to do is actually quite complicated, involving some quite high level steps, and it would be more sensible to start of with something less complicated. You really need to have some idea of the error messages being displayed and how to deal with them, which only comes by working up to it from simpler things.

On the other hand you may stumble across the solution with the help of the extensive information already posted above. In which case it will be time well spent.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

bobc
Posts: 86
Joined: Fri Apr 06, 2012 8:01 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 6:58 pm

Being able to compile things from source is one of the best things about Linux: having to install software by compiling from the source is one of the worst things about Linux!

Patience and effort is required from both students and teachers...

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Tue Aug 28, 2012 8:57 pm

yup heres all the files

Code: Select all

000_CVS_READ_1ST  Makefile.in          compile        depcomp
BUGS              README               config.guess   diff_ignore
COPYING           RaspberryPiV2.patch  config.h.in    docs
CREDITS           TODO                 config.log     install-sh
CVS               acinclude.m4         config.status  missing
ChangeLog         aclocal.m4           config.sub     scripts
INSTALL           autogen.sh           configure      server
LCDd.conf         autom4te.cache       configure.in   shared
Makefile.am       clients              contrib
let me know if you need any uploading for review.

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: looking for volunteer programmer.

Tue Aug 28, 2012 9:51 pm

What happens if you type

Code: Select all

./config.status
I'm guessing not a lot, but lets see.

Return to “Media centres”