04:15:54 #startmeeting 04:15:54 Meeting started Sat May 29 04:15:54 2010 UTC. The chair is FranciscoD_. Information about MeetBot at http://wiki.debian.org/MeetBot. 04:15:54 Useful Commands: #action #agreed #halp #info #idea #link #topic. 04:16:15 #meetingname FAD PUNE https://fedoraproject.org/wiki/FAD_Pune_2010 04:16:15 The meeting name has been set to 'fad_pune_https://fedoraproject.org/wiki/fad_pune_2010' 04:16:48 #topic Autotools workshop <- debiansid 04:16:53 git clone git://github.com/siddhesh/linkc.git 04:22:10 start with the constrction of a conigure.ac 04:22:21 * FranciscoD_ is logging for debiansid 04:23:00 AC_INIT([linkc],[0.1],[email@sadsad.com],[linkc]) 04:23:24 (this is once youve cd'd to the linkc directory) 04:24:02 AC_INIT([PACKAGENAME],[VERSION],[email@sadsad.com],..) 04:24:11 initializing automake 04:24:54 AM_INIT_AUTOMAKE(dist-bzip2 dist-zip) 04:25:03 (gz is by default) 04:25:27 this is to list what targets you want to create at a 'make dist' cmd 04:26:38 AM_INIT_AUTOMAKE(dist-bzip2 dist-zip check-news) 04:27:09 http://www.gnu.org/software/libtool//manual/automake/Options.html 04:27:13 check-news -> checks the NEWS file to see if the version provided in line 1 is present 04:29:10 AC_CONFIG_SRCDIR([main.c]) 04:30:57 #link http://www.gnu.org/software/hello/manual/autoconf/Input.html 04:32:36 AC_PROG_CC <- detects compiler 04:32:46 AC_PROG_INSTALL <- detects install 04:33:01 AC_PROG <- program detection macros 04:33:07 (vaguely) 04:36:06 mether, can you pass the list of bugs ? 04:37:18 http://tinyurl.com/22resfg 04:37:30 AC_CHECK_LIB([ncurses],[initscr], , AC_MSG_ERROR([could not find ncurses lib])) 04:37:48 first checks for presence of the lib, it would be libncurses.so.? 04:37:56 initscr is a function name in the lib 04:38:11 the last arg is the error msg to throw if it doesnt filnd the lib 04:38:42 AC_CHECK_LIB([menu],[new_menu], , AC_MSG_ERROR([could not find ncurses menu lib])) 04:39:11 AC_OUTPUT([Makefile Help/Makefile]) 04:39:23 to create makefiles in the root dir and the Help dir 04:39:38 thats all for configure.ac regarding this project 04:39:47 moving on to Makefile.am 04:41:52 the macro 'SUBDIRS = xxxxxx' is used to specify which subdirs are to be looked into 04:42:01 SUBDIRS = Help 04:42:24 bin_PROGRAMS = linkc 04:42:30 this specifies the program name 04:42:58 linkc_SOURCES = main.c design.c file.c help.c \ 04:43:05 design.h file.h help.h 04:43:37 this is to specify the sources for a particular target, in this case 'linkc' 04:44:07 if we had more targets in the bin_PROGRAMS macro, we would specify their sources separately too 04:45:26 noinst_HEADERS = design.h file.h help.h 04:45:37 implies that these are only needed for building, and will not be installed 04:46:04 this was the Makefile.am in the root directory 04:46:14 next, we make a Makefile.am in the Help dir 04:46:17 cd Help 04:46:22 ls 04:47:13 vim Makefile.am to open up a new file for writing 04:47:55 Helpdir = $(datadir)/$(PACKAGE)/Help 04:48:05 Hey people 04:48:08 Heldp_DATA = *.hlp 04:49:33 cd ../../ 04:49:46 pwd -> linkc/ 04:49:53 aclocal 04:49:57 FranciscoD, http://www.pathname.com/fhs/ 04:50:34 autoconf 04:50:53 now we have a 'configure' 04:51:08 but we lack a Makefile.in (which configure takes as input) 04:51:17 automake 04:51:52 you get a couple of errors for missing files, such as NEWS README AUTHORS ChangeLog COPYING 04:51:56 to add these files, 04:52:05 automake --add-missing -c 04:52:17 -c will also copy, else it would only make softlinks 04:52:42 touch INSTALL NEWS AUTHORS ChangeLog 04:52:53 touch README 04:52:58 automake --add-missing -c 04:53:01 will return no erros 04:53:08 s/erros/errors 04:55:18 error http://fpaste.org/BXnr/ 04:55:29 http://fpaste.org/eNAu/ 04:56:05 http://fpaste.org/9tkS/ 04:56:08 makefile.am http://fpaste.org/4NXo/ 04:56:22 Makefile -> http://fpaste.org/9tkS/ 04:57:41 getting "Makefile.am: installing `./depcomp'" after doing automake --add-missing -c 04:57:56 debiansid, you derived that equation e=mc2 ? unmm.. 04:58:07 coonfigure.c -> http://fpaste.org/IWyF/ 04:58:10 debiansid: ^ 04:58:34 rakesh: :D 05:00:15 http://fpaste.org/vTeY/ 05:05:22 http://fpaste.org/rUIN/ 05:05:27 debiansid: ^ 05:06:22 Can we restore grub of an upgraded version with the installation media of 1 lower version or 1 upper version 05:06:32 can any one help 05:07:04 techshaddy, you should be 05:07:11 techshaddy, ask in #fedora 05:08:02 i am using f12 and i lost my grub but i donot have installation media of f12 but have the dvd of f11 and f13 beta version 05:08:08 ohk 05:09:05 kishan, congrats :P 05:09:23 rtnpro: thanks a lot! :P 05:09:39 http://fpaste.org/mwOU/ 05:11:24 http://fpaste.org/wxpC/ 05:12:15 http://fpaste.org/kmNe/ 05:15:51 \ 05:15:56 \ 05:16:04 \ 05:16:08 \ 05:16:24 \\\\\\\\\\\\\\\ 05:16:25 \ 05:16:26 \\\ 05:16:27 \ 05:16:28 \\\\\ 05:16:41 end of the autotool workshop :) 05:17:00 #endmeet 05:17:03 #endmeeting