Welcome, Guest. Please login or register.
April 17, 2014, 20:27:05 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  nspluginwrapper for Pardus 2011 64 bit
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 Go Down Print
Author Topic: nspluginwrapper for Pardus 2011 64 bit  (Read 5033 times)
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« on: May 01, 2012, 10:36:02 AM »

Hello,

I am trying to configure nspluginwrapper and I got the following error.

Is there anybody faced the same problem?

nspluginwrapper-1.4.4 # sh -x configure

+ PACKAGE=nspluginwrapper
+ test '!' -z ''
+ test '!' -z ''
+ TMPDIR1=/tmp
+ TMPC=/tmp/npw-conf-1219-18202-17753.c
+ TMPO=/tmp/npw-conf-25367-18202-4689.o
+ TMPE=/tmp/npw-conf-7821-18202-30359
+ TMPS=/tmp/npw-conf-23954-18202-16138.S
+ source_path=
+ source_path=
+ source_path_used=yes
+ test -z '' -o '' = .
++ pwd
+ source_path=/tmp/nspluginwrapper-1.4.4
+ source_path_used=no
++ sed -n '/^\%define version[  ]*/s///p'
+ VERSION=1.4.4
++ sed -n '/^\%define release[  ]*/s///p'
+ RELEASE=1
++ sed -n '/^\%define svndate[  ]*/s///p'
+ SVNDATE=
+ test -z ''
++ date +%Y%m%d
+ SVNDATE=20120501
++ cut -d. -f1
++ echo 1.4.4
+ MAJOR_VERSION=1
++ echo 1.4.4
++ cut -d. -f2
+ MINOR_VERSION=4
++ echo 1.4.4
++ cut -d. -f3
+ MICRO_VERSION=4
+ is_odd 4
++ expr 4 % 2
+ local rem=0
+ test 0 -eq 1
+ return 1
+ is_odd 4
++ expr 4 % 2
+ local rem=0
+ test 0 -eq 1
+ return 1
+ SNAPSHOT=0
+ echo 1
+ grep -q '^0'
+ test 0 -ge 1
+ yes_for_snapshots=no
+ prefix=/usr
+ lib32=
+ lib64=
+ build_viewer=guess
+ build_player=yes
+ build_generic=guess
+ build_biarch=guess
+ strip=no
+ cc=gcc
+ cxx=g++
++ uname -s
++ tr '[A-Z]' '[a-z]'
+ host_os=linux
++ uname -m
+ host_cpu=x86_64
+ target_os=linux
+ target_cpu=i386
+ rpc_init_timeout=5
+ malloc_hooks=glib,libc
+ enable_malloc_check=no
+ enable_thread_check=no
++ normalize_cpu x86_64
++ local cpu=x86_64
++ case "$cpu" in
++ cpu=x86_64
++ echo x86_64
+ host_cpu=x86_64
++ normalize_os linux
++ local os=linux
++ case "$os" in
++ echo linux
+ host_os=linux
++ normalize_cpu i386
++ local cpu=i386
++ case "$cpu" in
++ cpu=i386
++ echo i386
+ target_cpu=i386
++ normalize_os linux
++ local os=linux
++ case "$os" in
++ echo linux
+ target_os=linux
+ test guess = guess
+ test linux = linux -a linux = linux
+ build_generic=no
+ build_biarch_possible=no
+ test linux = linux -a linux = linux
+ case $host_cpu:$target_cpu in
+ build_biarch_possible=yes
+ test guess = guess
+ build_biarch=yes
+ test guess = guess
+ build_viewer=no
+ case $host_os in
+ test x86_64 = i386 -o yes = yes
+ build_viewer=yes
+ test -z ''
+ case $host_os in
+ echo 'int i;'
+ nspluginwrapper_64bit_output=no
+ gcc -o /tmp/npw-conf-25367-18202-4689.o -c /tmp/npw-conf-1219-18202-17753.c
+ case `/usr/bin/file $TMPO` in
++ /usr/bin/file /tmp/npw-conf-25367-18202-4689.o
+ nspluginwrapper_64bit_output=yes
+ rm -f /tmp/npw-conf-1219-18202-17753.c /tmp/npw-conf-25367-18202-4689.o
+ case $host_cpu:$nspluginwrapper_64bit_output in
+ lib64=lib64
+ test -z ''
+ lib32=lib
+ test -z ''
+ pkglibdir=/usr/lib/nspluginwrapper
+ default_viewer_paths=/usr/lib/nspluginwrapper/%ARCH%/%OS%
+ test -z ''
+ viewer_paths=/usr/lib/nspluginwrapper/%ARCH%/%OS%
+ cat
+ has_visibility_attribute=no
+ gcc -Werror -S /tmp/npw-conf-1219-18202-17753.c -o /tmp/npw-conf-23954-18202-16138.S
+ grep '\.hidden.*foo' /tmp/npw-conf-23954-18202-16138.S
+ grep '\.protected.*bar' /tmp/npw-conf-23954-18202-16138.S
+ has_visibility_attribute=yes
+ rm -f /tmp/npw-conf-1219-18202-17753.c /tmp/npw-conf-23954-18202-16138.S
+ cat
+ has_initfini_array=no
+ gcc -Werror /tmp/npw-conf-1219-18202-17753.c -o /tmp/npw-conf-7821-18202-30359
+ rm -f /tmp/npw-conf-1219-18202-17753.c /tmp/npw-conf-7821-18202-30359
+ cat
+ has_sockaddr_un_sun_len=no
+ gcc -Werror /tmp/npw-conf-1219-18202-17753.c -o /tmp/npw-conf-7821-18202-30359
+ rm -f /tmp/npw-conf-1219-18202-17753.c /tmp/npw-conf-7821-18202-30359
+ echo a
+ EGREP='grep -E'
+ test yes = yes
+ glibc_header_dir=/usr/include
+ libc_provides_ssp=no
+ test -f /usr/include/features.h
+ cat
+ compiler=unknown
+ gcc /tmp/npw-conf-1219-18202-17753.c -o /tmp/npw-conf-7821-18202-30359
+ rm -f /tmp/npw-conf-1219-18202-17753.c /tmp/npw-conf-7821-18202-30359
+ test unknown = gcc
+ test unknown = icc
+ test unknown = xlc
+ test unknown = mipspro
+ test unknown = sunstudio
+ test unknown = gcc
++ which pkg-config
+ pkgconfig=/usr/bin/pkg-config
+ test -z /usr/bin/pkg-config
+ /usr/bin/pkg-config --exists glib-2.0
++ /usr/bin/pkg-config --cflags glib-2.0
+ GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  '
++ /usr/bin/pkg-config --libs glib-2.0
+ GLIB_LIBS='-lglib-2.0  '
++ /usr/bin/pkg-config --modversion glib-2.0
+ GLIB_VERSION=2.28.8
+ cat
+ gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /tmp/npw-conf-1219-18202-17753.c -o /tmp/npw-conf-7821-18202-30359 -lglib-2.0
+ echo 'GLIB 2.0 environment not usable'
GLIB 2.0 environment not usable
+ rm -f /tmp/npw-conf-1219-18202-17753.c
+ exit 1
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: May 01, 2012, 15:45:52 PM »

