From: Manuel <lis...@gm...> - 2007-03-08 17:17:36
Attachments:
lcd4linux.mk
config.log
|
Hi all, I am making my first package but I have a problem. The attached package it's not already finished but compile without problems. I have found a problem. When the package test for the configuration, not found usb.h (see picoLCD in config.log). I need usb support. To resolve the problem I can manually copy the files from staging_dir/usr/include to staging_dir/include and all libusb from staging_dir/usr/lib to staging_dir/lib. With these changes works and I can make an image with lcd4linux with usb support. With my picoLCD works ok. Someone can tell me how to compile without coping these files manually? Thanks, -- Manuel |
From: Darrick H. <dha...@dj...> - 2007-03-08 17:53:25
|
Manuel wrote: > Hi all, > > I am making my first package but I have a problem. The attached package it's > not already finished but compile without problems. I have found a problem. > When the package test for the configuration, not found usb.h (see picoLCD in > config.log). I need usb support. To resolve the problem I can manually copy > the files from staging_dir/usr/include to staging_dir/include and all libusb > from staging_dir/usr/lib to staging_dir/lib. With these changes works and I > can make an image with lcd4linux with usb support. With my picoLCD works ok. > > Someone can tell me how to compile without coping these files manually? > You may need to patch the configure script and possibly the Makefile for it to find the include. You can see how this is done in other packages. Look at the patch in the 0.4 branch for asterisk-makefile-cdr.patch. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Kristian K. <kri...@gm...> - 2007-03-08 18:46:19
|
On 3/8/07, Darrick Hartman <dha...@dj...> wrote: > Manuel wrote: > > Hi all, > > > > I am making my first package but I have a problem. The attached package it's > > not already finished but compile without problems. I have found a problem. > > When the package test for the configuration, not found usb.h (see picoLCD in > > config.log). I need usb support. To resolve the problem I can manually copy > > the files from staging_dir/usr/include to staging_dir/include and all libusb > > from staging_dir/usr/lib to staging_dir/lib. With these changes works and I > > can make an image with lcd4linux with usb support. With my picoLCD works ok. > > > > Someone can tell me how to compile without coping these files manually? > > > You may need to patch the configure script and possibly the Makefile for > it to find the include. You can see how this is done in other > packages. Look at the patch in the 0.4 branch for > asterisk-makefile-cdr.patch. > > Darrick > > -- > Darrick Hartman > DJH Solutions, LLC > http://www.djhsolutions.com Usually you can just pass CFLAGS="-I $(STAGING_DIR)/include -L $(STAGING_DIR)/lib" (and whatever else) before configure and make. -- Kristian Kielhofner |
From: Manuel D. <man...@te...> - 2007-03-08 19:33:36
|
Thanks to all, I solve the problem using a similar method I have found in Internet. Can = you take a look to see if the package settings are ok?=20 I have a problem with init. I don=92t know if the file I have installed = in /etc/init.d is enough to start lcd4linux. By the moment not works and I = need to type manually "mount -t usbfs usbfs /proc/bus/usb" and then start lscd4linux. Some ideas? Thanks, -- Manuel =20 -----Mensaje original----- De: ast...@li... [mailto:ast...@li...] En nombre de = Kristian Kielhofner Enviado el: jueves, 08 de marzo de 2007 19:46 Para: AstLinux Users Mailing List Asunto: Re: [Astlinux-users] Lcd4linux package On 3/8/07, Darrick Hartman <dha...@dj...> wrote: > Manuel wrote: > > Hi all, > > > > I am making my first package but I have a problem. The attached = package it's > > not already finished but compile without problems. I have found a problem. > > When the package test for the configuration, not found usb.h (see picoLCD in > > config.log). I need usb support. To resolve the problem I can = manually copy > > the files from staging_dir/usr/include to staging_dir/include and = all libusb > > from staging_dir/usr/lib to staging_dir/lib. With these changes = works and I > > can make an image with lcd4linux with usb support. With my picoLCD = works ok. > > > > Someone can tell me how to compile without coping these files = manually? > > > You may need to patch the configure script and possibly the Makefile = for > it to find the include. You can see how this is done in other > packages. Look at the patch in the 0.4 branch for > asterisk-makefile-cdr.patch. > > Darrick > > -- > Darrick Hartman > DJH Solutions, LLC > http://www.djhsolutions.com Usually you can just pass CFLAGS=3D"-I $(STAGING_DIR)/include -L $(STAGING_DIR)/lib" (and whatever else) before configure and make. --=20 Kristian Kielhofner -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Astlinux-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |
From: Kristian K. <kri...@gm...> - 2007-03-08 19:39:25
|
On 3/8/07, Manuel Dominguez <man...@te...> wrote: > Thanks to all, > > I solve the problem using a similar method I have found in Internet. Can you > take a look to see if the package settings are ok? > I have a problem with init. I don't know if the file I have installed in > /etc/init.d is enough to start lcd4linux. By the moment not works and I need > to type manually "mount -t usbfs usbfs /proc/bus/usb" and then start > lscd4linux. Some ideas? > > Thanks, > > -- > Manuel > Manuel, Once your package is added to AstLinux I will assign a start/stop point in the default runlevel. I also just commited a change to trunk that will mount usbfs by default from /etc/rc on startup. -- Kristian Kielhofner |
From: Manuel D. <man...@te...> - 2007-03-09 21:18:54
|
Darrick, Kristian, The lcd4linux package that I have sent in my last email is working in my system. The lcd4linux.conf is a sample for my picoLCD. The Init file I = don=92t know if works or not. Please verify it and if you think that the package = has enough quality and is useful for Astlinux community includes it in 0.4 = and trunk. Best regards, -- Manuel =20 -----Mensaje original----- De: ast...@li... [mailto:ast...@li...] En nombre de = Kristian Kielhofner Enviado el: jueves, 08 de marzo de 2007 20:39 Para: AstLinux Users Mailing List Asunto: Re: [Astlinux-users] Lcd4linux package On 3/8/07, Manuel Dominguez <man...@te...> wrote: > Thanks to all, > > I solve the problem using a similar method I have found in Internet. = Can you > take a look to see if the package settings are ok? > I have a problem with init. I don't know if the file I have installed = in > /etc/init.d is enough to start lcd4linux. By the moment not works and = I need > to type manually "mount -t usbfs usbfs /proc/bus/usb" and then start > lscd4linux. Some ideas? > > Thanks, > > -- > Manuel > Manuel, Once your package is added to AstLinux I will assign a start/stop point in the default runlevel. I also just commited a change to trunk that will mount usbfs by default from /etc/rc on startup. --=20 Kristian Kielhofner -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Astlinux-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |