Custom Query (431 matches)


Show under each result:

Results (127 - 129 of 431)

Ticket Resolution Summary Owner Reporter
#1356 fixed fix CRLF in trac notification email dlove dlove
#1350 duplicate [SGE-bugs] Error building from src.rpm on RHEL 6 dlove
Adam DeConinck <> writes:

> On 8/10/2011 9:07 AM, Dave Love wrote:
>> Adam DeConinck <> writes:
>>> Downloaded gridenine-8.0.0a-2.src.rpm from
>>>  Server is a test
>>> machine running RHEL 6.1 x86_64.  Installed the src rpm (as root), and
>>> confirmed that all dependencies were in place, then ran "rpmbuild -bb
>>> --without java gridengine.spec"
>>> Build failed with the following output:
>>> echo libXmt.a
>>> libXmt.a
>>> -DSGE_ARCH_STRING=\"lx-amd64\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL
>>> -DSGE_ARCH_STRING=\"lx-amd64\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL
>>> -DSGE_ARCH_STRING=\"lx-amd64\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL
>>> In file included from /usr/include/X11/Xft/Xft.h:39,
>>>                  from /usr/include/Xm/TextFP.h:47,
>>>                  from ../Xbae/CellP.h:35,
>>>                  from ../Xbae/Cell.c:28:
>>> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
>>> such file or directory

This definitely looks like a system problem, but I don't understand the
problem on RH6 yet.  On RH5

  $ cc -E - >/dev/null <<+
  #include <Xm/TextFP.h>

works, but on RH6, it complains about the file, as above and, in fact,
including just Xft.h fails as above.

I see that the EPEL gridengine package has added

  export SGE_INPUT_CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/freetype2"

to the spec %build section before running aimk, but I think I'll put a
workaround in aimk -- patch available shortly.

Thanks for the report.
#1349 fixed RHEL 6 build problems dlove Florian.LaRoche@…

I've compiled the current gridengine source rpm with the Red Hat
buildsystem koji and put the rpm packages here:

For RHEL6 the following cludgy changes did make it compile:
--- gridengine.spec
+++ gridengine.spec
@@ -152,7 +152,7 @@

 # -O2/-O3 gives warnings about type puns.  It's not clear whether
 # they're serious, but -fno-strict-aliasing just in case.
-export SGE_INPUT_CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export SGE_INPUT_CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -I /usr/include/freetype2"
 [ -n "$RPM_BUILD_NCPUS" ] && parallel_flags="-parallel $RPM_BUILD_NCPUS"
 %if %{without java}
 JAVA_BUILD_OPTIONS="-no-java -no-jni"
@@ -182,8 +182,8 @@
   rm man/man8/SGE_Helper_Service.exe.8
   rm -r util/gui-installer util/sgeSMF
   rm start_gui_installer
-  for l in lib/*/; do
-    ( cd $(dirname $l); ln -sf; )
+  for l in lib/*/; do
+    ( cd $(dirname $l); ln -sf; )
   gzip man/man*/*

Please let me know if you run these rpms and they work out ok for you.

best regards,

Florian La Roche

Note: See TracQuery for help on using queries.