LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-30-2013, 02:21 PM   #1
Miranden
Member
 
Registered: May 2012
Posts: 188

Rep: Reputation: 19
Error building Feh with Slackbuild


I have been using Slackbuilds from Slackbuilds.org to install aplications I need on my Slackware-current 64 laptop. I have built about 30 of them so far with no trouble. But today I was trying to install Feh, and I got this output:

Code:
bash-4.2# cd feh
bash-4.2# ls
README	feh.SlackBuild	feh.info  slack-desc
bash-4.2# chmod +x feh.SlackBuild 
bash-4.2# ls
README	feh-2.3.tar.bz2  feh.SlackBuild  feh.info  slack-desc
bash-4.2# ./feh.SlackBuild 
feh-2.3/
feh-2.3/config.mk
feh-2.3/test/
feh-2.3/test/warning-no-loader
feh-2.3/test/status
feh-2.3/test/scr/
feh-2.3/test/scr/thumbnail_default
feh-2.3/test/scr/index_w400
feh-2.3/test/scr/index_h400
feh-2.3/test/scr/index_full_w400
feh-2.3/test/scr/index_full_h400
feh-2.3/test/scr/geometry_offset_only
feh-2.3/test/scr/feh_scaledown_lwi
feh-2.3/test/scr/feh_lwi_scroll_rdrul
feh-2.3/test/scr/feh_lwi_scroll_rdru
feh-2.3/test/scr/feh_lwi_scroll_rdr
feh-2.3/test/scr/feh_lwi_scroll_rd
feh-2.3/test/scr/feh_lwi_scroll_r
feh-2.3/test/scr/feh_lwi
feh-2.3/test/scr/feh_lhi_ooo
feh-2.3/test/scr/feh_lhi_oo
feh-2.3/test/scr/feh_lhi_o
feh-2.3/test/scr/feh_lhi_iirrio
feh-2.3/test/scr/feh_lhi_iirri
feh-2.3/test/scr/feh_lhi_iirr
feh-2.3/test/scr/feh_lhi_iir
feh-2.3/test/scr/feh_lhi_ii
feh-2.3/test/scr/feh_lhi_i
feh-2.3/test/scr/feh_lhi
feh-2.3/test/scr/feh_ibg_white
feh-2.3/test/scr/feh_ibg_default
feh-2.3/test/scr/feh_ibg_black
feh-2.3/test/scr/feh_full_lwi
feh-2.3/test/scr/draw_nothing
feh-2.3/test/scr/draw_info_tinted
feh-2.3/test/scr/draw_info
feh-2.3/test/scr/draw_filename_tinted
feh-2.3/test/scr/draw_filename_action_tinted
feh-2.3/test/scr/draw_filename_action
feh-2.3/test/scr/draw_filename
feh-2.3/test/scr/draw_all_one
feh-2.3/test/scr/draw_all_multi
feh-2.3/test/scr/draw_action_tinted
feh-2.3/test/scr/draw_action
feh-2.3/test/scr/caption_while
feh-2.3/test/scr/caption_none
feh-2.3/test/scr/caption_new
feh-2.3/test/scr/caption_done
feh-2.3/test/run-interactive
feh-2.3/test/ok/
feh-2.3/test/ok/recursive/
feh-2.3/test/ok/recursive/png
feh-2.3/test/ok/pnm
feh-2.3/test/ok/png
feh-2.3/test/ok/jpg
feh-2.3/test/ok/gif
feh-2.3/test/nx_action/
feh-2.3/test/nx_action/unloadable_naction
feh-2.3/test/nx_action/unloadable_action
feh-2.3/test/nx_action/loadable_naction
feh-2.3/test/nx_action/loadable_action
feh-2.3/test/mandoc.t
feh-2.3/test/list/
feh-2.3/test/list/width
feh-2.3/test/list/size
feh-2.3/test/list/pixels
feh-2.3/test/list/name
feh-2.3/test/list/height
feh-2.3/test/list/format_reverse
feh-2.3/test/list/format
feh-2.3/test/list/filename_recursive
feh-2.3/test/list/filename
feh-2.3/test/list/default
feh-2.3/test/list/custom
feh-2.3/test/huge.png
feh-2.3/test/feh.t
feh-2.3/test/feh.i
feh-2.3/test/feh-scr.i
feh-2.3/test/feh-bg.i
feh-2.3/test/fail/
feh-2.3/test/fail/pnm
feh-2.3/test/fail/png
feh-2.3/test/fail/jpg
feh-2.3/test/fail/gif
feh-2.3/test/config/
feh-2.3/test/config/themes/
feh-2.3/test/config/themes/feh/
feh-2.3/test/config/themes/feh/themes
feh-2.3/test/config/keys/
feh-2.3/test/config/keys/feh/
feh-2.3/test/config/keys/feh/keys
feh-2.3/test/bg/
feh-2.3/test/bg/transparency
feh-2.3/test/bg/small/
feh-2.3/test/bg/small/w/
feh-2.3/test/bg/small/w/tile
feh-2.3/test/bg/small/w/scale
feh-2.3/test/bg/small/w/max
feh-2.3/test/bg/small/w/in
feh-2.3/test/bg/small/w/fill
feh-2.3/test/bg/small/w/center
feh-2.3/test/bg/small/h/
feh-2.3/test/bg/small/h/tile
feh-2.3/test/bg/small/h/scale
feh-2.3/test/bg/small/h/max
feh-2.3/test/bg/small/h/in
feh-2.3/test/bg/small/h/fill
feh-2.3/test/bg/small/h/center
feh-2.3/test/bg/large/
feh-2.3/test/bg/large/w/
feh-2.3/test/bg/large/w/tile
feh-2.3/test/bg/large/w/scale
feh-2.3/test/bg/large/w/max
feh-2.3/test/bg/large/w/in
feh-2.3/test/bg/large/w/fill
feh-2.3/test/bg/large/w/center
feh-2.3/test/bg/large/h/
feh-2.3/test/bg/large/h/tile
feh-2.3/test/bg/large/h/scale
feh-2.3/test/bg/large/h/max
feh-2.3/test/bg/large/h/in
feh-2.3/test/bg/large/h/fill
feh-2.3/test/bg/large/h/center
feh-2.3/test/bg/exact/
feh-2.3/test/bg/exact/w/
feh-2.3/test/bg/exact/w/tile
feh-2.3/test/bg/exact/w/scale
feh-2.3/test/bg/exact/w/max
feh-2.3/test/bg/exact/w/in
feh-2.3/test/bg/exact/w/fill
feh-2.3/test/bg/exact/w/center
feh-2.3/test/bg/exact/out
feh-2.3/test/bg/exact/in
feh-2.3/test/bg/exact/h/
feh-2.3/test/bg/exact/h/tile
feh-2.3/test/bg/exact/h/scale
feh-2.3/test/bg/exact/h/max
feh-2.3/test/bg/exact/h/in
feh-2.3/test/bg/exact/h/fill
feh-2.3/test/bg/exact/h/center
feh-2.3/src/
feh-2.3/src/deps.mk
feh-2.3/src/winwidget.h
feh-2.3/src/winwidget.c
feh-2.3/src/wallpaper.h
feh-2.3/src/wallpaper.c
feh-2.3/src/utils.h
feh-2.3/src/utils.c
feh-2.3/src/timers.h
feh-2.3/src/timers.c
feh-2.3/src/thumbnail.h
feh-2.3/src/thumbnail.c
feh-2.3/src/structs.h
feh-2.3/src/slideshow.c
feh-2.3/src/signals.h
feh-2.3/src/signals.c
feh-2.3/src/options.h
feh-2.3/src/options.c
feh-2.3/src/multiwindow.c
feh-2.3/src/menu.h
feh-2.3/src/menu.c
feh-2.3/src/md5.h
feh-2.3/src/md5.c
feh-2.3/src/main.c
feh-2.3/src/list.c
feh-2.3/src/keyevents.c
feh-2.3/src/index.h
feh-2.3/src/index.c
feh-2.3/src/imlib.c
feh-2.3/src/help.raw
feh-2.3/src/getopt1.c
feh-2.3/src/getopt.h
feh-2.3/src/getopt.c
feh-2.3/src/filelist.h
feh-2.3/src/filelist.c
feh-2.3/src/feh_png.h
feh-2.3/src/feh_png.c
feh-2.3/src/feh.h
feh-2.3/src/exif.h
feh-2.3/src/exif.c
feh-2.3/src/events.h
feh-2.3/src/events.c
feh-2.3/src/debug.h
feh-2.3/src/collage.c
feh-2.3/src/Makefile
feh-2.3/share/
feh-2.3/share/images/
feh-2.3/share/images/menubg_sky.png
feh-2.3/share/images/menubg_default.png
feh-2.3/share/images/menubg_brushed.png
feh-2.3/share/images/menubg_black.png
feh-2.3/share/images/menubg_aqua.png
feh-2.3/share/images/menubg_aluminium.png
feh-2.3/share/images/logo.svg
feh-2.3/share/fonts/
feh-2.3/share/fonts/yudit.ttf
feh-2.3/share/fonts/menu.style
feh-2.3/share/fonts/black.style
feh-2.3/scripts/
feh-2.3/scripts/update-todo.sh
feh-2.3/scripts/lsopts.pl
feh-2.3/scripts/lskeys.pl
feh-2.3/scripts/checkopts.pl
feh-2.3/scripts/checkkeys.pl
feh-2.3/man/
feh-2.3/man/gen-cam-menu.pre
feh-2.3/man/feh.pre
feh-2.3/man/feh-cam.pre
feh-2.3/man/Makefile
feh-2.3/examples/
feh-2.3/examples/themes
feh-2.3/examples/keys
feh-2.3/examples/buttons
feh-2.3/cam/
feh-2.3/cam/gen-cam-menu
feh-2.3/cam/feh-cam
feh-2.3/cam/cam_bookmarks
feh-2.3/cam/README
feh-2.3/cam/ChangeLog
feh-2.3/TODO
feh-2.3/README
feh-2.3/Makefile
feh-2.3/ChangeLog
feh-2.3/COPYING
feh-2.3/AUTHORS
feh-2.3/.gitignore
make[1]: Entering directory `/tmp/SBo/feh-2.3/src'
sed 's/^\(.*\)$/"\1\\n"/' < help.raw > help.inc
cc  -MM collage.c events.c exif.c feh_png.c filelist.c getopt.c getopt1.c imlib.c index.c keyevents.c list.c main.c md5.c menu.c multiwindow.c options.c signals.c slideshow.c thumbnail.c timers.c utils.c wallpaper.c winwidget.c > deps.mk
make[1]: Leaving directory `/tmp/SBo/feh-2.3/src'
make[1]: Entering directory `/tmp/SBo/feh-2.3/src'
cc -O2 -fPIC   -c -o collage.o collage.c
collage.c: In function 'init_collage_mode':
collage.c:68:11: error: 'PACKAGE' undeclared (first use in this function)
     fputs(PACKAGE
           ^
collage.c:68:11: note: each undeclared identifier is reported only once for each function it appears in
collage.c:69:6: error: expected ')' before string constant
      ": No size restriction specified for collage.\n"
      ^
collage.c:72:6: error: too few arguments to function 'fputs'
      stdout);
      ^
collage.c:78:6: error: expected ')' before string constant
      ": No size restriction specified for collage.\n"
      ^
collage.c:81:6: error: too few arguments to function 'fputs'
      stdout);
      ^
In file included from feh.h:68:0,
                 from collage.c:27:
collage.c:111:23: error: expected ')' before string constant
   s = estrdup(PACKAGE " [collage mode]");
                       ^
debug.h:37:29: note: in definition of macro 'estrdup'
 #define estrdup(a) _estrdup(a)
                             ^
collage.c:202:28: error: expected ')' before string constant
    fprintf(stdout, PACKAGE ": File saved as %s\n", output_buf);
                            ^
make[1]: *** [collage.o] Error 1
make[1]: Leaving directory `/tmp/SBo/feh-2.3/src'
make: *** [build-src] Error 2
bash-4.2#
This is the first time I have gotten an error with a slackbuild and I'm not sure how to deal with it. What do I do? Help would be appreciated. Thank you.

