Arnie Stender wrote:


On 04/15/16 16:39, Martin Ward wrote:
On 15/04/16 22:13, Arnie Stender wrote:
Hello,
    I got over my original error by setting the variables that get
passed to the cmake command. From the error below it looks like I am
missing something. The loop compiled everything down to
the|||kconfigwidgets-5.14.0 package and gave me this:

Scanning dependencies of target docs-preparetips-preparetips5-1
[ 86%] Generating preparetips5.1
Could not locate file "kf5/kdoctools/customization" in
("/home/astender/.local/share", "/usr/local/share", "/usr/share")
Could not locate file "kf5/kdoctools/customization" in
("/home/astender/.local/share", "/usr/local/share", "/usr/share")
Error: Could not find kdoctools catalogs

The kdoctools package was compiled earlier in the list and installed,
as the set variable said, in /opt. This package is looking in my home
directory and /usr. There must be a variable I didn't set but I have no
idea what that may be. Can anyone give me a clue please? Again, thanks
in advance for any help you can give.

Arnie
|


KDE_INSTALL_DOCBUNDLEDIR:PATH?

Martin
Martin,
     That sounded good but it didn't work. I tried both the path to the
doctools directory and the parent directory. I also tried tried changing
the DOCBUNDLEDIR to DOCTOOLSDIR but that didn't work either. Thanks for
the try anyway. Any other ideas, anyone? If this was a normal ./configure
instead of cmake I could just run './configure --help' and it would give
me a list of all the valid options. Is there a cmake command i can give
that will do the same thing? 'cmake --help' looks like a general cmake
options not specific to this package.

mkdir build
cd    build
cmake -L ..

will do what you want.

As to your original problem, it looks like kdoctools didn't get installed properly. For me the easiest thing to do is remove /opt/kf5 and /opt/kf-5.20.0 and start over. Make sure that you did the Pre-installation Configuration correctly. After doing that, run 'source /etc/profile' to makes sure all the environment variables are correct.

You might want to add some logging statements to the build:


VER=5.20
LOG=kf5-${VER}.log

...
cmake ... 2>&1 | tee -a $LOG
make  2>&1 | tee -a $LOG
sudo make install 2>&1 | tee -a $LOG

Wen examining the log, start with grep -i '^CMake Error' logfile

If there are required dependencies missing they should jump out at you with that.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to