From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24630 invoked by alias); 29 Dec 2001 04:21:46 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 24580 invoked from network); 29 Dec 2001 04:21:42 -0000 Received: from unknown (HELO li.mine.nu) (195.163.18.45) by sources.redhat.com with SMTP; 29 Dec 2001 04:21:42 -0000 Received: from abc.se (li.mine.nu [192.168.0.2]) by li.mine.nu (Postfix) with ESMTP id 041C07A501; Sat, 29 Dec 2001 05:21:46 +0100 (CET) Message-ID: <3C2D44DA.2FE67936@abc.se> Date: Sun, 18 Nov 2001 08:30:00 -0000 From: Bo Forslund X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Steve Tell , guile-gtk list Cc: Marius Vollmer Subject: Yet a new version (was Re: ERROR: In procedure dynamic-link:) References: <3C2D128D.36581FC5@abc.se> <3C2D174B.B0AF030E@abc.se> Content-Type: multipart/mixed; boundary="------------1DE5F9A945A10881DE4D31A4" X-SW-Source: 2001-q4/txt/msg00023.txt.bz2 This is a multi-part message in MIME format. --------------1DE5F9A945A10881DE4D31A4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 1233 I think I found what's wrong. It is not the package as a whole. I used the exapmles to check whether the rpm builds were OK. I thought that if the examples compiled OK then the package would be OK. I suspected that it might be a SMP problem, and it might be. But not when it comes to compile the package, only when it comes to compile the examples. I think that the pagkage was built OK every time. It was just the examples that were failing I think it is last few lines in Makefile.am that is failing foo-glue.c: foo.defs build-guile-gtk glue $< >tmp && mv tmp $@ main.c: foo.defs build-guile-gtk main $< >tmp && mv tmp $@ With this above in Makefile.am a build would fail 9 times of 10 or so. I dont really understand how this works but I think the tmp-something is deleted before the final file is ready written and that it is here it might be an SMP problem. I am building on a dual CPU box. Whith this in Automake.am it works. I have tried several builds. foo-glue.c: foo.defs build-guile-gtk glue $< >$@ main.c: foo.defs build-guile-gtk main $< >$@ Here is the last src.rpm ftp://geek.mine.nu/pub/SRPMS/guile-gtk-20011121-8.src.rpm The latest patch comes as an attach G'nite Bo --------------1DE5F9A945A10881DE4D31A4 Content-Type: text/plain; charset=us-ascii; name="guile-gtk-20011121-8.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="guile-gtk-20011121-8.patch" Content-length: 3291 diff -Nur guile-gtk-20011121-virgin/Makefile.am guile-gtk-20011121/Makefile.am --- guile-gtk-20011121-virgin/Makefile.am Tue Nov 13 00:06:08 2001 +++ guile-gtk-20011121/Makefile.am Sat Dec 29 03:45:51 2001 @@ -1,26 +1,20 @@ # -*- Makefile -*- -autoconf_macros = gnome-guile-checks.m4 -acinclude.m4: $(autoconf_macros) - cd $(srcdir); \ - cat $(autoconf_macros) > acim.tmp; \ - mv acim.tmp acinclude.m4 - -#bin_PROGRAMS = $(GUILE_GTK_VERSION) +bin_PROGRAMS = $(GUILE_GTK_VERSION) bin_SCRIPTS = build-guile-gtk lib_LTLIBRARIES = $(LIBGUILEGTK_VERSION) $(LIBGUILEDLOPENHELPER) -#EXTRA_PROGRAMS = guile-gtk-1.2 guile-gtk-1.3 +EXTRA_PROGRAMS = guile-gtk-1.2 guile-gtk-1.3 EXTRA_LTLIBRARIES = libguilegtk-1.2.la libguilegtk-1.3.la \ libguiledlopenhelper.la -#guile_gtk_1_2_SOURCES = main.c -#guile_gtk_1_2_LDFLAGS = -export-dynamic -#guile_gtk_1_2_LDADD = libguilegtk-1.2.la $(GUILE_LIBS) $(GTK_LIBS) - -#guile_gtk_1_3_SOURCES = main.c -#guile_gtk_1_3_LDFLAGS = -export-dynamic -#guile_gtk_1_3_LDADD = libguilegtk-1.3.la $(GUILE_LIBS) $(GTK_LIBS) +guile_gtk_1_2_SOURCES = main.c +guile_gtk_1_2_LDFLAGS = -export-dynamic +guile_gtk_1_2_LDADD = libguilegtk-1.2.la $(GUILE_LIBS) $(GTK_LIBS) + +guile_gtk_1_3_SOURCES = main.c +guile_gtk_1_3_LDFLAGS = -export-dynamic +guile_gtk_1_3_LDADD = libguilegtk-1.3.la $(GUILE_LIBS) $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) -I$(includedir) $(GUILE_INCS) @@ -68,9 +62,9 @@ include_HEADERS = guile-gtk.h -#install-exec-local: -# mkdir -p $(bindir) -# cd $(bindir) && rm -f guile-gtk && $(LN_S) $(GUILE_GTK_VERSION) guile-gtk +install-exec-local: + mkdir -p $(bindir) + cd $(bindir) && rm -f guile-gtk && $(LN_S) $(GUILE_GTK_VERSION) guile-gtk gtkmoduledir = $(datadir)/guile/gtk vgtkmoduledir = $(datadir)/guile/gtk-$(GTK_VERSION) @@ -109,8 +103,8 @@ gdk-glue.c: $(gdkdefs) build-guile-gtk $(BUILD) -I $(srcdir) glue $(gdkdefs) >tmpd && mv tmpd $@ -#main.c: $(gtkdefs) $(gdkdefs) build-guile-gtk -# $(BUILD) -I $(srcdir) main $(gtkdefs) $(gdkdefs) >tmpm && mv tmpm $@ +main.c: $(gtkdefs) $(gdkdefs) build-guile-gtk + $(BUILD) -I $(srcdir) main $(gtkdefs) $(gdkdefs) >tmpm && mv tmpm $@ Makefile: $(BUILT_SOURCES) diff -Nur guile-gtk-20011121-virgin/examples/Makefile.am guile-gtk-20011121/examples/Makefile.am --- guile-gtk-20011121-virgin/examples/Makefile.am Sun Apr 16 22:19:46 2000 +++ guile-gtk-20011121/examples/Makefile.am Sat Dec 29 03:49:11 2001 @@ -16,10 +16,10 @@ BUILT_SOURCES = foo-glue.c main.c foo-glue.c: foo.defs - build-guile-gtk glue $< >tmp && mv tmp $@ + build-guile-gtk glue $< >$@ main.c: foo.defs - build-guile-gtk main $< >tmp && mv tmp $@ + build-guile-gtk main $< >$@ scmgtkdir=$(datadir)/guile/gtk scmgtk_DATA = foo.scm diff -Nur guile-gtk-20011121-virgin/examples/configure.in guile-gtk-20011121/examples/configure.in --- guile-gtk-20011121-virgin/examples/configure.in Sat Dec 2 13:10:27 2000 +++ guile-gtk-20011121/examples/configure.in Sat Dec 29 03:45:51 2001 @@ -5,14 +5,6 @@ AC_PROG_CC AM_PROG_LIBTOOL -GNOME_COMMON_INIT -GNOME_PLATFORM_GNOME_2(no) - -if test $platform_gnome_2 = yes ; then - GNOME_PKGCONFIG_CHECK_MODULES(GTK, gtk+-2.0:1.3.1) -else - GNOME_PKGCONFIG_CHECK_MODULES(GTK, gtk+:1.2.6) -fi AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) --------------1DE5F9A945A10881DE4D31A4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Forslund To: Steve Tell , guile-gtk list Cc: Marius Vollmer Subject: Yet a new version (was Re: ERROR: In procedure dynamic-link:) Date: Fri, 28 Dec 2001 20:21:00 -0000 Message-ID: <3C2D44DA.2FE67936@abc.se> References: <3C2D128D.36581FC5@abc.se> <3C2D174B.B0AF030E@abc.se> X-SW-Source: 2001-q4/msg00035.html Message-ID: <20011228202100.zahOEB479R-M9RoCzHkKIC-87TG76vev6KpRPLizwPY@z> I think I found what's wrong. It is not the package as a whole. I used the exapmles to check whether the rpm builds were OK. I thought that if the examples compiled OK then the package would be OK. I suspected that it might be a SMP problem, and it might be. But not when it comes to compile the package, only when it comes to compile the examples. I think that the pagkage was built OK every time. It was just the examples that were failing I think it is last few lines in Makefile.am that is failing foo-glue.c: foo.defs build-guile-gtk glue $< >tmp && mv tmp $@ main.c: foo.defs build-guile-gtk main $< >tmp && mv tmp $@ With this above in Makefile.am a build would fail 9 times of 10 or so. I dont really understand how this works but I think the tmp-something is deleted before the final file is ready written and that it is here it might be an SMP problem. I am building on a dual CPU box. Whith this in Automake.am it works. I have tried several builds. foo-glue.c: foo.defs build-guile-gtk glue $< >$@ main.c: foo.defs build-guile-gtk main $< >$@ Here is the last src.rpm ftp://geek.mine.nu/pub/SRPMS/guile-gtk-20011121-8.src.rpm The latest patch comes as an attach G'nite Bo