Edit: Oh, there were two dependencies, giblib and imlib2, which I did build and install in the correct order before.

Last edited by Miranden; 05-30-2013 at 02:23 PM.
 
Old 05-30-2013, 02:33 PM   #2
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
http://lists.slackbuilds.org/piperma...ch/010282.html
 
1 members found this post helpful.
Old 05-30-2013, 02:46 PM   #3
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by chess View Post
I see where it says
Quote:
The feh build is not inheriting the slackbuild CFLAGS well. This will work
around that:

--- feh.SlackBuild.ori 2013-03-24 23:22:00.641550918 -0600
+++ feh.SlackBuild 2013-03-24 23:39:26.123480592 -0600
@@ -71,8 +71,8 @@
-exec chmod 644 {} \;

make \
- CFLAGS="$SLKCFLAGS" \
- PREFIX=/usr
+ CFLAGS="-g $SLKCFLAGS -Wall -Wextra -pedantic -DPREFIX=\\\"/usr\\\"
-DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPACKAGE=\\\"$PRGNAME\\\"
-DVERSION=\\\"$VERSION\\\""
+
make install \
DESTDIR=$PKG \
PREFIX=/usr \
However, I do not know what it is asking me to do. Where do I put that code? Do I need to learn to write a Slackbuild script to do this? Thanks.
 
