You are not logged in.

#1 2014-04-30 22:01:52

ipburbank
Member
Registered: 2014-04-30
Posts: 2

whizzytex depends on advi

Hello!

I am trying to install whizzytex but it depends on advi which is "out-of-date" and which I can't install. Advi requires libungif which, from what I've read was deprecated a while ago and removed from the repos.

All that said, what do I need to do to install whizzytex?

Istvan.

Offline

#2 2014-05-01 12:31:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,398

Re: whizzytex depends on advi

libgif appears to include libungif functionality, try changing the dependency to libgif and see if advi works then.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-05-01 13:49:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: whizzytex depends on advi

Lone_Wolf wrote:

libgif appears to include libungif functionality, try changing the dependency to libgif and see if advi works then.

Where can I find libgif? Do you mean giflib?

camlimages (advi's makedependency) fails with

==> Starting build()...
*** omake: reading OMakefiles
Warning: liv is not built: it requires all lablgtk2
Warning: gifanim is not built: it requires gif lablgtk2
Warning: tiffps is not built: it requires tiff jpeg ps
*** omake: finished reading OMakefiles (0.13 sec)
- build src gifread.o
+ gcc -I /usr/include/X11 -I /usr/local/include -I/usr/include/freetype2 -fPIC -I /usr/lib/ocaml -I/usr/include/X11 -I/usr/local/include -c -o gifread.o gifread.c
gifread.c: In function ‘dGifOpenFileName’:
gifread.c:143:17: error: too few arguments to function ‘DGifOpenFileName’
   if((GifFile = DGifOpenFileName( String_val(name) )) == NULL){
                 ^
In file included from gifread.c:28:0:
/usr/include/gif_lib.h:178:14: note: declared here
 GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
              ^
*** omake: 324/615 targets are up to date
*** omake: failed (0.44 sec, 0/59 scans, 1/128 rules, 0/486 digests)
*** omake: targets were not rebuilt because of errors:
   src/gifread.o
      depends on: src/gifread.c
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#4 2014-05-01 14:00:34

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: whizzytex depends on advi

Not an installation issue. Moving to AUR Issues, Discussion & PKGBUILD Requests.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2014-05-01 14:11:07

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,398

Re: whizzytex depends on advi

yes, i meant giflib .

Try changing the sourceurl to https://bitbucket.org/camlspotter/camli … 0.1.tar.gz (you may have to change the checksum also).
If that doesn't help check the comments on the camlimages aur page.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2014-05-01 21:10:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: whizzytex depends on advi

With the other source it fails with

==> Starting build()...
*** omake: reading OMakefiles
--- Checking for ocamlmklib... (found /usr/bin/ocamlmklib)
--- Checking for gif_lib.h... (found)
--- Checking for function DGifOpenFileName in library gif... (found)
--- Checking for zlib.h... (found)
--- Checking for function zlibVersion in library z... (found)
--- Checking for png.h... (found)
--- Checking for function png_create_read_struct in library png... (found)
--- Checking for jpeglib.h... (found)
--- Checking for function jpeg_read_header in library jpeg... (found)
--- Checking for tiff.h... (found)
--- Checking for function TIFFOpen in library tiff... (found)
--- Checking for xpm.h... (found)
--- Checking for function XpmReadFileToXpmImage in library Xpm... (found)
--- Checking for gs... (FAILED - no gs found)
--- Checking lablgtk2... ocamlfind: Package `lablgtk2' not found
(NOT found)
--- Checking graphics compilability: open Graphics... (yes)
--- Checking for freetype-config... (found /usr/bin/freetype-config)
SUPPORT_FREETYPE=true!
--- Checking for rgb.txt... (FAILED - no rgb.txt found)
--- Configuring
wordsize  4
--- C libraries
libgif:   true
libpng:	  true
libjpeg:  true
libtiff:  true
libxpm:	  true
libz:	  true
--- Subpackages
gif:      true (-lgif)
png:	  true (-lpng -lz)
jpeg:	  true (-ljpeg)
tiff:	  true (-ltiff -ljpeg -lz )
xpm:	  true (-lXpm)
freetype: true (/usr/bin/freetype-config) (-lfreetype -lz -lbz2 -lpng16 -lharfbuzz)
ps:       false ()
rgb.txt:  false (/etc/X11 /usr/share/X11)
lablgtk2: false
graphics: true
--- Summary
supported subpackages:  gif png jpeg tiff xpm graphics freetype
supported formats:  gif png jpeg tiff xpm
supported non-formats:  graphics freetype
CFLAGS:   
LDFLAGS: 
---
Warning: liv is not built: it requires all lablgtk2
Warning: gifanim is not built: it requires gif lablgtk2
Warning: tiffps is not built: it requires tiff jpeg ps
*** omake: finished reading OMakefiles (8.43 sec)
- build src gifread.o                                                                                                                                         
+ gcc -I /usr/include/X11 -I /usr/local/include -I/usr/include/freetype2 -fPIC -I /usr/lib/ocaml -I/usr/include/X11 -I/usr/local/include -c -o gifread.o gifread.c
gifread.c: In function ‘dGifOpenFileName’:
gifread.c:143:17: error: too few arguments to function ‘DGifOpenFileName’=================================                                    ] 00474 / 00628
   if((GifFile = DGifOpenFileName( String_val(name) )) == NULL){
                 ^
In file included from gifread.c:28:0:
/usr/include/gif_lib.h:178:14: note: declared here
 GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
              ^
*** omake: 474/628 targets are up to date                                                                                                                     
*** omake: failed (39.36 sec, 87/87 scans, 133/209 rules, 327/907 digests)
*** omake: targets were not rebuilt because of errors:                                                                                                        
   src/gifread.o
      depends on: src/gifread.c
==> ERROR: A failure occurred in build().
    Aborting...

I've read the comments but haven't found anything useful.

Offline

#7 2014-05-02 10:37:51

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,398

Re: whizzytex depends on advi

 Comment by Gregoire

2013-07-02 14:05

Thank you very much rlepigre :)

Removing giflib needed the "-d -d" in my system and then it was really easy !!!
Comment by rlepigre

2013-07-02 12:51

If you are experiencing giflib/libungif problems, here is the only simple way of fixing the problem:
1) Remove ligungif from your system (pacman -R giflib)
2) Modify the PKGBUILD file to remove the libungig dependency (in will work, this should in fact be optional)
3) Run makepkg
4) Install camlimage
5) Install libungif again if some other of you applications require it

This is not a very clean solution but this should work...

Have you tried it this way ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2014-05-02 18:09:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: whizzytex depends on advi

I don't need this software, I was just trying to help OP.
Currently I can't build camlimages which is a makedependency of advi. I did build and install omake, which is a makedependency of camlimages, but I'm stuck on building camlimages itself.

I don't have ligungif and I can't install it because it's nowhere to be found.
I did remove it from the dependencies, because otherwise packages wouldn't even start to build and would just error out with

==> Installing missing dependencies...
error: target not found: libungif
==> ERROR: 'pacman' failed to install missing dependencies.

:-)

Offline

Board footer

Powered by FluxBB