Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4660 closed enhancement (fixed)

icedtea-web-1.4.2

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (4)

comment:1 by Fernando de Oliveira, 8 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 8 years ago

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@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.

comment:3 by Fernando de Oliveira, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r12674.

comment:4 by bdubbs@…, 8 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.