Coder Social home page Coder Social logo

Comments (20)

lazyape avatar lazyape commented on August 20, 2024

Hi @lhw828, also you had something similar to issue #87.

can you inform us about your LANG variable?

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

i can compile webkit2gtk3 correctly, my LANG=en_US.utf8
also i build my webkit2gtk3 with this under /var/state/lunar/depends

ghatz@antipirinas ~ $ grep ^webkit2gtk3 /var/state/lunar/depends
webkit2gtk3:cmake: on :required::
webkit2gtk3:ruby: on :required::
webkit2gtk3:which: on :required::
webkit2gtk3:libjpeg-turbo: on :required::
webkit2gtk3:libpng: on :required::
webkit2gtk3:libwebp: on :required::
webkit2gtk3:mesa-lib: on:required::
webkit2gtk3:icu4c: on:required::
webkit2gtk3:enchant: on:required::
webkit2gtk3:libXt: on:required::
webkit2gtk3:libxslt: on:required::
webkit2gtk3:gobject-introspection: on:required::
webkit2gtk3:harfbuzz: on:required::
webkit2gtk3:freetype2: on:required::
webkit2gtk3:gtk+-3: on:required::
webkit2gtk3:gst-plugins-bad: on:required::
webkit2gtk3:gperf: on:required::
webkit2gtk3:sqlite: on:required::
webkit2gtk3:libsoup: on:required::
webkit2gtk3:libsecret: on:required::
webkit2gtk3:wayland-protocols: on:required::
webkit2gtk3:upower: on:required::
webkit2gtk3:zlib: on:required::
webkit2gtk3:hyphen: off:optional:-DUSE_LIBHYPHEN=ON:-DUSE_LIBHYPHEN=OFF
webkit2gtk3:libnotify: on:optional:-DUSE_LIBNOTIFY=ON:-DUSE_LIBNOTIFY=OFF
webkit2gtk3:geoclue2: on:optional:-DENABLE_GEOLOCATION=ON:-DENABLE_GEOLOCATION=OF F
webkit2gtk3:wayland: on:optional:-DENABLE_WAYLAND_TARGET=ON:-DENABLE_WAYLAND_TARG ET=OFF
webkit2gtk3:gtk-doc: off:optional:-DENABLE_GTKDOC=ON:-DENABLE_GTKDOK=OFF
webkit2gtk3:gtk+-2: off:optional:-DENABLE_PLUGIN_PROCESS_GTK2=ON:-DENABLE_PLUGIN_ PROCESS_GTK2=OFF

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

bash-4.4# grep ^webkit2gtk3 /var/state/lunar/depends
webkit2gtk3:cmake:on:required::
webkit2gtk3:ruby:on:required::
webkit2gtk3:which:on:required::
webkit2gtk3:libjpeg-turbo:on:required::
webkit2gtk3:libpng:on:required::
webkit2gtk3:libwebp:on:required::
webkit2gtk3:mesa-lib:on:required::
webkit2gtk3:icu4c:on:required::
webkit2gtk3:enchant:on:required::
webkit2gtk3:libXt:on:required::
webkit2gtk3:libxslt:on:required::
webkit2gtk3:gobject-introspection:on:required::
webkit2gtk3:harfbuzz:on:required::
webkit2gtk3:freetype2:on:required::
webkit2gtk3:gtk+-3:on:required::
webkit2gtk3:gst-plugins-bad:on:required::
webkit2gtk3:gperf:on:required::
webkit2gtk3:sqlite:on:required::
webkit2gtk3:libsoup:on:required::
webkit2gtk3:libsecret:on:required::
webkit2gtk3:wayland-protocols:on:required::
webkit2gtk3:upower:on:required::
webkit2gtk3:zlib:on:required::
webkit2gtk3:hyphen:on:optional:-DUSE_LIBHYPHEN=ON:-DUSE_LIBHYPHEN=OFF
webkit2gtk3:libnotify:on:optional:-DUSE_LIBNOTIFY=ON:-DUSE_LIBNOTIFY=OFF
webkit2gtk3:geoclue2:on:optional:-DENABLE_GEOLOCATION=ON:-DENABLE_GEOLOCATION=OFF
webkit2gtk3:wayland:on:optional:-DENABLE_WAYLAND_TARGET=ON:-DENABLE_WAYLAND_TARGET=OFF
webkit2gtk3:gtk-doc:on:optional:-DENABLE_GTKDOC=ON:-DENABLE_GTKDOK=OFF

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

bash-4.4# cat /etc/locale.conf
LANG=en_US.utf8
LC_ALL=en_US.utf8

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

I even reinstalled the system once to install webkit2gtk3. But there are still problems.

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

