Opened 12 years ago

Closed 8 years ago

#440 closed defect (fixed)

IZ2319: Patch required to build qtcsh

Reported by: ryanthomas Owned by:
Priority: normal Milestone:
Component: sge Version: 6.0u11
Severity: minor Keywords: PC Linux build
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2319]

        Issue #:      2319             Platform:     PC       Reporter: ryanthomas (ryanthomas)
       Component:     gridengine          OS:        Linux
     Subcomponent:    build            Version:      6.0u11      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     Patch required to build qtcsh
   Status whiteboard:
      Attachments:

     Issue 2319 blocks:
   Votes for issue 2319:


   Opened: Thu Jun 28 14:51:00 -0700 2007 
------------------------


I have to use the following patch in order to compile qtcsh via the standard
aimk make process.

I identified the problem with 6.0u10 but found the defect wasn't fixed in 6.0u11
and decided to report it.

--- gridengine-6u10/source/3rdparty/qtcsh/sge_configure.csh.orig        2007-03-
15 08:36:12.000000000 -0400
+++ gridengine-6u10/source/3rdparty/qtcsh/sge_configure.csh     2007-03-15 08:37
:00.000000000 -0400
@@ -14,8 +14,8 @@
 echo "change to directory ./$arch"
 cd $arch

-echo "calling ../configure --srcdir=.. --with-sge=$arch"
-../configure --srcdir=.. --with-sge=$arch
+echo "calling ../configure --srcdir=.. --with-grd=$arch"
+../configure --srcdir=.. --with-grd=$arch

 echo "change to directory ./"
 cd ..
--- gridengine-6u10/source/3rdparty/qtcsh/configure.orig        2007-03-15 08:22
:03.000000000 -0400
+++ gridengine-6u10/source/3rdparty/qtcsh/configure     2007-03-15 08:59:22.0000
00000 -0400
@@ -632,7 +632,7 @@
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-hesiod=PREFIX    Use Hesiod lookup for ~ expansion
-  --with-sge=ARCH         SGE/SGEEE ARCH (LINUX5/LINUX6...)
+  --with-grd=ARCH         SGE/SGEEE ARCH (LINUX5/LINUX6...)

 Some influential environment variables:
   CC          C compiler command
@@ -2682,17 +2682,17 @@
   fi
 fi

-# Check whether --with-sge or --without-sge was given.
-if test "${with_sge+set}" = set; then
-  withval="$with_sge"
-  sge="$withval"
+# Check whether --with-grd or --without-grd was given.
+if test "${with_grd+set}" = set; then
+  withval="$with_grd"
+  grd="$withval"
 else
-  sge=no
+  grd=no
 fi;
-if test "$sge" != no; then
+if test "$grd" != no; then
    GRDDEF="-I../../../libs/gdi"
-   GRDLIB="-L../../../$sge -R${SGE_ROOT}/lib/${SGE_ARCH} \$(SGE_LIBS) ${LDFLAGS
}"
-   CFLAGS="$CFLAGS -DPROG_NAME='\"qtcsh\"' -D$sge"
+   GRDLIB="-L../../../$grd -R${SGE_ROOT}/lib/${SGE_ARCH} \$(SGE_LIBS) ${LDFLAGS
}"
+   CFLAGS="$CFLAGS -DPROG_NAME='\"qtcsh\"' -D$grd"
 fi

 ac_config_files="$ac_config_files Makefile"

Change History (2)

comment:1 Changed 9 years ago by dlove

  • Severity set to minor

This change isn't necessary, since aimk calls configure --with-sge.
However, configure.in actually defines --with-grd, not --with-sge, so that
needs changing if configure is rebuilt. Leave that until #832 is done, though.
(sge_configure.csh doesn't exist now.)

comment:2 Changed 8 years ago by dlove

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.