From: Alex P. <ale...@ci...> - 2007-09-03 18:14:19
|
Yves, The snapshot from 28 Augustus 2007 compiled on Solaris -- Alex -----Original Message----- From: per...@li... [mailto:per...@li...] On Behalf Of Yves Mettier Sent: maandag 3 september 2007 13:19 To: per...@li... Subject: [Perfparse-devel] ncurses/autotools (was : Feature request) Hi ! Back from holidays. I may be late, but better late than never :) Yes, I'm familiar with autoconf. But I have no more time to spend on perfparse :( Anyway, check this : http://people.ubuntu.com/~mvo/bzr/synaptic/synaptic--main/macros/curses.m= 4 Note1 : editing the acconfig.h is obsolete. But I don't remember the new = way of doing things. It's something to add in configure.ac, but I don't = remember the macro name. Maybe this is useless in simple cases like in perfparse = ? Note2 : check if linux systems don't already have a standard curses.m4 = file. In short : 1/ add the curses.m4 file into the m4/ directory 2/ add the following to configure.ac : AC_CHECK_CURSES 3/ remove the other lines about ncurses in configure.ac 4/ edit the Makefile.am files 5/ Then run the following : $ aclocal -I m4 $ autoconf $ autoheader $ automake $ ./configure --with-ncursesdir=3D/usr/local Don't forget to add m4/curses.m4 to the cvs repository ! :) I hope this helps. If you have any question, just ask :) Yves > Ale...@sm... schrieb: >>> convert.c:41:21: ncurses.h: No such file or directory >> pwd >> /usr/local/include/ncurses >> ls -l ncurses.h >> lrwxrwxrwx 1 root SysAdmin 8 Jul 31 15:09 ncurses.h -> curses.h > > I'm not autoconf expert. I thought autoconf would find that out, but=20 > that is not true. CFLAGS=3D"-I/usr/local/include/ncurses" LDFLAGS=3D"-liconv" ./configure = ... removes the "ncurses.h not found" error, but raises another linker = error. I'm investigating it later. > > Are you familiar with autoconf? --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - C en action - http://www.oreilly.fr/catalogue/2841772896.html - -------------------------------------------------------------------------= This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Perfparse-devel mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-devel No virus found in this incoming message. Checked by AVG Free Edition.=20 Version: 7.5.485 / Virus Database: 269.13.3/986 - Release Date: = 3/09/2007 9:31 No virus found in this outgoing message. Checked by AVG Free Edition.=20 Version: 7.5.485 / Virus Database: 269.13.3/986 - Release Date: = 3/09/2007 9:31 =20 |