Hi @lhw828, i am able to compile webkit2gtk3 without gtk-doc. With gtk-doc dependency enabled i get
compilation error due to a missing dependency (python-configparser) which is needed from a python
script in order to generate the docs. I still trying to understand why it is failing on your side, i will come back later after my investigation is done

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

Select gtk-doc dependency or close without gtk-doc dependency. I tried both, but failed to compile properly.

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

the problem you have is not in the gtk-doc currently.
please try these.

cd ....../webkit2gtk3-oosb
sudo /usr/bin/python2 DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/cssmin.py < ../Source/WebCore/xml/XMLViewer.css > DerivedSources/WebCore/XMLViewer.min.css   

is the command above failing with the same error?

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

Thank You @lazyape

Can you write this command in Build Or in a patch?

At first, after I executed this command, the system downloaded webkit2gtk3 again.

bash-4.4# cd /usr/src/webkitgtk-2.22.6/webkit2gtk3-oosb/
bash-4.4# /usr/bin/python2 DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/cssmin.py < ../Source/WebCore/xml/XMLViewer.css > DerivedSources/WebCore/XMLViewer.min.css

bash-4.4# lin webkit2gtk3
Checking dependencies for
Downloading source file webkitgtk-2.22.6.tar.xz for module webkit2gtk3
--2019-02-28 21:57:52-- https://www.webkitgtk.org/releases/webkitgtk-2.22.6.tar.xz
Resolving www.webkitgtk.org... 91.121.216.36
Connecting to www.webkitgtk.org|91.121.216.36|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16773696 (16M) [application/x-xz]
Saving to: '/tmp/webkitgtk-2.22.6.tar.xz'

/tmp/webkitgtk-2.22 100%[===================>] 16.00M 22.3KB/s in 11m 20s

2019-02-28 22:09:17 (24.1 KB/s) - '/tmp/webkitgtk-2.22.6.tar.xz' saved [16773696/16773696]

When I try again, the prompt is: No such file or directory.

bash-4.4# /usr/bin/python2 DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/cssmin.py < ../Source/WebCore/xml/XMLViewer.css > DerivedSources/WebCore/XMLViewer.min.css
bash: DerivedSources/WebCore/XMLViewer.min.css: No such file or directory

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

i cannot understand what you say
"At first, after I executed this command, the system downloaded webkit2gtk3 again".

In general there seems to be a problem in your installation. some missing dependency probably,
which we try to figure out, cause i am able to build it without gtk-doc. but the problem you have
is NOT in gtk-doc, it is in the WebCore directory, so i don't have the error you have.

@florin65 am i allowed to add a patch in the webkit2gtk3 package in order to add verbosity on @lhw828 build and see if we can catch something?

till Florin65 answers we can continue like this.
build webkit (it will fail).
then in a terminal

lsh
cd $BUILD_DIRECTORY/webkitgtk-2.22.6/webkit2gtk3-oosb
make -j1 VERBOSE=1

and then share the output by pasting it to github gist and pointing the url here

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

I successfully executed that command and then installed webkit2gtk3. The log file is as follows.
webkit2gtk3.log

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

i don't want the log you sent me.
I want the log produced by
make -j1 VERBOSE=1

if you are in the webkit2gtk3-oosb/ the lsh is not needed.
so
cd webkit2gtk3-oosb/
make -j1 VERBOSE=1

then paste the log

regards

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

https://gist.github.com/lhw828/224cfbfdd13a036de678598e5924ff65

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

@lhw828 , the error is somewhere in python and its unicode submodule.
please provide me the output of command locale. i will update mines as yours
and try to reproduce the problem. I don't have any other way to help currently.
regards

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

_20190301223316

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

hi @lhw828
i've manage to reproduce the problem. i switch my LANG, LC_* variables to the same as yours and i hit the same error.
i think that webkit2gtk3 needs a .utf8 LC_, LANG variables not plain.
so i propose you to switch to en_US.utf8 by executing
export LANG=en_US.utf8
in case that some LC_
variable don't switch to .utf8 it means that it is already set in the current shell so
unset LC_ will turn its value to en_US.utf8

i will add a check in webkit2gtk3 too

cheers

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

Finally,you solved the problem.
Thank you VERY MUCH~~~!!!

from moonbase-gnome3.

lhw828 avatar lhw828 commented on August 20, 2024

How can we solve this problem once and for all? The patch? Installation tips?

from moonbase-gnome3.

lazyape avatar lazyape commented on August 20, 2024

PR created
#120

from moonbase-gnome3.

florin65 avatar florin65 commented on August 20, 2024

Fixed.

from moonbase-gnome3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.