Where is the error Huh? (I don't it).

And what's the result of
Code:
pisi info gcc
Huh?
« Last Edit: May 01, 2012, 15:52:57 PM by atolboo » Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #2 on: May 01, 2012, 20:36:57 PM »

GLIB 2.0 environment not usable is the error.

nspluginwrapper-1.4.4 # pisi info gcc
Installed package:
Name                : gcc, version: 4.5.3, release: 64
Summary             : The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers
Description         : The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages
Licenses            : GPLv3+, LGPLv3+
Component           : system.devel
Provides            :
Dependencies        : binutils bison gettext ncurses zlib gmp mpfr libmpc ppl cloog-ppl elfutils
Distribution        : Pardus, Dist. Release: 2011
Architecture        : x86_64, Installed Size: 96.88 MB
Reverse Dependencies:

Package found in pardus repository:
Name                : gcc, version: 4.5.3, release: 64
Summary             : The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers
Description         : The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages
Licenses            : GPLv3+, LGPLv3+
Component           : system.devel
Provides            :
Dependencies        : binutils bison gettext ncurses zlib gmp mpfr libmpc ppl cloog-ppl elfutils
Distribution        : Pardus, Dist. Release: 2011
Architecture        : x86_64, Installed Size: 96.88 MB, Package Size: 13.38 MB
Reverse Dependencies: ccache colorgcc

gcc package is not found in source repositories
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #3 on: May 01, 2012, 21:15:18 PM »

And
Code:
pisi info gtk2-devel
Huh?
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #4 on: May 01, 2012, 21:48:20 PM »

nspluginwrapper-1.4.4 # pisi info gtk2-devel
Installed package:
Name                : gtk2-devel, version: 2.24.7, release: 79
Summary             : Development files for gtk2
Description         : GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small
                      one-off projects to complete application suites.
Licenses            : LGPLv2.1
Component           : desktop.toolkit.gtk
Provides            :
Dependencies        : gtk2 atk-devel pango-devel cairo-devel gdk-pixbuf-devel
Distribution        : Pardus, Dist. Release: 2011
Architecture        : x86_64, Installed Size: 6.99 MB
Reverse Dependencies:

Package found in pardus repository:
Name                : gtk2-devel, version: 2.24.7, release: 79
Summary             : Development files for gtk2
Description         : GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small
                      one-off projects to complete application suites.
Licenses            : LGPLv2.1
Component           : desktop.toolkit.gtk
Provides            :
Dependencies        : gtk2 atk-devel pango-devel cairo-devel gdk-pixbuf-devel
Distribution        : Pardus, Dist. Release: 2011
Architecture        : x86_64, Installed Size: 6.99 MB, Package Size: 613.00 KB
Reverse Dependencies: exo-devel poppler-glib-devel goffice-devel gdl-devel webkit-gtk-devel libwnck-devel evolution-data-server-devel gnome-keyring-devel libindicate-devel
                      libgweather-devel gtkdatabox-devel libfm-devel libxfce4ui-devel libnotify-devel librsvg-devel libglade-devel evince-devel Thunar-devel pidgin-devel vte-devel
                      gtk-vnc-devel libgpod-devel libcanberra-devel gimp-devel avahi-ui-devel libgnomecanvas-devel gtkspell-devel glade-devel scim-devel gtkmm-devel gkrellm-devel
                      xfce4-panel-devel swfdec-devel

gtk2-devel package is not found in source repositories
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #5 on: May 01, 2012, 22:17:29 PM »

I don't know where
sh -x configure
is coming from but when try to follow the README file with
Quote
$ ./configure
$ make
# make install
I get
Quote
atolboo@pardus2011 nspluginwrapper-1.4.4 $ ./configure
X11/Xt environment not found
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #6 on: May 02, 2012, 01:26:14 AM »

This might help give an idea of dependencies, though it is rpm version:
http://pkgs.org/fedora-16/fedora-updates-x86_64/nspluginwrapper-1.4.4-3.fc16.x86_64.rpm.html
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #7 on: May 02, 2012, 09:20:39 AM »

Hello,

I have just changed the line in configure file as


+ gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /tmp/npw-conf-15690-3015-26518.c -o /tmp/npw-conf-31191-3015-21040 -lglib-2.0
+ echo 'GLIB 2.0 environment not usable'
GLIB 2.0 environment not usable
+ rm -f /tmp/npw-conf-15690-3015-26518.c

Here I chaned rm -f as cp -p /tmp/filename .

Then I got the .c file in tmp.


Tried to configure again and got the following error. Any idea?


nspluginwrapper-1.4.4 # gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /tmp/npw-conf-11664-3206-26496.c -o /tmp/npw-conf-31191-3015-21040 -lglib-2.0
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /tmp/npw-conf-11664-3206-26496.c:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169:61: fatal error: limits.h: No such file or directory
compilation terminated.
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #8 on: May 02, 2012, 09:30:11 AM »

nspluginwrapper-1.4.4 # find / -name limits.h
/usr/lib/syslinux/com32/include/limits.h
/usr/lib/syslinux/com32/include/bitsize/limits.h
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h
/usr/include/c++/tr1/limits.h
/usr/include/schily/limits.h
/tmp/nspluginwrapper-1.4.4/lsb-build/headers/limits.h
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #9 on: May 02, 2012, 09:39:05 AM »

Any idea?
My result/idea:
Quote
atolboo@pardus2011 ~ $ pisi sf limits.h
Searching for limits.h
Package python-scipy has file /usr/lib/python2.7/site-packages/scipy/weave/blitz/blitz/wrap-climits.h
Package gcc has file /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/syslimits.h
Package gcc has file /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/limits.h
Package gcc has file /usr/include/c++/tr1/limits.h
Package kernel-module-headers has file /usr/src/linux-headers-2.6.37.6/include/linux/drbd_limits.h
Package kernel-module-headers has file /usr/src/linux-headers-2.6.37.6/arch/arm/include/asm/limits.h
Package kernel-module-headers has file /usr/src/linux-headers-2.6.37.6/include/linux/limits.h
Package syslinux has file /usr/lib/syslinux/com32/include/limits.h
Package syslinux has file /usr/lib/syslinux/com32/include/bitsize/limits.h
Package syslinux has file /usr/lib/syslinux/com32/include/bitsize/stdintlimits.h
Package cdrtools has file /usr/include/schily/limits.h
Package man-pages has file /usr/share/man/man0p/limits.h.0p
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #10 on: May 02, 2012, 09:48:31 AM »

nspluginwrapper-1.4.4 # gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /tmp/npw-conf-11664-3206-26496.c -o /tmp/npw-conf-31191-3015-21040 -lglib-2.0In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /tmp/npw-conf-11664-3206-26496.c:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169:61: fatal error: limits.h: No such file or directory
compilation terminated.


I think problem is related to

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h .

The content of this file is:


/* syslimits.h stands for the system's own limits.h file.
   If we can use it ok unmodified, then we install this text.
   If fixincludes fixes it, then the fixed version is installed
   instead of this text.  */

#define _GCC_NEXT_LIMITS_H· ·   /* tell gcc's limits.h to recurse */
#include_next <limits.h>
#undef _GCC_NEXT_LIMITS_H
~                               
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #11 on: May 02, 2012, 23:32:20 PM »

Just curious, did you try what was suggested in that file adding the gcc extension, #include_next <limits.h>,  so it will look for all limits.h's under include?    Having a search on this and that was one suggestion. 
Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #12 on: May 03, 2012, 00:09:58 AM »

You can try to build package with this build files.
Code:
pisi bi http://pakete.pardususer.de/playground/a.palius/nspluginwrapper/pspec.xml -y
With this build files is possible to build package on x86_64, but not tested how it works.
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #13 on: May 03, 2012, 12:57:32 PM »

Installing 6 / 95                                                                                                                                                                     
libXt-devel-1.1.1-15-p11-x86_64.pisi [cached]
Installing libXt-devel, version 1.1.1, release 15
Program terminated.                                                                                                                                                                   
File conflicts:                                                                                                                                                                       
/usr/lib32/pkgconfig/xt.pc from libXt-32bit package
Logged
saygili
Pardus fellow craft
**
Posts: 115


View Profile
« Reply #14 on: May 03, 2012, 12:59:38 PM »

Hi Lisa,

What do you mean by adding? Sorry I did not understand.

Just curious, did you try what was suggested in that file adding the gcc extension, #include_next <limits.h>,  so it will look for all limits.h's under include?    Having a search on this and that was one suggestion. 

How do I can add?

Best Regards,

Murat
Logged
Pages: [1] 2 3 Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!