Re: need more help compiling from CVS



On 2001.07.29 12:17 Cyrille Chepelov wrote:
Le dim, jui 29, 2001, à 11:06:33 -0700, Andrew S . Halper a écrit:

When autogen.sh runs the configure script:

Running gettextize...  Ignore non-fatal messages.
/autogen.sh: gettextize: command not found
Running libtoolize
aclocal: configure.in: 117: macro `AM_LANGINFO_CODESET' not found in library
aclocal: configure.in: 118: macro `AM_ICONV' not found in library
aclocal: configure.in: 252: macro `AM_GNU_GETTEXT' not found in library
objects/standard/Makefile.am:3: library used but `LIBTOOL' not defined in
`configure.in'

These are provided by gettext in /usr/share/aclocal (in files iconv.m4,
codeset.m4 and gettext.m4). Please check that they're installed in the
correct place).

OK, thanks.  More progress.  I upgraded to the Rawhide gettext 0.10.38-4 RPM
(couldn't find a Red Hat binary), which has these macros in the proper place. 
Now I'm getting an error in app/:

gcc -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations
-finline-functions -fstrict-aliasing -o dia diagram.o preferences.o load_save.o
group.o properties.o defaults.o render_eps.o render_libart.o undo.o object_ops.o
layer_dialog.o export_png.o commands.o app_procs.o connectionpoint_ops.o
disp_callbacks.o display.o select.o color_area.o linewidth_area.o
lineprops_area.o grid.o handle_ops.o interface.o modify_tool.o scroll_tool.o
create_object.o magnify.o menus.o cut_n_paste.o render_gdk.o tool.o
diapagelayout.o diaunitspinner.o pagesetup.o filedlg.o plugin-manager.o
dia-props.o gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o
recent_files.o paginate_psprint.o main.o ../lib/libdia.a -lpopt -L/usr/lib -lxml
-lz -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm -L/usr/lib -lart_lgpl -lm -lpng -lz -lm -L/usr/lib -lgdk_pixbuf
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm -L/usr/lib -lunicode -Wl,--export-dynamic
preferences.o: In function `prefs_save':
/home/ashalper/dia/app/preferences.c:282: undefined reference to `dcgettext__'
preferences.o: In function `prefs_boolean_toggle':
/home/ashalper/dia/app/preferences.c:574: undefined reference to `dcgettext__'
/home/ashalper/dia/app/preferences.c:574: undefined reference to `dcgettext__'
preferences.o: In function `prefs_get_property_widget':
/home/ashalper/dia/app/preferences.c:585: undefined reference to `dcgettext__'
preferences.o: In function `prefs_create_dialog':
/home/ashalper/dia/app/preferences.c:659: undefined reference to `dcgettext__'
preferences.o:/home/ashalper/dia/app/preferences.c:682: more undefined
references to `dcgettext__' follow
collect2: ld returned 1 exit status
make: *** [dia] Error 1

-Wp,-MD,.deps/annotation.pp -c annotation.c  -fPIC -DPIC -o annotation.lo
annotation.c: In function `handle_btn1':
annotation.c:122: warning: implicit declaration of function `random'
annotation.c:122: `RAND_MAX' undeclared (first use in this function)
annotation.c:122: (Each undeclared identifier is reported only once
annotation.c:122: for each function it appears in.)

My fault ; I've forgotten to add a #include <stdlib.h> (we obviously don't
have the same glibc). Fixed in CVS now.

What's the revision number?  I've got 1.8 at the head:

===================================================================
File: annotation.c      Status: Up-to-date

   Working revision:    1.8
   Repository revision: 1.8     /cvs/gnome/dia/objects/SADT/annotation.c,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

[ashalper rocket SADT]$ grep stdlib annotation.c
[ashalper rocket SADT]$ 

Thanks,
Andy





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]