Не ставится fltk (Ошибки при сборке)

SLAX, Deep Style, ZenWalk

Модератор: Модераторы разделов

Ответить
Аватара пользователя
f0b
Сообщения: 77

Не ставится fltk

Сообщение f0b »

Всем привет!

Код: Выделить всё

# sbopkg -i fltk -i lmms

###########################################
       New queue process started on:
       Чт июл 30 06:20:50 YEKT 2015
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process:  Download, build, and install

fltk:
  GPG checks not supported for the SBo-git repository.
  Processing fltk 1.1.10-2
  Using original .info file
  Using original SlackBuild file
  No build options selected.

lmms:
  GPG checks not supported for the SBo-git repository.
  Processing lmms 1.1.0-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?:


Код: Выделить всё

/usr/bin/ar cr ../lib/libfltk_gl.a ...
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk_gl.so.1.1 -lfontconfig -lfreetype -lXft -lXinerama -lpthread -ldl -lm -lXext -lX11 -shared -fPIC -o libfltk_gl.so.1.1 ...
Compiling fl_images_core.cxx...
Compiling Fl_BMP_Image.cxx...
Compiling Fl_File_Icon2.cxx...
Compiling Fl_GIF_Image.cxx...
Compiling Fl_Help_Dialog.cxx...
Compiling Fl_JPEG_Image.cxx...
Compiling Fl_PNG_Image.cxx...
In file included from /usr/include/pngconf.h:72:0,
                 from /usr/include/png.h:481,
                 from Fl_PNG_Image.cxx:48:
Fl_PNG_Image.cxx: In constructor «Fl_PNG_Image::Fl_PNG_Image(const char*)»:
Fl_PNG_Image.cxx:78:16: ошибка: invalid use of incomplete type «png_struct {aka struct png_struct_def}»
   if (setjmp(pp->jmpbuf))
                ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:580:16: ошибка: forward declaration of «png_struct {aka struct png_struct_def}»
 typedef struct png_struct_def png_struct;
                ^
Fl_PNG_Image.cxx:90:11: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   if (info->color_type == PNG_COLOR_TYPE_PALETTE)
           ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:93:11: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   if (info->color_type & PNG_COLOR_MASK_COLOR)
           ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:98:12: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans)
            ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:98:56: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans)
                                                        ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:101:15: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   w((int)(info->width));
               ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:102:15: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   h((int)(info->height));
               ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:105:11: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   if (info->bit_depth < 8)
           ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
Fl_PNG_Image.cxx:110:16: ошибка: invalid use of incomplete type «png_info {aka struct png_info_def}»
   else if (info->bit_depth == 16)
                ^
In file included from Fl_PNG_Image.cxx:48:0:
/usr/include/png.h:594:16: ошибка: forward declaration of «png_info {aka struct png_info_def}»
 typedef struct png_info_def png_info;
                ^
make[1]: *** [Fl_PNG_Image.o] Ошибка 1
make: *** [all] Ошибка 1

fltk:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
в этом мире все относительно...
Спасибо сказали:
Аватара пользователя
f0b
Сообщения: 77

Re: Не ставится fltk

Сообщение f0b »

Проблема решилась установкой libpng-1.4.12-x86_64-1
в этом мире все относительно...
Спасибо сказали:
Ответить