LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2018, 08:48 AM   #1
olevenets2
LQ Newbie
 
Registered: Mar 2018
Distribution: Slackware64 14.2
Posts: 10

Rep: Reputation: Disabled
wv2 build error


Hi, I wrote a script for building the wv2 package an optional dependency for the Koffice office suite fork KDE3 Trinity:

https://paste.ee/p/yl44k

but when compiled, I get an error:
Quote:
[ 2%] Building CXX object src/CMakeFiles/wv2.dir/olestorage.cpp.o
In file included from /usr/include/libgsf-1/gsf/gsf.h:59:0,
from /tmp/build/wv2-0.4.2/src/olestorage.h:26,
from /tmp/build/wv2-0.4.2/src/olestorage.cpp:19:
/usr/include/libgsf-1/gsf/gsf-libxml.h:26:25: fatal error: libxml/tree.h: No such file or directory exists
How can I fix this?

Last edited by olevenets2; 08-10-2018 at 08:52 AM.
 
Old 08-10-2018, 12:03 PM   #2
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 614

Rep: Reputation: 119Reputation: 119
I was trying to compile bjnp.c and ran into some error where I needed to add #include <stdio.h>.

Where did you get the source? Are there other source locations you can diff your source to, to see if something is different?

Last edited by glorsplitz; 08-10-2018 at 12:25 PM.
 
Old 08-10-2018, 12:19 PM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,332

Rep: Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266Reputation: 2266
Quote:
Originally Posted by olevenets2 View Post
Hi, I wrote a script for building the wv2 package an optional dependency for the Koffice office suite fork KDE3 Trinity:

https://paste.ee/p/yl44k

but when compiled, I get an error:


How can I fix this?
modify line 138 like this
Code:
    -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS} -I/usr/include/libxml2" \

Last edited by ponce; 08-10-2018 at 02:16 PM.
 
2 members found this post helpful.
Old 08-11-2018, 05:22 AM   #4
olevenets2
LQ Newbie
 
Registered: Mar 2018
Distribution: Slackware64 14.2
Posts: 10

Original Poster
Rep: Reputation: Disabled
ponce, many thanks!
 
  


Reply

Tags
koffice, slackware 14.2, trinity


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error package rpm-build which installing rpm-build from RHN Satellite Server. johnabraham Linux - Server 1 10-05-2013 06:51 PM
build error Youri Linux From Scratch 15 11-07-2011 06:27 AM
jhbuild: Error during phase build of gnome-shell: Error running make Kenny_Strawn Linux - Desktop 1 07-09-2010 06:01 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
build error ravi.xolve Linux From Scratch 0 03-16-2007 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration