LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2012, 06:44 AM   #1
SergMarkov
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Rep: Reputation: 0
Compile error regexxer on current


regexxer is a nifty GUI search/replace tool featuring Perl-style regular expressions
http://regexxer.sourceforge.net
Compiling in current is in error
Code:
In file included from src/globalstrings.h:24:0,
                 from src/filebuffer.cc:23:
/usr/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from src/translation.h:24:0,
                 from src/filebuffer.cc:26:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from src/filebuffer.h:24:0,
                 from src/filebuffer.cc:21:
src/fileshared.h:80:19: error: 'Glib::MatchInfo' has not been declared
src/filebuffer.cc: In member function 'int Regexxer::FileBuffer::find_matches(const Glib::RefPtr<Glib::Regex>&, bool, const sigc::slot<void, int, const Glib::ustring&>&)':
src/filebuffer.cc:327:53: error: no matching function for call to 'Regexxer::MatchData::MatchData(int&, const Glib::ustring&, Glib::MatchInfo&)'
src/filebuffer.cc:327:53: note: candidates are:
In file included from src/filebuffer.h:24:0,
                 from src/filebuffer.cc:21:
src/fileshared.h:89:3: note: Regexxer::MatchData::MatchData(const Regexxer::MatchData&)
src/fileshared.h:89:3: note:   candidate expects 1 argument, 3 provided
src/fileshared.h:79:3: note: Regexxer::MatchData::MatchData(int, const Glib::ustring&, int&)
src/fileshared.h:79:3: note:   no known conversion for argument 3 from 'Glib::MatchInfo' to 'int&'
make[2]: *** [src/filebuffer.o] Error 1
make[2]: Leaving directory `/mnt/sda9/Slackware/1-MySlackBuilds/CheckList/regexxer-no-compile/5/regexxer-0.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sda9/Slackware/1-MySlackBuilds/CheckList/regexxer-no-compile/5/regexxer-0.10'
make: *** [all] Error 2
How can fix a compile error?
 
Old 09-19-2012, 07:11 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,457

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
probably you included gutils.h, but as it is stated only glib.h allowed
 
Old 09-19-2012, 10:14 PM   #3
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
I haven't tried building this package but the following patch looks like it might work.

https://projects.archlinux.org/svnto...kages/regexxer

Edit: looks like they already have a patch for it on SBo.
http://slackbuilds.org/cgit/slackbui...d29816fc167cc1

Last edited by larryhaja; 09-19-2012 at 10:17 PM.
 
Old 09-20-2012, 06:25 AM   #4
SergMarkov
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by larryhaja View Post
I haven't tried building this package but the following patch looks like it might work.
https://projects.archlinux.org/svnto...kages/regexxer
Edit: looks like they already have a patch for it on SBo.
http://slackbuilds.org/cgit/slackbui...d29816fc167cc1
Thanks !
 
  


Reply


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
[SOLVED] Inkscape compile error at current Slack brodo Slackware 2 04-03-2012 07:21 PM
OpenCV 2.0 compile error in -current mlpa Slackware 17 01-06-2011 05:17 AM
Cannot compile 2.6.30 in -current, error in firmware/Makefile Romanus81 Slackware 4 06-27-2009 05:40 PM
Linux 2.6.25, Slack-current, and nvidia compile error spaceballs Slackware 6 04-19-2008 06:57 PM
Sylpheed-Claws compile error on Slackware-current jaakkop Linux - Software 3 02-12-2006 10:31 AM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration