OpenQNX :: The QNX Community Portal

May 18, 2008 - 12:05 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 39 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
marschen
Post subject: qnx+vlc+libiconv---help me  PostPosted: Jun 08, 2007 - 08:11 AM
New Member


Joined: Jun 08, 2007
Posts: 3

Dear sir

OS :QNX6.3--SP3
VLC: vlc-0.8.6a.tar.gz

./configure
checking for iconv... no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... no
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
configure: error: libiconv is needed for VLC to work properly

I download libiconv-1.11.tar.gz and install
but have same error

I also download iconv_x86-1.9.1-x86-public.qpr and install
but have same error


please help me !!!!!!!
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Jun 08, 2007 - 05:41 PM
QNX Master


Joined: Jun 25, 2003
Posts: 977

Sometimes you have to give ./configure a parameter to find some libs like iconv. Try ./configure --help
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
cburgess
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Jun 13, 2007 - 02:01 PM
QNX Master


Joined: Aug 31, 2004
Posts: 176
Location: Ottawa
It probably installed to /usr/local/lib which is not a default search path.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jkol
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Apr 29, 2008 - 05:26 AM
New Member


Joined: Aug 06, 2007
Posts: 7

Did you anybody solve this problem? I have the same experience. Neutral
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Apr 29, 2008 - 01:40 PM
QNX Master


Joined: Jun 25, 2003
Posts: 977

I've dealt with this kind of stuff a lot. Using pkgsrc does help. The problem is that ./configure is not finding libiconv. The usually is a parameter such as --with-iconv-dir=..... that will fix this. If not, you need to find out which directory configure is looking for libiconv and make sure it, or a link is there.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
bbceler
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Apr 29, 2008 - 10:33 PM
New Member


Joined: Jul 22, 2002
Posts: 8

for vlc-0.8.6a.tar.gz or vlc-0.8.6f.tar.gz do
./configure --help | less and look:
Optional Packages:
..............
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir
.............
I use libiconv-1.12 in /usr/local/lib without problems
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jkol
Post subject: RE: qnx+vlc+libiconv---help me  PostPosted: Apr 30, 2008 - 05:42 AM
New Member


Joined: Aug 06, 2007
Posts: 7

I try this with vlc-0.8.6f.tar.gz:

./configure
./configure --with-libiconv-prefix=/usr/local/lib

every time I got same errors:
checking for iconv... no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... no
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no

configure: error: libiconv is needed for VLC to work properly

............................
In dir /usr/local/lib are those files (after .configure and make install libiconv-1.12):
charset.alias
libcharset.a
libcharset.la
libcharset.so
libcharset.so.1
libcharset.so.1.0.0
libiconv.la
libiconv.so
libiconv.so.2
libiconv.so.2.4.0


What am I doing wrong? Idea
 
 View user's profile Send private message  
Reply with quote Back to top
jct
Post subject:   PostPosted: Apr 30, 2008 - 03:32 PM
Active Member


Joined: Feb 22, 2005
Posts: 36

Last I checked, pkgsrc for QNX has no GUI apps.

When I tried VLC I got this same problem and eventually gave up.
 
 View user's profile Send private message  
Reply with quote Back to top
bbceler
Post subject:   PostPosted: Apr 30, 2008 - 10:42 PM
New Member


Joined: Jul 22, 2002
Posts: 8

How look your config.log from line:
configure:24814: checking for iconv
configure:24846: gcc -o conftest -g -O2 -I/usr/local/include conftest.c >&5

Add line echo "LIBICONV = $LIBICONV" >&6 to configure on 24870#
it`s look like:
24866# rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24867# conftest$ac_exeext conftest.$ac_ext
24868# if test "$am_cv_func_iconv" != yes; then
24869# am_save_LIBS="$LIBS"
24870# echo "LIBICONV = $LIBICONV" >&6
24871# LIBS="$LIBS $LIBICONV"
24872# cat >conftest.$ac_ext <<_ACEOF
and try again ./configure
line echo "LIBICONV = $LIBICONV" >&6 should be:
LIBICONV = /usr/local/lib/libiconv.a -L/usr/local/lib
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jkol
Post subject:   PostPosted: May 05, 2008 - 07:22 AM
New Member


Joined: Aug 06, 2007
Posts: 7

Hello bbceler, thank for help
after editing congigure file (lines 24866-24872)
./configure returned this error:
checking for iconv... ./configure[24921]: /bin: cannot execute - Is a directory
no, consider installing GNU libiconv

When I write to console:
echo "LIBICONV = $LIBICONV"
... system return:
LIBICONV =

- it means, that I must set PATH to LIBICONV??? How and where?
 
 View user's profile Send private message  
Reply with quote Back to top
bbceler
Post subject:   PostPosted: May 05, 2008 - 09:17 PM
New Member


Joined: Jul 22, 2002
Posts: 8

- it means, that I must set PATH to LIBICONV??? How and where?

No, in this case LIBICONV is only use internally by configure.
LIBICONV shows where configure should look for the libiconv library

Show as your config.log looks from this moment:
configure:xxxxx: checking for iconv
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jkol
Post subject:   PostPosted: May 06, 2008 - 07:38 AM
New Member


Joined: Aug 06, 2007
Posts: 7

Here is my config.log

configure:24814: checking for iconv
configure:24846: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:52: iconv.h: No such file or directory
configure:24852: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "vlc"
| #define PACKAGE_TARNAME "vlc"
| #define PACKAGE_VERSION "0.8.6f"
| #define PACKAGE_STRING "vlc 0.8.6f"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "vlc"
| #define VERSION "0.8.6f"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MMAP 1
| #define INTDIV0_RAISES_SIGFPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETCWD 1
| #define HAVE_GETEGID 1
| #define HAVE_GETEUID 1
| #define HAVE_GETGID 1
| #define HAVE_GETUID 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRTOUL 1
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <iconv.h>
| int
| main ()
| {
| iconv_t cd = iconv_open("","");
| iconv(cd,NULL,NULL,NULL,NULL);
| iconv_close(cd);
| ;
| return 0;
| }
...
...

then several errors like this - in most case, where is in source code | include <iconv.h>
 
 View user's profile Send private message  
Reply with quote Back to top
micro
Post subject:   PostPosted: May 06, 2008 - 11:00 AM
Senior Member


Joined: Jul 22, 2004
Posts: 317

conftest.c:52: iconv.h: No such file or directory

You are right now missing the header files for iconv, try to get them also somewhere they belong to or set the parameters.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.