[blfs-book] [BLFS Trac] #4660: icedtea-web-1.4.2

BLFS Trac trac at linuxfromscratch.org
Thu Feb 6 05:56:42 PST 2014


#4660: icedtea-web-1.4.2
-------------------------+-----------------------
 Reporter:  fo           |       Owner:  fo
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  current
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by fo):

 It builds and woks perfectly in LFS74.

 However I had problems in LFS71:


 {{{
 mkdir -p /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp && \
 cd /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp && \
 g++ -g -O2 \
    -DPACKAGE_NAME=\"icedtea-web\" -DPACKAGE_TARNAME=\"icedtea-web\"
 -DPACKAGE_VERSION=\"1.4.2\" -DPACKAGE_STRING=\"icedtea-web\ 1.4.2\"
 -DPACKAGE_BUGREPORT=\"distro-pkg-dev at openjdk.java.net\"
 -DPACKAGE_URL=\"http://icedtea.classpath.org/wiki/IcedTea-Web\" -DPACKAGE
 =\"icedtea-web\" -DVERSION=\"1.4.2\" -DHAVE_LIBZ=1 -DHAVE_JAVA7 \
   -DJDK_UPDATE_VERSION="\"50\"" \
   -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \
   -DPLUGIN_VERSION="\"IcedTea-Web 1.4.2\"" \
   -DPACKAGE_URL="\"http://icedtea.classpath.org/wiki/IcedTea-Web\"" \
   -DMOZILLA_VERSION_COLLAPSED="27000000" \
   -DICEDTEA_WEB_JRE="\"/opt/openjdk/jre\"" \
   -DPLUGIN_BOOTCLASSPATH='"-Xbootclasspath/a:/opt/openjdk/jre/share
 /icedtea-web/netx.jar:/opt/openjdk/jre/share/icedtea-
 web/plugin.jar:/usr/share/java/js.jar"' \
   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   \
   -DXP_UNIX -I/usr/include/xulrunner-27.0   \
           -fvisibility=hidden \
   -fPIC -o /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.o -c
 /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc
 /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc: In static
 member function ‘static bool
 IcedTeaScriptableJavaObject::getProperty(NPObject*, NPIdentifier,
 NPVariant*)’:
 /home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc:688:17: error:
 ‘nullptr’ was not declared in this scope
 make: ** [/home/fernando/tmp/paco-build-2014.02.06-09h44m36s/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.o] Erro 1
 }}}

 Could solve with
 {{{
 s/g++ -g -O2/g++ -std=c++0x -g -O2/
 }}}

 and ran g++ command by hand.

 Ran make, and similar error appeared again elsewhere, in the sequence.
 Repeated the process, and finally installed it, after make completed
 successfully.

 Question 1: why in one system, but not in the other one? I built OJDK with
 an older glib2, bacuse needed to update for some reason for the new
 firefox (nedded a newer package that I cannot remember now, that needed
 something else newer, that needed newer glib2...).

 Question 2: Is it possible to tell configure or make to do these
 replacements? How?

 Asking, because interests me and also would like to learn these things, in
 case I need someone in support or include in some page.

 I would much appreciate any help, please. Thanks.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4660#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list