LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-19-2015, 04:03 AM   #1
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
can't compile libkate on slackware64-current


Hi everyone,

I can't compile/install libkate (0.4.1) on Slackware64-current, I get this error:
Code:
....
/usr/lib64/libfl.so: undefined reference to `yylex'
...
It's related to the new flex (2.5.39) included in current ; does anyone know how to solve this?
 
Old 06-19-2015, 04:40 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
hi _gin,

David Spencer sent me a patch for libkate that I included in my personal repository for current

http://cgit.ponce.cc/slackbuilds/commit/?h=libkate
 
Old 06-19-2015, 04:56 AM   #3
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
David Spencer sent me a patch for libkate that I included in my personal repository for current

It's working, thank you Matteo, you're helpful, as usual.
 
Old 06-19-2015, 05:00 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by _gin View Post
It's working, thank you Matteo, you're helpful, as usual.
you're welcome but, as for other patches, you should actually thank David (55020 here), I simply added the patch in

Last edited by ponce; 06-19-2015 at 05:35 AM.
 
Old 06-19-2015, 05:38 AM   #5
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
you're welcome but, as for other patches you should actually thank David (55020 here), I simply added the patch in
These days, I don't use much of SlackBuild Itself (*), but I started to write my own building scripts based on those from Slackbuilds and from time to time I still pick a patch there or a 'sed command'; David, thank you for this one and your commitment!

When I'm about to install a new software, I usually look for patches related to security from Debian and how to build the package from Arch, that's my "step by step" way to building stuff on Slackware.

Cheers guys!

(*) I'm running flashplugin, lua and youtube-dl at the moment.
 
Old 06-19-2015, 08:02 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Hmm, my patch to get libkate to compile was actually a one-liner:

http://taper.alienbase.nl/cgit/asb/c...33482fa721224e
 
Old 06-19-2015, 08:41 AM   #7
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
(1) Hey Eric, I didn't know you had a git repo!! Awesome!!! "Notebooks out, plagiarists"

(2) Maybe I'm going soft in the head, because I genuinely don't remember most of these fixes, and therefore Matteo deserves thanks too for keeping them in a nice tidy repo
 
Old 06-19-2015, 09:51 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by 55020 View Post
I genuinely don't remember most of these fixes
http://lists.slackbuilds.org/piperma...ne/014307.html
 
Old 06-19-2015, 10:34 AM   #9
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Too much quantity, and not enough quality
 
Old 10-23-2015, 07:40 PM   #10
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Rep: Reputation: 27
Question found the patch for libkate but...

Quote:
Originally Posted by ponce View Post
Now how do I apply it? All i downloaded was a .bin file. I am completely lost.
 
Old 10-24-2015, 03:04 AM   #11
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by chaz_bro1972 View Post
Now how do I apply it? All i downloaded was a .bin file. I am completely lost.
To cut a long story short, that is not the link you are looking for. Get what you need from here: http://cgit.ponce.cc/slackbuilds/tre...kate?h=libkate
 
Old 10-24-2015, 01:15 PM   #12
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Rep: Reputation: 27
Question Still doesn't cut it...

I go to that page, click on the patch file I wish to download, and it is another HTML page with all this weird code on it. WHAT DO I DOWNLOAD? If I "save link as" it saves an HTML page. Do I copy and paste ALL of that weird code? ALL OF IT?!? starting from diff? then save the code as the patch? WHAT? When I run all that code as the patch, it keeps asking me questions I don't know the answer to. If I say yes, I seem trapped in an eternal loop, If I say no it errors out anyway.
 
Old 10-24-2015, 01:58 PM   #13
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Click on "plain" next to the blob MD5 hash. If you grab it for all the files, then you'll have the version that will likely make it into SBo for the next Slackware version.
 
Old 10-24-2015, 08:40 PM   #14
chaz_bro1972
Member
 
Registered: Jul 2006
Location: Oklahoma, USA
Distribution: Slackware64-Current, Multilib
Posts: 242

Rep: Reputation: 27
Question But I still don't know what do with this blob

But I still don't know what do with this blob!?!?!
 
Old 10-24-2015, 09:55 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What blob? If you click that link it is a plaintext file, not a blob. You can save that as the patch and then use the SlackBuild or apply it manually.
 
  


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
[SOLVED] I can't compile cwm under slackware64-current moisespedro Slackware 7 08-28-2014 04:27 AM
Failed to compile Virtualbox on Slackware64-current torimus Slackware 18 05-04-2013 04:49 PM
cannot compile qjackctl from slackbuild on slackware64-current trumpet_tom Slackware 10 06-13-2011 12:57 PM
[SOLVED] Can't compile umtsmon (0.9) on Slackware64-Current Jack128 Slackware 1 11-22-2010 04:20 PM
[SOLVED] Can't compile tolua++ in slackware64-current Daedra Slackware 1 03-23-2010 08:04 AM

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

All times are GMT -5. The time now is 11:01 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
Open Source Consulting | Domain Registration