LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-02-2017, 11:13 AM   #1
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Missing zipconf.h in Slackware-current


I was trying to build the latest git changes of the multimedia program deadbeef and ran into this issue.
Code:
In file included from vfs_zip.c:25:0:
/usr/include/zip.h:59:10: fatal error: zipconf.h: No such file or directory
#include <zipconf.h>
         ^~~~~~~~~~~
So I found out that zip.h is part of libzip and that in 14.2 it also had zipconf.h, but now the zipconf.h header no longer seems to exist in current?

Instead I have this problem.
Code:
$ file /usr/include/zipconf.h 
/usr/include/zipconf.h: broken symbolic link to ../lib64/libzip/include/zipconf.h
So what happened to zipconf.h? Is this just me?
 
Old 12-02-2017, 11:14 AM   #2
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
As you already know I have the same issue as well on current.
 
Old 12-02-2017, 11:31 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
for what I have understood, with this version should be safe to remove this block from the SlackBuild (after rebuilding the package you should have /usr/include/zipconf.h)

Code:
# While I perhaps see the motive for putting platform-specific include files
# in a place where they won't collide, the fact is that this breaks anything
# currently using libzip.  Adding a link to the standard include directory
# mostly fixes this, but it is still not optimal.  It's likely to cause
# problems on multilib systems, for example (but like that whole thing isn't
# an even uglier hack).
( cd $PKG/usr/include ; ln -sf ../lib${LIBDIRSUFFIX}/libzip/include/zipconf.h . )
http://pkgs.fedoraproject.org/cgit/r...f1051ccb762ea6
 
2 members found this post helpful.
Old 12-02-2017, 11:43 AM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Original Poster
Rep: Reputation: Disabled
Yep, that works here. Thanks!

I think this is solved and I will mark it as so when a fix can be applied to the main Slackware tree.
 
1 members found this post helpful.
Old 12-02-2017, 04:55 PM   #5
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
yes that works:
before there was no
/lib${LIBDIRSUFFIX}/libzip/ to link to,

after recompiling zipconf.h is no longer overwritten
Quote:
usr/man/man1/zipcmp.1.gz
usr/include/
usr/include/zipconf.h
usr/include/zip.h
usr/lib64/
usr/lib64/libzip.so.5.0.0
usr/lib64/pkgconfig/
usr/lib64/pkgconfig/libzip.pc
usr/lib64/libzip.la

Last edited by brobr; 12-02-2017 at 05:19 PM.
 
  


Reply



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
Slackware -current: xfwm4 missing themes? Gerard Lally Slackware 2 06-14-2015 07:39 PM
slackware-current mkinitrd libm.so.6 missing li-la Slackware - Installation 12 12-02-2014 04:22 PM
Slackware 12.0/current - pkg-config files missing ArcLinux Slackware 5 08-22-2007 02:32 PM
rc scripts in slackware-current, rc.0 missing? GamerX Slackware 4 04-13-2007 09:02 AM

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

All times are GMT -5. The time now is 05:29 AM.

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
Open Source Consulting | Domain Registration