Old 05-30-2013, 02:54 PM   #4
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
That is a patch. You can copy the code in that post into a text file and patch the feh SlackBuild script with it or you can try manually editing the SlackBuild script and remove the lines with a - and inset the lines with a +.
 
Old 05-30-2013, 03:23 PM   #5
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by chess View Post
That is a patch. You can copy the code in that post into a text file and patch the feh SlackBuild script with it or you can try manually editing the SlackBuild script and remove the lines with a - and inset the lines with a +.
Is there some documentation that shows how to patch the Slackbuild script with the code that I put in the text file? I have searched for "how to patch a Slackbuild" and not found any instructions. Thanks.
 
Old 05-30-2013, 03:38 PM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,514

Rep: Reputation: 90
Quote:
Originally Posted by Miranden View Post
Is there some documentation that shows how to patch the Slackbuild script with the code that I put in the text file? I have searched for "how to patch a Slackbuild" and not found any instructions. Thanks.
"patch -p0 < /path/to/where/you/saved/thefile" from within the folder where the SlackBuild script is.

EDIT:
What you want to search for is "unified diff" - that is the specific diff format that was posted above. The -p0 makes diff assume that it does not have to strip off any leading folder name from the lines starting with "---" and "+++". Depending on the number of higher folders it has to strip off you need to increase the number, so -p1 to strip off one folder (for example "folder/file" becomes "file". These are the most common ones. If you search for unified diff you will see other options

Last edited by titopoquito; 05-30-2013 at 03:43 PM.
 
2 members found this post helpful.
Old 05-30-2013, 03:42 PM   #7
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by titopoquito View Post
"patch -p0 < /path/to/where/you/saved/thefile" from within the folder where the SlackBuild script is.
Thank you!
 
Old 05-30-2013, 04:09 PM   #8
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by titopoquito View Post
"patch -p0 < /path/to/where/you/saved/thefile" from within the folder where the SlackBuild script is.

EDIT:
What you want to search for is "unified diff" - that is the specific diff format that was posted above. The -p0 makes diff assume that it does not have to strip off any leading folder name from the lines starting with "---" and "+++". Depending on the number of higher folders it has to strip off you need to increase the number, so -p1 to strip off one folder (for example "folder/file" becomes "file". These are the most common ones. If you search for unified diff you will see other options
Unfortunately it did not work. The patch utility says this:
Code:
patch p0 </home/slackware/slackbuilds/source/feh/feh-patch 
patching file p0
patch: **** malformed patch at line 14: DESTDIR=$PKG \
Here is the what my feh-patch file looks like:
Code:
--- feh.SlackBuild.ori  2013-03-24 23:22:00.641550918 -0600
+++ feh.SlackBuild      2013-03-24 23:39:26.123480592 -0600
@@ -71,8 +71,8 @@
  -exec chmod 644 {} \;
 
 make \
-  CFLAGS="$SLKCFLAGS" \
-  PREFIX=/usr
+  CFLAGS="-g $SLKCFLAGS -Wall -Wextra -pedantic -DPREFIX=\\\"/usr\\\"
-DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPACKAGE=\\\"$PRGNAME\\\"
-DVERSION=\\\"$VERSION\\\""
+
 make install \
   DESTDIR=$PKG \
   PREFIX=/usr \
So the line it is talking about is the second one from the bottom that says "DESTDIR=$PKG \". I looked online and found that this error comes a lot from improper spacing in the patch files, but I don't know how the spacing is supposed to be. I tried adding another space, removing a space, and removing two spaces (so it lined up with the one above) with the same result. What should it actually look like?

I will keep reading as well, but if someone knows how to fix it that would be great. Thank you.

Last edited by Miranden; 05-30-2013 at 04:10 PM.
 
Old 05-30-2013, 04:36 PM   #9
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
I found this bug report: https://github.com/derf/feh/issues/122

and it looks like it is a different issue. Go back to the original SlackBuild script. Move line 74:

CFLAGS="$SLKCFLAGS" \

above the make line so that section should look like:

Code:
CFLAGS="$SLKCFLAGS" \
make \
  PREFIX=/usr
Try that and see if it works.
 
3 members found this post helpful.
Old 05-30-2013, 04:52 PM   #10
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by chess View Post
I found this bug report: https://github.com/derf/feh/issues/122

and it looks like it is a different issue. Go back to the original SlackBuild script. Move line 74:

CFLAGS="$SLKCFLAGS" \

above the make line so that section should look like:

Code:
CFLAGS="$SLKCFLAGS" \
make \
  PREFIX=/usr
Try that and see if it works.
It worked! I have no idea how you managed to find that information but someday maybe I'll learn. Now I'm just trying to learn how to write a Slackbuild from the Slackwiki.

Thank you very much.
 
Old 05-30-2013, 05:13 PM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,514

Rep: Reputation: 90
Quote:
Originally Posted by Miranden View Post
Unfortunately it did not work. The patch utility says this:
Code:
patch p0 </home/slackware/slackbuilds/source/feh/feh-patch 
patching file p0
patch: **** malformed patch at line 14: DESTDIR=$PKG \
I know you found another solution, but to complete your questions: you forgot the dash in front of "-p0".
 
2 members found this post helpful.
Old 05-30-2013, 07:22 PM   #12
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 344

Rep: Reputation: 84
accidental post, sorry.
 
Old 05-30-2013, 09:26 PM   #13
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by Miranden View Post
It worked! I have no idea how you managed to find that information but someday maybe I'll learn. Now I'm just trying to learn how to write a Slackbuild from the Slackwiki.

Thank you very much.
You're very welcome - glad it worked. As to how to write a SlackBuild, the wiki is good. Also check the docs website http://docs.slackware.com/slackware:slackbuild_scripts and the information at the SlackBuilds site http://slackbuilds.org/guidelines/ and the templates http://slackbuilds.org/templates/.
 
Old 10-07-2013, 04:37 PM   #14
DataMonSTAR
LQ Newbie
 
Registered: Apr 2008
Location: DFW TX
Distribution: Slackware 14
Posts: 13

Rep: Reputation: 0
Still did not work.

Hey, everyone. I'm still having problems getting this patch to work. Neither fixes worked for me.

When I apply the patch I still receive:
Code:
feh-2.9.3/
feh-2.9.3/config.mk
feh-2.9.3/test/
feh-2.9.3/test/warning-no-loader
feh-2.9.3/test/status
feh-2.9.3/test/scr/
feh-2.9.3/test/scr/thumbnail_default
feh-2.9.3/test/scr/index_w400
feh-2.9.3/test/scr/index_h400
feh-2.9.3/test/scr/index_full_w400
feh-2.9.3/test/scr/index_full_h400
feh-2.9.3/test/scr/geometry_offset_only
feh-2.9.3/test/scr/feh_scaledown_lwi
feh-2.9.3/test/scr/feh_lwi_scroll_rdrul
feh-2.9.3/test/scr/feh_lwi_scroll_rdru
feh-2.9.3/test/scr/feh_lwi_scroll_rdr
feh-2.9.3/test/scr/feh_lwi_scroll_rd
feh-2.9.3/test/scr/feh_lwi_scroll_r
feh-2.9.3/test/scr/feh_lwi
feh-2.9.3/test/scr/feh_lhi_ooo
feh-2.9.3/test/scr/feh_lhi_oo
feh-2.9.3/test/scr/feh_lhi_o
feh-2.9.3/test/scr/feh_lhi_iirrio
feh-2.9.3/test/scr/feh_lhi_iirri
feh-2.9.3/test/scr/feh_lhi_iirr
feh-2.9.3/test/scr/feh_lhi_iir
feh-2.9.3/test/scr/feh_lhi_ii
feh-2.9.3/test/scr/feh_lhi_i
feh-2.9.3/test/scr/feh_lhi
feh-2.9.3/test/scr/feh_ibg_white
feh-2.9.3/test/scr/feh_ibg_default
feh-2.9.3/test/scr/feh_ibg_black
feh-2.9.3/test/scr/feh_full_lwi
feh-2.9.3/test/scr/draw_nothing
feh-2.9.3/test/scr/draw_info_tinted
feh-2.9.3/test/scr/draw_info
feh-2.9.3/test/scr/draw_filename_tinted
feh-2.9.3/test/scr/draw_filename_action_tinted
feh-2.9.3/test/scr/draw_filename_action
feh-2.9.3/test/scr/draw_filename
feh-2.9.3/test/scr/draw_all_one
feh-2.9.3/test/scr/draw_all_multi
feh-2.9.3/test/scr/draw_action_tinted
feh-2.9.3/test/scr/draw_action
feh-2.9.3/test/scr/caption_while
feh-2.9.3/test/scr/caption_none
feh-2.9.3/test/scr/caption_new
feh-2.9.3/test/scr/caption_done
feh-2.9.3/test/run-interactive
feh-2.9.3/test/ok/
feh-2.9.3/test/ok/recursive/
feh-2.9.3/test/ok/recursive/png
feh-2.9.3/test/ok/pnm
feh-2.9.3/test/ok/png
feh-2.9.3/test/ok/jpg_exif
feh-2.9.3/test/ok/jpg
feh-2.9.3/test/ok/gif
feh-2.9.3/test/nx_action/
feh-2.9.3/test/nx_action/unloadable_naction
feh-2.9.3/test/nx_action/unloadable_action
feh-2.9.3/test/nx_action/loadable_naction
feh-2.9.3/test/nx_action/loadable_action
feh-2.9.3/test/no-loadable-files.help
feh-2.9.3/test/no-loadable-files
feh-2.9.3/test/mandoc.t
feh-2.9.3/test/list/
feh-2.9.3/test/list/width
feh-2.9.3/test/list/size
feh-2.9.3/test/list/pixels
feh-2.9.3/test/list/name
feh-2.9.3/test/list/height
feh-2.9.3/test/list/format_reverse
feh-2.9.3/test/list/format
feh-2.9.3/test/list/filename_recursive
feh-2.9.3/test/list/filename
feh-2.9.3/test/list/default
feh-2.9.3/test/list/custom
feh-2.9.3/test/huge.png
feh-2.9.3/test/feh.t
feh-2.9.3/test/feh.i
feh-2.9.3/test/feh-scr.i
feh-2.9.3/test/feh-bg.i
feh-2.9.3/test/fail/
feh-2.9.3/test/fail/pnm
feh-2.9.3/test/fail/png
feh-2.9.3/test/fail/jpg
feh-2.9.3/test/fail/gif
feh-2.9.3/test/config/
feh-2.9.3/test/config/themes/
feh-2.9.3/test/config/themes/feh/
feh-2.9.3/test/config/themes/feh/themes
feh-2.9.3/test/config/keys/
feh-2.9.3/test/config/keys/feh/
feh-2.9.3/test/config/keys/feh/keys
feh-2.9.3/test/bg/
feh-2.9.3/test/bg/transparency
feh-2.9.3/test/bg/small/
feh-2.9.3/test/bg/small/w/
feh-2.9.3/test/bg/small/w/tile
feh-2.9.3/test/bg/small/w/scale
feh-2.9.3/test/bg/small/w/max
feh-2.9.3/test/bg/small/w/in
feh-2.9.3/test/bg/small/w/fill
feh-2.9.3/test/bg/small/w/center
feh-2.9.3/test/bg/small/h/
feh-2.9.3/test/bg/small/h/tile
feh-2.9.3/test/bg/small/h/scale
feh-2.9.3/test/bg/small/h/max
feh-2.9.3/test/bg/small/h/in
feh-2.9.3/test/bg/small/h/fill
feh-2.9.3/test/bg/small/h/center
feh-2.9.3/test/bg/large/
feh-2.9.3/test/bg/large/w/
feh-2.9.3/test/bg/large/w/tile
feh-2.9.3/test/bg/large/w/scale
feh-2.9.3/test/bg/large/w/max
feh-2.9.3/test/bg/large/w/in
feh-2.9.3/test/bg/large/w/fill
feh-2.9.3/test/bg/large/w/center
feh-2.9.3/test/bg/large/h/
feh-2.9.3/test/bg/large/h/tile
feh-2.9.3/test/bg/large/h/scale
feh-2.9.3/test/bg/large/h/max
feh-2.9.3/test/bg/large/h/in
feh-2.9.3/test/bg/large/h/fill
feh-2.9.3/test/bg/large/h/center
feh-2.9.3/test/bg/exact/
feh-2.9.3/test/bg/exact/w/
feh-2.9.3/test/bg/exact/w/tile
feh-2.9.3/test/bg/exact/w/scale
feh-2.9.3/test/bg/exact/w/max
feh-2.9.3/test/bg/exact/w/in
feh-2.9.3/test/bg/exact/w/fill
feh-2.9.3/test/bg/exact/w/center
feh-2.9.3/test/bg/exact/out
feh-2.9.3/test/bg/exact/in
feh-2.9.3/test/bg/exact/h/
feh-2.9.3/test/bg/exact/h/tile
feh-2.9.3/test/bg/exact/h/scale
feh-2.9.3/test/bg/exact/h/max
feh-2.9.3/test/bg/exact/h/in
feh-2.9.3/test/bg/exact/h/fill
feh-2.9.3/test/bg/exact/h/center
feh-2.9.3/src/
feh-2.9.3/src/deps.mk
feh-2.9.3/src/winwidget.h
feh-2.9.3/src/winwidget.c
feh-2.9.3/src/wallpaper.h
feh-2.9.3/src/wallpaper.c
feh-2.9.3/src/utils.h
feh-2.9.3/src/utils.c
feh-2.9.3/src/timers.h
feh-2.9.3/src/timers.c
feh-2.9.3/src/thumbnail.h
feh-2.9.3/src/thumbnail.c
feh-2.9.3/src/structs.h
feh-2.9.3/src/slideshow.c
feh-2.9.3/src/signals.h
feh-2.9.3/src/signals.c
feh-2.9.3/src/options.h
feh-2.9.3/src/options.c
feh-2.9.3/src/multiwindow.c
feh-2.9.3/src/menu.h
feh-2.9.3/src/menu.c
feh-2.9.3/src/md5.h
feh-2.9.3/src/md5.c
feh-2.9.3/src/main.c
feh-2.9.3/src/list.c
feh-2.9.3/src/keyevents.c
feh-2.9.3/src/index.h
feh-2.9.3/src/index.c
feh-2.9.3/src/imlib.c
feh-2.9.3/src/help.raw
feh-2.9.3/src/getopt1.c
feh-2.9.3/src/getopt.h
feh-2.9.3/src/getopt.c
feh-2.9.3/src/filelist.h
feh-2.9.3/src/filelist.c
feh-2.9.3/src/feh_png.h
feh-2.9.3/src/feh_png.c
feh-2.9.3/src/feh.h
feh-2.9.3/src/exif_nikon.h
feh-2.9.3/src/exif_nikon.c
feh-2.9.3/src/exif_cfg.h
feh-2.9.3/src/exif_canon.h
feh-2.9.3/src/exif_canon.c
feh-2.9.3/src/exif.h
feh-2.9.3/src/exif.c
feh-2.9.3/src/events.h
feh-2.9.3/src/events.c
feh-2.9.3/src/debug.h
feh-2.9.3/src/collage.c
feh-2.9.3/src/Makefile
feh-2.9.3/share/
feh-2.9.3/share/images/
feh-2.9.3/share/images/menubg_sky.png
feh-2.9.3/share/images/menubg_default.png
feh-2.9.3/share/images/menubg_brushed.png
feh-2.9.3/share/images/menubg_black.png
feh-2.9.3/share/images/menubg_aqua.png
feh-2.9.3/share/images/menubg_aluminium.png
feh-2.9.3/share/images/feh.svg
feh-2.9.3/share/images/feh.png
feh-2.9.3/share/fonts/
feh-2.9.3/share/fonts/yudit.ttf
feh-2.9.3/share/fonts/menu.style
feh-2.9.3/share/fonts/black.style
feh-2.9.3/share/applications/
feh-2.9.3/share/applications/feh.pre
feh-2.9.3/share/applications/Makefile
feh-2.9.3/scripts/
feh-2.9.3/scripts/update-todo.sh
feh-2.9.3/scripts/lsopts.pl
feh-2.9.3/scripts/lskeys.pl
feh-2.9.3/scripts/checkopts.pl
feh-2.9.3/scripts/checkkeys.pl
feh-2.9.3/man/
feh-2.9.3/man/gen-cam-menu.pre
feh-2.9.3/man/feh.pre
feh-2.9.3/man/feh-cam.pre
feh-2.9.3/man/Makefile
feh-2.9.3/examples/
feh-2.9.3/examples/themes
feh-2.9.3/examples/keys
feh-2.9.3/examples/buttons
feh-2.9.3/cam/
feh-2.9.3/cam/gen-cam-menu
feh-2.9.3/cam/feh-cam
feh-2.9.3/cam/cam_bookmarks
feh-2.9.3/cam/README
feh-2.9.3/cam/ChangeLog
feh-2.9.3/TODO
feh-2.9.3/README
feh-2.9.3/Makefile
feh-2.9.3/ChangeLog
feh-2.9.3/COPYING
feh-2.9.3/AUTHORS
feh-2.9.3/.gitignore
make[1]: Entering directory `/tmp/SBo/feh-2.9.3/src'
sed 's/^\(.*\)$/"\1\\n"/' < help.raw > help.inc
cc  -MM collage.c events.c exif.c exif_canon.c exif_nikon.c feh_png.c filelist.c getopt.c getopt1.c imlib.c index.c keyevents.c list.c main.c md5.c menu.c multiwindow.c options.c signals.c slideshow.c thumbnail.c timers.c utils.c wallpaper.c winwidget.c > deps.mk
make[1]: Leaving directory `/tmp/SBo/feh-2.9.3/src'
make[1]: Entering directory `/tmp/SBo/feh-2.9.3/src'
cc -O2 -march=i486 -mtune=i686 -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr\" -DPACKAGE=\"feh\" -DVERSION=\"2.9.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr\" -DPACKAGE=\"feh\" -DVERSION=\"2.9.3\"   -c -o collage.o collage.c
In file included from collage.c:27:0:
feh.h:59:20: fatal error: Imlib2.h: No such file or directory
 #include <Imlib2.h>
                    ^
compilation terminated.
make[1]: *** [collage.o] Error 1
make[1]: Leaving directory `/tmp/SBo/feh-2.9.3/src'
make: *** [build-src] Error 2
But when I attempt to apply the patch file linked above, it fails to patch:
Code:
patch:*** malformed patch at line 17:     DESTDIR=$PKG \
Looks like it doesn't like the space formatting. Any way to force vim to use the proper formatting so the patch will work? Or better yet, does anyone have a working patch I can downloadm since cut/paste doesn't work.

Or, if possible, perhaps a fix for the problem I'm getting in the SlackBuild? I've tried, but I can't figure it out. It looks like it's needing a header file Imlib2.h, but I have no clue where it's trying to find that file. Imlib2 is definitely installed.

Thanks.
 
Old 10-07-2013, 05:22 PM   #15
DataMonSTAR
LQ Newbie
 
Registered: Apr 2008
Location: DFW TX
Distribution: Slackware 14
Posts: 13

Rep: Reputation: 0
Nevermind. The problem with the slackbuild is that it depends on giblib being installed along with Imlib2. Once I installed them both, I was able to install feh with the slackbuild properly.

Thanks for all the help.
 
  


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] A SlackBuild script for building a kernel? psionl0 Slackware 20 02-20-2013 01:29 AM
Building xchat from Slack 14 source and slackbuild gives error clifford227 Slackware 4 12-13-2012 07:41 AM
Building a slackbuild for a precompiled binary Cultist Slackware 1 11-20-2011 08:51 AM
[SOLVED] error building glade3 slackbuild? trademark91 Slackware 5 01-21-2011 10:31 PM
building from slackbuild script konfigure Slackware 2 03-21-2009 09:59 AM


All times are GMT -5. The time now is 07:53 AM.

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