https://bugs.kde.org/show_bug.cgi?id=463358

--- Comment #10 from Pietro Pizzi <pietro.pi...@gmx.net> ---
(In reply to Stefano Crocco from comment #8)
> Both your crashes are caused by the same code. Looking again at it, I
> noticed that it didn't check for a situation which could lead to the crash.
> I added this check, but I can't be sure that it actually fix things.
> Unfortunately, I can't check it for myself as I can't reproduce the crash.
> 
> Are you by any chance able to compile Konqueror, making changes to the
> source code? If so, could you please apply the attached patch or to replace
> line 3810 in src/konqmainwindow.cpp with the line below and see whether it
> solves your problem? Thanks
> 
> return !isVisible() && m_mapViews.count() == 1 && m_currentView &&
> KonqUrl::isKonqBlank(m_currentView->url().toString());

Sorry, I'm a technician but not very experienced in software development.
I have tried this:
- download the .zip from https://github.com/KDE/konqueror
- extracted it to konqueror-master
- patched the file
- make a dir konqueror-build parallel to konqueror-master
- used the following cmake command in the build dir, borrowed from the pkgbuild
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=konqueror-git 
"cmake ../konqueror-master -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF"
and get the following output/error:

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
/usr/share/perl5/vendor_perl/auto/share/dist/App-Cope/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler:
/usr/share/perl5/vendor_perl/auto/share/dist/App-Cope/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:16 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 5.91.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/pietro/Downloads/konqueror-build/CMakeFiles/CMakeOutput.log".


Can't find one of the mentioned files under konqueror-master, so I don't know
how to fix this? If you want I can post the CMakeOutput.log!?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to