Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-13 Thread ken mays



--- On Sat, 7/11/09, Alex Viskovatoff  wrote:

> From: Alex Viskovatoff 
> Subject: Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under 
> osol 2009.06
> To: opensolaris-discuss@opensolaris.org
> Date: Saturday, July 11, 2009, 10:40 PM
> >it is annoying that GAS in build
> 117 still can't cope with those parentheses. [...] That
> appears to be a bug, but I can't find it in
> defect.opensolaris.org.
> 
> It turns out not to be a bug. I found the explanation for
> what's going on 
> [url=http://www.mail-archive.com/bug-binut...@gnu.org/msg00025.html]here[/url]:
> 
> >For compatibility with other assemblers, '/' starts a
> comment on the
> >i386-elf target.  So you can't use division.
> 
> That link provides a one-line test program, which I've
> saved in parentheses.s:
> 
> cmpl $(100/4), %eax
> 
> Using the --divide option yields the desired behavior:
> 
> a...@diotima:~$ gas parentheses.s 
> parentheses.s: Assembler messages:
> parentheses.s:1: Error: unbalanced parenthesis in operand
> 1.
> a...@diotima:~$ gas --divide parentheses.s 
> a...@diotima:~$ 
> 
> It would be nice if someone who knows more about how to
> write make files than I do would create the appropriate
> patch. It couldn't hurt to pass it upstream, since --divide
> is ignored by the Linux as, under Fedora at any rate.

The basics of this was under Bug 9444: 
http://defect.opensolaris.org/bz/show_bug.cgi?id=9444
to update binutils, GMP, and MPFR to improve GCC/GCCfss 4.4.x builds. 

Bug reports were made to be more specific in those GCC-related libs and 
utilities in being updated but they were consolidated to related projects in 
updating to GCC 4.4.x or higher.

~ Ken Mays



  

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-12 Thread Milan Jurik
Hi Alex,

Alex Viskovatoff píše v so 11. 07. 2009 v 21:10 -0700:
> Here's a patch. I think it should be passed upstream; I don't know how to go 
> about doing that.

The patch is interesting workaround, good idea. In mplayer source code
you can find DOCS/tech/patches.txt which will show you how to contribute
it.

Best regards,

Milan

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Alex Viskovatoff
Here's a patch. I think it should be passed upstream; I don't know how to go 
about doing that.
-- 
This message posted from opensolaris.org

divide.diff
Description: Binary data
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Alex Viskovatoff
>it is annoying that GAS in build 117 still can't cope with those parentheses. 
>[...] That appears to be a bug, but I can't find it in defect.opensolaris.org.

It turns out not to be a bug. I found the explanation for what's going on 
[url=http://www.mail-archive.com/bug-binut...@gnu.org/msg00025.html]here[/url]:

>For compatibility with other assemblers, '/' starts a comment on the
>i386-elf target.  So you can't use division.

That link provides a one-line test program, which I've saved in parentheses.s:

cmpl $(100/4), %eax

Using the --divide option yields the desired behavior:

a...@diotima:~$ gas parentheses.s 
parentheses.s: Assembler messages:
parentheses.s:1: Error: unbalanced parenthesis in operand 1.
a...@diotima:~$ gas --divide parentheses.s 
a...@diotima:~$ 

It would be nice if someone who knows more about how to write make files than I 
do would create the appropriate patch. It couldn't hurt to pass it upstream, 
since --divide is ignored by the Linux as, under Fedora at any rate.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Alex Viskovatoff
It turns out that except for that apparent bug in GAS that makes it unable to 
handle nested parentheses, if your PATH is POSIX-compliant (so that 
/usr/xpg4/bin is at the head of your path, so that sh is POSIX-compliant), the 
current mplayer in Subversion compiles as is. That's the way I like things to 
work.

Since I prefer mplayer to VLC anyway, I'm not going to bother trying to get VLC 
to compile. But it will be interesting to see how soon VLC compiles on 
OpenSolaris as easily as mplayer does.

The README in extras/contrib states "This is the contrib build system for VLC 
Media Player. It has been primarily developed for Mac, it has been adapted for 
BeOs and win32. It would be not too difficult to extend it to other sytem." It 
would seem that that would be a good place to start. Googling yielded this: 
[url=http://mailman.videolan.org/pipermail/vlc-devel/2009-June/061818.html][vlc-devel]
 [PATCH] Fix boostrap for OpenSolaris automake packages[/url]

One can detect a hostile attitude to osol on that thread, btw.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Alex Viskovatoff
Thanks! I was able to compile mplayer once I followed some suggestions for how 
to get around the parentheses problem in the other thread.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Alex Viskovatoff
Hi Milan,

Thanks so much for that. Yes, mplayer and mencoder compile as you say, with 
both GCC 3.4.3 and GCC 4.3.2. My last significant annoyance with OpenSolaris 
has gone away.

Still, it is annoying that GAS in build 117 still can't cope with those 
parentheses. (Someone posted a patch to get around that 
[url=http://opensolaris.org/jive/thread.jspa?threadID=104595&tstart=0]in the 
other thread[/url].) That appears to be a bug, but I can't find it in 
defect.opensolaris.org.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread john kroll
Thank you for your reply.  I understand the need for a patent license fee when 
working with a player which is defaulted linked to a server share groups. What 
sort of other restrictions/fees would my little share group be in for or does 
the codec manger takes care of it ?? . I understand some of the content 
restrictions of public access lines ?  Oh yeah I still have a bit more to learn 
before I even try to hook-up a share group.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Orvar Korvar
As I have understood it, the SPEC files provide Solaris modifications to Linux 
source code. Therefore you should try compiling via the SPEC file for VLC. 
Google for it.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Joerg Schilling
Alex Viskovatoff  wrote:

> Thanks for the suggestion. I've tried that before, and I just tried it again. 
> The build fails:
>
> cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o 
> parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o 
> edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o mpcommon.o 
> parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o 
> vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a 
> vidix/libvidix.a libmpcodecs/libmpcodecs.a libaf/libaf.a 
> libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a 
> libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a 
> libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a 
> mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a 
> tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a 
> libass/libass.a osdep/libosdep.a -lXext -lX11 -lXv -lXinerama -lXxf86vm -lGL 
> -R/opt/csw/lib -lSDL -lpthread -lposix4 -lesd -laudiofile -lm -lrt -lresolv 
> -lnsl -lsocket -lopenal -lfaac -L/opt/csw/lib -L/opt/csw/lib  -lkstat 
> -lposix4 -lsocket -lnsl  
>  -ltermcap -lsmbclient -lpng -lz -ljpeg -L/opt/csw/lib -R/opt/csw/lib 
> -lfreetype -lz -lfontconfig  -L/opt/csw/lib -lfribidi -lz -lmad -lspeex  
> -ltheora -logg -rdynamic  -lm   
> cc: unrecognized option `-rdynamic'
> Undefined first referenced
>  symbol   in file
> libiconv_close  mp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)
> libiconv_open   mp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)
> libiconvmp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)

There are two possibilities:


1) It was compiled with incorrect include files.

The map from iconv_close() to libiconv_close() is done in the Linux version of 
/usr/include/iconv.h but not in the Solris version. 

2) The source is wrong and contains calls to libiconv_close() instead of
iconv_close(). You have to check

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-11 Thread Milan Jurik
Hi Alex,

Alex Viskovatoff píše v pá 10. 07. 2009 v 21:40 -0700:
> Of course I'm not building mplayer as root! Why would I do that? I hardly 
> ever use su any more, since pfexec is so much more elegant...
> 

Some people are strange, aren't they? :-)

> I'm running snv_117 now, since it turns out that I was wrong when I thought 
> that sound is broken under snv_117 on my system. I tried compiling mplayer 
> from cvs using gcc-4.3.2, but I ran into the same problem as was mentioned in 
> [url=http://opensolaris.org/jive/thread.jspa?threadID=104595&tstart=0]this 
> thread[/url], which I'd brought up before.
> 

Just replace the part of define inside brackets with 4 * 168 (or 672)

> People who are trying to build mplayer from CVS under OpenSolaris, including 
> myself, understand that you need to use the GNU build tools and not the 
> System V UNIX tools and Sun Studio compilers. Still, I've not seen any posts 
> indicating that anyone has been able to build mplayer from CVS on OpenSolaris 
> recently. I am not so interested in building old versions of mplayer, since I 
> can get all the functionality I need out of mplayer/mencoder on my Linux box. 
> And I'm not aware whether a binary for mencoder has ever been produced for 
> Solaris.

Strange, I do not need GNU utils (except those which are detected by
configure script and gawk). And with GCC 3.4.3 (yes, I am aware of
missalign warnings). My enviroment conforms to Single UNIX Specification
v3 (see man standards). And still I can compile mplayer and mencoder,
even under Solaris Express (e.g. the latest build 117 with todays
today's CVS snapshot). No functionality loss, 3 patches need (and
OpenSolaris should need only 2 of them). I think MPlayer upstream is
very proactive in fixing multiplatforms problems.

spec file for actual mplayer snapshot will go to SFE repository in few
minutes.

Best regards,

Milan

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Moinak Ghosh
On Sat, Jul 11, 2009 at 10:10 AM, Alex Viskovatoff wrote:
> Of course I'm not building mplayer as root! Why would I do that? I hardly 
> ever use su any more, since pfexec is so much more elegant...
>
> I'm running snv_117 now, since it turns out that I was wrong when I thought 
> that sound is broken under snv_117 on my system. I tried compiling mplayer 
> from cvs using gcc-4.3.2, but I ran into the same problem as was mentioned in 
> [url=http://opensolaris.org/jive/thread.jspa?threadID=104595&tstart=0]this 
> thread[/url], which I'd brought up before.
>
> People who are trying to build mplayer from CVS under OpenSolaris, including 
> myself, understand that you need to use the GNU build tools and not the 
> System V UNIX tools and Sun Studio compilers. Still, I've not seen any posts 
> indicating that anyone has been able to build mplayer from CVS on OpenSolaris 
> recently. I am not so interested in building old versions of mplayer, since I 
> can get all the functionality I need out of mplayer/mencoder on my Linux box. 
> And I'm not aware whether a binary for mencoder has ever been produced for 
> Solaris.


   I have built Mplayer, mencoder etc. from SVN a month ago. Check the
   desktop-discuss archives.
   Mplayer, mencoder, Vlc et. al. are all available on BeleniX - not
the old versions
   but recent SVN ones. These SPEC files from the BeleniX repo will provide you
   the proper build recipes to get working packages:
   
http://belenix.svn.sourceforge.net/viewvc/belenix/trunk/spec_files/encumbered/

   But one caveat is these use Gcc 4.4 from the BeleniX repo. If you
are building
   on SUN's OpenSolaris distro you can use Gcc 4.3.x by installing the gcc-dev
   group package.

Regards,
Moinak.
-- 

http://www.belenix.org/
http://moinakg.wordpress.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
Of course I'm not building mplayer as root! Why would I do that? I hardly ever 
use su any more, since pfexec is so much more elegant...

I'm running snv_117 now, since it turns out that I was wrong when I thought 
that sound is broken under snv_117 on my system. I tried compiling mplayer from 
cvs using gcc-4.3.2, but I ran into the same problem as was mentioned in 
[url=http://opensolaris.org/jive/thread.jspa?threadID=104595&tstart=0]this 
thread[/url], which I'd brought up before.

People who are trying to build mplayer from CVS under OpenSolaris, including 
myself, understand that you need to use the GNU build tools and not the System 
V UNIX tools and Sun Studio compilers. Still, I've not seen any posts 
indicating that anyone has been able to build mplayer from CVS on OpenSolaris 
recently. I am not so interested in building old versions of mplayer, since I 
can get all the functionality I need out of mplayer/mencoder on my Linux box. 
And I'm not aware whether a binary for mencoder has ever been produced for 
Solaris.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
I also was able to build mplayer on OpenSolaris once, last fall. But the result 
was less functional than what I got off Blastwave, so I discarded it.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
Here's the PATH I have when I try to build mplayer and other GNU software: 
/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/csw/bin:/opt/texlive/2008/bin/i386-solaris
I understood this issue not so long after I got into Solaris.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
> I looked at this thread, which I'd seen before. A certain Shawn Walker notes 
> there:

That thread is pretty good. I guess it's only the newer versions of mplayer 
that have this problem, because I was able to build a much older version on 
Solaris successfully over a year ago.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
Herzen, are you building mplayer as a normal user in 2009.06 or trying to build 
it as the "root" user?

The reason I am asking is this. When a normal user does the

   echo $PATH

command in OpenSolaris 2009.06, they get these results:

  :~$ echo $PATH
  /usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin

notice that the "normal" user has GNU utilities in "/usr/gnu/bin" first in 
their PATH. This is important because the GNU utilities are what you want to 
use to build mplayer. Now when a "root" user does the echo $PATH command in 
2009.06 they get these results:

  :~# echo $PATH
  /usr/sbin:/usr/bin

this makes a BIG difference when you're trying to build mplayer. For example, 
if a "normal user" checks where his "cc" compiler is. He'll get this:

  :~$ which cc
 /usr/gnu/bin/cc

which is a symbolic link to gcc:

 :~$ ls -l /usr/gnu/bin/cc 
 lrwxrwxrwx 1 root root 17 2009-01-16 15:42 /usr/gnu/bin/cc -> ../../sfw/bin/gcc


If the root user checks where his "cc" compiler is. He'll get this:

 :~# which cc
 /usr/bin/cc

 :~# ls -l /usr/bin/cc
 lrwxrwxrwx   1 root root  33 Jan 31 16:24 /usr/bin/cc -> 
../../opt/SunStudioExpress/bin/cc

which is a link to Sun Studio Express!!! Both are called "cc", but depending on 
what you're $PATH variable is and what user you are when you run the 
./configure, make and make install comands, you'll be building with a totally 
different set of build tools!

99% of the time, when FOSS software isn't building correctly on Solaris, it's 
because YOU NEED to have your path set up right so that you are building with 
the GNU build tools and not with System V UNIX tools and the Sun Studio 
compilers. Most of the people who write FOSS software don't really care about 
making the software portable outside of gcc, so usually the software doesn't 
build well with other non-GNU C compilers.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
Wait a second herzen, why don't you have /usr/gnu/bin first in your $PATH? You 
need to build this with the GNU utilities and not with the System V UNIX ones. 
Can you type in this command:

 echo $PATH

and copy and paste the results here?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
Thanks for clearing that up!
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread ken mays



--- On Fri, 7/10/09, Alex Viskovatoff  wrote:

> From: Alex Viskovatoff 
> Subject: Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under 
> osol 2009.06
> To: opensolaris-discuss@opensolaris.org
> Date: Friday, July 10, 2009, 4:51 PM
> Yes, that's what I tried, as I noted
> in my post from 4:15 PM above. I pasted the error message I
> got into that post.
> 
> I just tried it again, this time putting /usr/bin in front
> of /opt/csw/bin, and got the same result. (The blog entry
> you gave a link to has a typo: /opt/csw/gnu should be
> /opt/csw/bin, I imagine.)
> 
> One of the reasons I want to compile mplayer myself is that
> the Blastwave IPS repo is apparently not being maintained.
> But I've installed all my Blastwave software using IPS. I
> tried to go back to the CSW packages using pkgutil (a newer
> mplayer is available that way), but things seem to be broken
> there: gpg can't find libncurses.so.5, even though all the
> dependencies are supposed to be installed automatically.
> Therefore, since osol itself is becoming more and more
> complete, I think it's best to rely as little as possible
> upon Blastwave.

No worries. Both VLC 1.x and MPlayer 1.0rc2 are being maintained so
you'll have them through various resources on Solaris/OpenSolaris.

The issue with Blastwave IPS is just a minor fix that needs the repo
resynced to the latest snapshots.

~ Ken Mays
 


  

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
I looked at 
[url=http://opensolaris.org/jive/thread.jspa?threadID=104595&tstart=0]this 
thread[/url], which I'd seen before. A certain Shawn Walker notes there:

"You'll be happy to know that the next build of OpenSolaris 2009.x will 
deliver: sunwbinut...@2.19,5.11-0.116:20090616T183435Z"

Also, that will have gcc 4.4, which apparently is desirable for building 
mplayer. So I'm going to wait for the next build of osol before I tackle 
building mplayer again. (I'm not running snv_117 because sound is broken on my 
system.)
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
Yes, that's what I tried, as I noted in my post from 4:15 PM above. I pasted 
the error message I got into that post.

I just tried it again, this time putting /usr/bin in front of /opt/csw/bin, and 
got the same result. (The blog entry you gave a link to has a typo: 
/opt/csw/gnu should be /opt/csw/bin, I imagine.)

One of the reasons I want to compile mplayer myself is that the Blastwave IPS 
repo is apparently not being maintained. But I've installed all my Blastwave 
software using IPS. I tried to go back to the CSW packages using pkgutil (a 
newer mplayer is available that way), but things seem to be broken there: gpg 
can't find libncurses.so.5, even though all the dependencies are supposed to be 
installed automatically. Therefore, since osol itself is becoming more and more 
complete, I think it's best to rely as little as possible upon Blastwave.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
Herzen- did you try this method:

http://blogs.sun.com/lewiz/entry/compiling_mplayer_on_opensolaris_2008

and get it to work? (with the official SUN gawk package instead of IPSgawk of 
course)
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
Thanks for the suggestion. I've tried that before, and I just tried it again. 
The build fails:

cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o 
subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o 
get_path.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o 
playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o 
libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a 
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a 
libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a 
libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a 
loader/libloader.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a 
libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a 
libdvdcss/libdvdcss.a libass/libass.a osdep/libosdep.a -lXext -lX11 -lXv 
-lXinerama -lXxf86vm -lGL -R/opt/csw/lib -lSDL -lpthread -lposix4 -lesd 
-laudiofile -lm -lrt -lresolv -lnsl -lsocket -lopenal -lfaac -L/opt/csw/lib 
-L/opt/csw/lib  -lkstat -lposix4 -lsocket -lnsl  
 -ltermcap -lsmbclient -lpng -lz -ljpeg -L/opt/csw/lib -R/opt/csw/lib 
-lfreetype -lz -lfontconfig  -L/opt/csw/lib -lfribidi -lz -lmad -lspeex  
-ltheora -logg -rdynamic  -lm   
cc: unrecognized option `-rdynamic'
Undefined   first referenced
 symbol in file
libiconv_close  mp_msg.o  (symbol belongs to implicit 
dependency /opt/csw/lib/libiconv.so.2)
libiconv_open   mp_msg.o  (symbol belongs to implicit 
dependency /opt/csw/lib/libiconv.so.2)
libiconvmp_msg.o  (symbol belongs to implicit 
dependency /opt/csw/lib/libiconv.so.2)
ld: fatal: symbol referencing errors. No output written to mplayer
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1

It does look like it's compiled all the object modules though, and that the 
failure occurs during linking. I think that's better than the last time I've 
tried it.

I'm sorry that I'm too ignorant about programming in Unix (the last serious 
programming I did was on a Mac twenty years ago) to know how to go about fixing 
this.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Shawn Walker

Joerg Schilling wrote:

Shawn Walker  wrote:

The libraries you need are present as far as I know.  However, you 
should realise that many open source projects develop software that 
often only correctly (or easily) compiles on GNU-based operating systems.


It seems that you missunderstand the term "GNU-based operating systems".

What aou are talking about is the spefic problems we see with developments 
results from software that has only been tested in Linux. The problem is not

related to GNU...


It is related to GNU, in the sense that developers often assume that the 
tools they use during build are GNU tools.  For example, ld, asm, awk, 
make, sed, etc.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Alex Viskovatoff
> I may have cheated, because I have LWS added as an IPS repo, and I have 
> everything from it installed, and I used it as a lib dir.

That's not very helpful, since the LWS IPS repo has been taken down.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Joerg Schilling
Nico Sabbi  wrote:

> for speed reasons there IS a lot of ASM optimized routines in the 
> single decoders, although the decoders are part of ffmpeg (that is 
> embedded in vlc) rather than in vlc itself. But the major problem is 
> not with optimized with ASM routines: most of the times it's with the 
> messy mixture of glu and sun binutils (as, ld and friends), with the 
> reliance on on glibc rather than on libc and so on.
> I've been developing mplayer for many years and occasionally trying to 
> fix mplayer for Solaris, but every time I retried to compile a fresh 
> svn checkout Solaris was lacking in a different manner, so I simply 
> gave up.

Do you mean that the other mplayer developers hosed your fixes?

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Joerg Schilling
Alex Viskovatoff  wrote:

> Shawn Walker wrote:
>
> >you should realise that many open source projects develop software that 
> >often only correctly (or easily) compiles on GNU-based operating systems.
>
> I'm confused. What then is the point of all those GNU packages in 
> OpenSolaris? It is in order to port software from GNU/Linux to Solaris, as 
> far as I understand. Is there some technical reason why a program written for 
> the gcc compiler and which uses GNU libraries must in principle be more 
> difficult to compile under OpenSolaris than under a Linux distribution such 
> as Fedora or OpenSUSE? Solaris has its own native tools and libraries, in 
> their own directories, so nothing that is done to GNU packages can break 
> native Solaris applications.
>
> Shouldn't the ideal be that any application that complies under GNU/Linux 
> will compile under OpenSolaris? And isn't realizing that ideal simply a 
> matter of putting enough work into the porting of GNU tools and libraries to 
> Solaris? Or am I missing something?

A cleanly writen application will compile and work on both Linux and Solaris.
Many programs that have been only developed on Linux are not written "cleanly"
as Linux is not POSIX compliant.

This (and the fact that there are better debugging tools on Solaris) is a 
strong 
hint for doing development on Solaris ;-)

Many "linux developers" still believe that Solaris is not open or costs money.
We need to educate them that only their mind prevents them from doing at least 
tests on a POSIX compliant platform.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Joerg Schilling
Shawn Walker  wrote:

> The libraries you need are present as far as I know.  However, you 
> should realise that many open source projects develop software that 
> often only correctly (or easily) compiles on GNU-based operating systems.

It seems that you missunderstand the term "GNU-based operating systems".

What aou are talking about is the spefic problems we see with developments 
results from software that has only been tested in Linux. The problem is not
related to GNU...


Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Che Kristo
Most codecs require patent licenses, for example h.264,
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Patent_licensing

On Fri, Jul 10, 2009 at 5:57 PM, john kroll  wrote:

> I'm still lost in this stuff myself. Is there an issue with the a free
> codec or the bringing of computer audio from note tones to copied studio
> sound. Are the lines of licensing  being crossed or something?
> --
> This message posted from opensolaris.org
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread john kroll
I'm still lost in this stuff myself. Is there an issue with the a free codec or 
the bringing of computer audio from note tones to copied studio sound. Are the 
lines of licensing  being crossed or something?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Nico Sabbi
On Friday 10 July 2009 06:44:02 Alex Viskovatoff wrote:
> Shawn Walker wrote:
>
> (I understand that if code gets sufficiently close to machine
> level, then the code must be modified to work on a different OS.
> (For example, I've ported SBCL (Steel Bank Common Lisp) from x86
> Solaris to AMD64 Solaris.) But with something like VLC, if it only
> uses x.org interfaces as opposed to trying to access the hardware
> directly, if one knows it compiles under Fedora for example,
> shouldn't it be as easy to compile under OpenSolaris as under
> OpenSUSE, for example?)


for speed reasons there IS a lot of ASM optimized routines in the 
single decoders, although the decoders are part of ffmpeg (that is 
embedded in vlc) rather than in vlc itself. But the major problem is 
not with optimized with ASM routines: most of the times it's with the 
messy mixture of glu and sun binutils (as, ld and friends), with the 
reliance on on glibc rather than on libc and so on.
I've been developing mplayer for many years and occasionally trying to 
fix mplayer for Solaris, but every time I retried to compile a fresh 
svn checkout Solaris was lacking in a different manner, so I simply 
gave up.
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
Since you said you wanted to learn how to compile mplayer from source on 
OpenSolaris, here's another guide from the opensolaris.com web site that might 
be even better than the one I previously posted:

  http://forum.opensolaris.com/thread.jspa?threadID=684&tstart=0

So you see, lots of people did put up how to build it on the internet after 
all. It's a good thing I was here to help you out with my jedi-master level 
google searching skills.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
If you use IPSgawk instead of SUNWgawk and don't have IPSawk in the $PATH 
before the old school AT&T System V UNIX awk when you build, you will get an 
error that looks something like this:

gmake[1]: Entering directory `/export/home/hliind/MPlayer-1.0rc2/vidix'
LC_ALL=C awk -f pci_db2c.awk pci.db
awk: syntax error near line 67
awk: illegal statement near line 67
awk: syntax error near line 76
awk: illegal statement near line 76
awk: syntax error near line 128
awk: bailing out near line 128
gmake[1]: *** [pci_names.c] Error 2
gmake[1]: Leaving directory `/export/home/hliind/MPlayer-1.0rc2/vidix'
gmake: *** [vidix/libvidix.a] Error 2

If you get this error, it's because you're using the IPSgawk instead of the 
SUNWgawk and you don't have IPSgawk first in the $PATH variable, so you need to 
do something like this command:

$ export PATH=/opt/csw/gnu:$PATH
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-10 Thread Anon Y Mous
> I prefer mplayer, and I'm getting by on the binary I got off Blastwave. 
> It's the principle that bothers me here: that people have managed to compile 
> VLC and mplayer under Solaris, but then they apparently did little to help 
> others do the same.

Hi Herzen,

Actually, a lot of the people who have managed to compile mplayer on Solaris 
and OpenSolaris have posted guides for how to do it on the internet. Here is my 
favorite "how to" guide for how to build mplayer from source code using gcc, 
gmake, gawk and the SUNWxorg-headers:

 http://blogs.sun.com/lewiz/entry/compiling_mplayer_on_opensolaris_2008

The only thing that's different now from when this guy built it a year ago back 
in OpenSolaris 2008.05 is that you don't need Blastwave to get gawk anymore. 
You can use the SUNWgawk package from the official Opensolaris repository 
instead. 

Just run this command:

pfexec pkg install SUNWgcc SUNWgmake SUNWgawk SUNWxorg-headers

and then follow the rest of the instructions. Try this out and tell me in this 
thread if it worked for you or not.

Message was edited by: system5
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Alex Viskovatoff
Thanks for that. But I don't actually care about VLC that much: I prefer 
mplayer, and I'm getting by on the binary I got off Blastwave.

It's the principle that bothers me here: that people have managed to compile 
VLC and mplayer under Solaris, but then they apparently did little to help 
others do the same.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Shawn Walker

Alex Viskovatoff wrote:

Thanks very much for your patient reply. Yes, of course, it makes sense that 
since osol is not natively a GNU system, its GNU libraries will be arranged 
differently than on GNU/Linux systems, which means that scripts to build 
applications will often need to be written differently for it.


Each operating system sometimes has its own versions (out of necessity) 
of certain libraries.  For example, GNU/Linux systems uses GNU's libc, 
while OpenSolaris has its own libc.  So sometimes functions (such as 
acl_trivial) are in different libraries on different platforms or aren't 
available at all.


In this particular case, it isn't an issue of "GNU library arrangement"; 
but a difference in platforms.



The only thing I think that one can hold against the VLC people is that they advertise 
VLC 1.0.0 as "supporting" OpenSolaris. It's perfectly understandable that VLC 
developers want to concentrate their energies on the most common platforms, so that it's 
not their responsibility to get the VLC code to compile under OpenSolaris. But if it 
doesn't, they shouldn't claim that it supports OpenSolaris.


They should probably be more specific about what platform they support 
and what they requirements are.  Indeed, if they say they support 
Solaris 10 or OpenSolaris, I would generally expect build instructions 
to be provided as well.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Anon Y Mous
Found this, which also might help:

  http://wiki.genunix.org/wiki/index.php/Libdvdcss

I believe it's one of the more important components you need for VLC.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Alex Viskovatoff
Thanks very much for your patient reply. Yes, of course, it makes sense that 
since osol is not natively a GNU system, its GNU libraries will be arranged 
differently than on GNU/Linux systems, which means that scripts to build 
applications will often need to be written differently for it.

My main "Angst" at this point is directed at people who managed to compile VLC 
for Solaris who didn't make what they did to do so publicly available, as one 
expects from people involved in open source projects. They should also have 
submitted patches to the VLC developers, which they did not do, as far as I can 
tell.

The only thing I think that one can hold against the VLC people is that they 
advertise VLC 1.0.0 as "supporting" OpenSolaris. It's perfectly understandable 
that VLC developers want to concentrate their energies on the most common 
platforms, so that it's not their responsibility to get the VLC code to compile 
under OpenSolaris. But if it doesn't, they shouldn't claim that it supports 
OpenSolaris.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Anon Y Mous
This is a pretty good thread on media related stuff as well:

http://www.opensolaris.org/jive/thread.jspa?threadID=81497
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Shawn Walker

Che Kristo wrote:
LWS was a godsend when it was around. I tried emailing the webmaster of 
LWS not long after the shutdown and didn't get a response :-|


Check out http://solaris.homeunix.com/?q=node/11 for various multimedia 
codecs for GStreamer, and if you find them useful donate by clicking the 
"donate" link on the left hand side of the site


Or better yet, get the legal codecs from fluendo.com, and support Open 
Source software.  Fluendo is the main developer behind gstreamer, and a 
great supporter of free software.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Che Kristo
LWS was a godsend when it was around. I tried emailing the webmaster of LWS
not long after the shutdown and didn't get a response :-|

Check out http://solaris.homeunix.com/?q=node/11 for various multimedia
codecs for GStreamer, and if you find them useful donate by clicking the
"donate" link on the left hand side of the site

On Fri, Jul 10, 2009 at 3:36 PM, Anon Y Mous  wrote:

> Ok, there is this really smart Japanese programmer that posts at
> opensolaris.com under the name "kronox" and he knows how to build
> everything from source code including VLC media player and Xine Video Player
> and mplayer and Goggles DVD player and BMPx media player and all kinds of
> other stuff.
>
> He used to run an IPS repository at this URL:
>
> http://www.lifewithsolaris.jp/
>
> I was able to download working copies of VLC and everything else from there
> before some evil lawyers made him shut down his IPS repository for
> distributing codecs that he wasn't licensed to distribute. Does anybody have
> any contact with him? Did he ever reveal any instructions on how he was able
> to build VLC from source and roll it into IPS and SysV packages?
> --
> This message posted from opensolaris.org
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Jim Walker

Alex Viskovatoff wrote:

Shouldn't the ideal be that any application that complies under
GNU/Linux will compile under OpenSolaris? And isn't realizing that
ideal simply a matter of putting enough work into the porting of GNU
tools and libraries to Solaris? Or am I missing something?


Alex,

I suggest doing a google search and find a spec file for it
and (I saw a few) and work the the sw porters community to
port it via the source juicer. Here's the process link:

http://opensolaris.org/os/community/sw-porters/contributing/jucrprocess/

It may be just a few days work.

Cheers,
Jim
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Anon Y Mous
My bad, while typing in:

kronox vlc site:www.opensolaris.org

into google brings up all kinds of great hits. Typing in:

kronox vlc site:www.opensolaris.com

brings up nothing. For opensolaris.com, you have to type in:

kronox vlc site:forums.opensolaris.com

Sorry about that.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Anon Y Mous
I just used my google searching super-powers to find this thread right here at 
opensolaris.org that shows how to compile it:

http://www.opensolaris.org/jive/thread.jspa?messageID=270486񂂖

Try that and see if it works.

All I had to do was type the following line of text in to google to get all 
kinds of information about this:

kronox vlc site:www.opensolaris.org

Doing a google search for

kronox vlc site:www.opensolaris.com

should give some interesting results too.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Anon Y Mous
Ok, there is this really smart Japanese programmer that posts at 
opensolaris.com under the name "kronox" and he knows how to build everything 
from source code including VLC media player and Xine Video Player and mplayer 
and Goggles DVD player and BMPx media player and all kinds of other stuff.

He used to run an IPS repository at this URL:

http://www.lifewithsolaris.jp/

I was able to download working copies of VLC and everything else from there 
before some evil lawyers made him shut down his IPS repository for distributing 
codecs that he wasn't licensed to distribute. Does anybody have any contact 
with him? Did he ever reveal any instructions on how he was able to build VLC 
from source and roll it into IPS and SysV packages?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Shawn Walker

Alex Viskovatoff wrote:

Shawn Walker wrote:


you should realise that many open source projects develop software that often 
only correctly (or easily) compiles on GNU-based operating systems.


I'm confused. What then is the point of all those GNU packages in OpenSolaris? 
It is in order to port software from GNU/Linux to Solaris, as far as I 
understand. Is there some technical reason why a program written for the gcc 
compiler and which uses GNU libraries must in principle be more difficult to 
compile under OpenSolaris than under a Linux distribution such as Fedora or 
OpenSUSE? Solaris has its own native tools and libraries, in their own 
directories, so nothing that is done to GNU packages can break native Solaris 
applications.


Having the GNU tools and using a completely GNU/Linux-based operating 
system are two different things.  The reason to have many of the GNU 
tools, as I understand it, is to:


* bring familiarity to users coming from other operating systems

* make it easier to port and develop common open-source software

The other part of the problem is *how* projects choose to use those 
tools.  Just because we have GNU automake, etc. available for 
OpenSolaris doesn't mean that every project that uses those will 
automatically compile or work on OpenSolaris *or* any other operating 
system that has them.



Shouldn't the ideal be that any application that complies under GNU/Linux will 
compile under OpenSolaris? And isn't realizing that ideal simply a matter of 
putting enough work into the porting of GNU tools and libraries to Solaris? Or 
am I missing something?


As I mentioned above, it just doesn't work that way.  How the tools are 
used by each project is just as important as having them.  Having the 
tools alone will not solve all the various compilation issues, etc.  For 
example, the compilation error you ran into earlier was because of some 
platform-specific assumptions the project you're compiling made or some 
bad scripting that didn't properly cause the program to link against the 
sec library to get acl_trivial.


I can show you software that won't compile properly on FreeBSD, 
DragonFly BSD, etc. even though the GNU tools are commonly used and 
available on those operating systems because of bad assumptions projects 
make.


It is regrettable that you've encountered these issues, and I'm certain 
that Sun will do what it can to make it *easier* to compile and develop 
software by providing the necessary tools, but the choices many 
individual open source projects make ultimately determine how difficult 
or whether its possible to compile a particular project on OpenSolaris.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Alex Viskovatoff
Shawn Walker wrote:

>you should realise that many open source projects develop software that often 
>only correctly (or easily) compiles on GNU-based operating systems.

I'm confused. What then is the point of all those GNU packages in OpenSolaris? 
It is in order to port software from GNU/Linux to Solaris, as far as I 
understand. Is there some technical reason why a program written for the gcc 
compiler and which uses GNU libraries must in principle be more difficult to 
compile under OpenSolaris than under a Linux distribution such as Fedora or 
OpenSUSE? Solaris has its own native tools and libraries, in their own 
directories, so nothing that is done to GNU packages can break native Solaris 
applications.

Shouldn't the ideal be that any application that complies under GNU/Linux will 
compile under OpenSolaris? And isn't realizing that ideal simply a matter of 
putting enough work into the porting of GNU tools and libraries to Solaris? Or 
am I missing something?

Anything you can say to dispel my confusion, or any links to documents 
addressing this issue, would be very much appreciated.

(I understand that if code gets sufficiently close to machine level, then the 
code must be modified to work on a different OS. (For example, I've ported SBCL 
(Steel Bank Common Lisp) from x86 Solaris to AMD64 Solaris.) But with something 
like VLC, if it only uses x.org interfaces as opposed to trying to access the 
hardware directly, if one knows it compiles under Fedora for example, shouldn't 
it be as easy to compile under OpenSolaris as under OpenSUSE, for example?)
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Shawn Walker

Alex Viskovatoff wrote:

Thanks for the suggestion. I've filed an RFE: 
http://defect.opensolaris.org/bz/show_bug.cgi?id=9951

But VLC not compiling under OpenSolaris has been a long-standing cause of 
complaint. VLC is a prominent and widely recognized program, as is indicated by 
[url=http://www.salon.com/tech/giga_om/online_video/2009/07/09/vlc_an_excellent_media_player_finally_turns_1_0_0/]this
 report on the release of version 1.0.0 in Salon[/url].


Since VLC is an open-source project, I'm certain they'd welcome patches.

Sun does not maintain or provide VLC, so taking this up with the VLC 
community is your best option.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Alex Viskovatoff
Thanks for the suggestion. I've filed an RFE: 
http://defect.opensolaris.org/bz/show_bug.cgi?id=9951

But VLC not compiling under OpenSolaris has been a long-standing cause of 
complaint. VLC is a prominent and widely recognized program, as is indicated by 
[url=http://www.salon.com/tech/giga_om/online_video/2009/07/09/vlc_an_excellent_media_player_finally_turns_1_0_0/]this
 report on the release of version 1.0.0 in Salon[/url].
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Shawn Walker

Alex Viskovatoff wrote:

Its [url=http://www.videolan.org/vlc/index2.html]official page[/url] actually 
has a link for Solaris, which points to the page for 
[url=http://www.videolan.org/vlc/download-sources.html]the source code[/url], 
unfortunately.

The official VLC Web site claims that Solaris is supported: "For the other operating systems supported, 
there are no precompiled binaries. You will have to get the source code for VLC and its required libraries 
and build them yourself". There is a page with instructions for 
[url=http://wiki.videolan.org/UnixCompile]compiling for Unix[/url]. Compiling VLC requires first having the 
necessary libraries. "If your distro is really bad and doesn't provide the libs, no -dev or -devel 
packages", the instructions suggest "using the contribs system in VLC's sources". As far as 
I'm aware, this option is relatively new.

Anyway, on my 2009.06 OpenSolaris system, with /usr/gnu/bin at the head of my 
PATH, when I follow the instructions and try make, I run into the following 
error:

i386-pc-solaris2.11-gcc -std=gnu99 
-I/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include 
-DNDEBUG -isystem 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include -o 
.libs/msgcmp msgcmp-msgcmp.o  
-L/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib 
./.libs/libgettextsrc.so 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
 -lcroco-0.6 -lglib-2.0 -ltermcap 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib/libiconv.so 
-lc  -R/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib
Undefined   first referenced
 symbol in file
acl_trivial 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
ld: fatal: symbol referencing errors. No output written to .libs/msgcmp
collect2: ld returned 1 exit status
make[6]: *** [msgcmp] Error 1


acl_trivial is part of the sec lirbary:
http://docs.sun.com/app/docs/doc/819-2248/acl-trivial-3sec?a=view

I imagine if it was changed to link with -lsec, you'd get past this point.



I have SUNWgnu-gettext installed. Googling "acl_trivial undefined" produced the 
following thread on the Videolan forums from last January: 
[url=http://forum.videolan.org/viewtopic.php?f=13&t=55185&start=0]./bootstrap not working 
OpenSolaris 2008.11[/url]. The Videolan people are helpful in that thread, but the upshot is that 
the GNU tools and libs on OpenSolaris are simply too broken for compiling VLC not to be a major 
undertaking.

It's very sad that this situation has not changed with osol 2009.06. If the 
developers of osol are not going to provide binaries of such a basic program as 
VLC because of intellectual property issues, the least they could do is bring 
the GNU tools and libs into sufficient working order for VLC to compile.


The libraries you need are present as far as I know.  However, you 
should realise that many open source projects develop software that 
often only correctly (or easily) compiles on GNU-based operating systems.


As such, I think you may wish to direct some of your angst towards the 
vlc project.


--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Che Kristo
Have you filed an RFE at http://defect.opensolaris.org/bz/?

On Fri, Jul 10, 2009 at 11:13 AM, Alex Viskovatoff wrote:

> Its 
> [url=http://www.videolan.org/vlc/index2.html]officialpage[/url]
>  actually has a link for Solaris, which points to the page for
> [url=http://www.videolan.org/vlc/download-sources.html]thesource
>  code[/url], unfortunately.
>
> The official VLC Web site claims that Solaris is supported: "For the other
> operating systems supported, there are no precompiled binaries. You will
> have to get the source code for VLC and its required libraries and build
> them yourself". There is a page with instructions for [url=
> http://wiki.videolan.org/UnixCompile]compilingfor
>  Unix[/url]. Compiling VLC requires first having the necessary libraries.
> "If your distro is really bad and doesn't provide the libs, no -dev or
> -devel packages", the instructions suggest "using the contribs system in
> VLC's sources". As far as I'm aware, this option is relatively new.
>
> Anyway, on my 2009.06 OpenSolaris system, with /usr/gnu/bin at the head of
> my PATH, when I follow the instructions and try make, I run into the
> following error:
>
> i386-pc-solaris2.11-gcc -std=gnu99
> -I/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include
> -DNDEBUG -isystem
> /export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include -o
> .libs/msgcmp msgcmp-msgcmp.o
>  -L/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib
> ./.libs/libgettextsrc.so
> /export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
> -lcroco-0.6 -lglib-2.0 -ltermcap
> /export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib/libiconv.so
> -lc  -R/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib
> Undefined   first referenced
>  symbol in file
> acl_trivial
> /export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
> ld: fatal: symbol referencing errors. No output written to .libs/msgcmp
> collect2: ld returned 1 exit status
> make[6]: *** [msgcmp] Error 1
>
> I have SUNWgnu-gettext installed. Googling "acl_trivial undefined" produced
> the following thread on the Videolan forums from last January: [url=
> http://forum.videolan.org/viewtopic.php?f=13&t=55185&start=0]./bootstrapnot
>  working OpenSolaris 2008.11[/url]. The Videolan people are helpful in
> that thread, but the upshot is that the GNU tools and libs on OpenSolaris
> are simply too broken for compiling VLC not to be a major undertaking.
>
> It's very sad that this situation has not changed with osol 2009.06. If the
> developers of osol are not going to provide binaries of such a basic program
> as VLC because of intellectual property issues, the least they could do is
> bring the GNU tools and libs into sufficient working order for VLC to
> compile.
> --
> This message posted from opensolaris.org
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] VLC 1.0.0 is out, but it doesn't compile under osol 2009.06

2009-07-09 Thread Alex Viskovatoff
Its [url=http://www.videolan.org/vlc/index2.html]official page[/url] actually 
has a link for Solaris, which points to the page for 
[url=http://www.videolan.org/vlc/download-sources.html]the source code[/url], 
unfortunately.

The official VLC Web site claims that Solaris is supported: "For the other 
operating systems supported, there are no precompiled binaries. You will have 
to get the source code for VLC and its required libraries and build them 
yourself". There is a page with instructions for 
[url=http://wiki.videolan.org/UnixCompile]compiling for Unix[/url]. Compiling 
VLC requires first having the necessary libraries. "If your distro is really 
bad and doesn't provide the libs, no -dev or -devel packages", the instructions 
suggest "using the contribs system in VLC's sources". As far as I'm aware, this 
option is relatively new.

Anyway, on my 2009.06 OpenSolaris system, with /usr/gnu/bin at the head of my 
PATH, when I follow the instructions and try make, I run into the following 
error:

i386-pc-solaris2.11-gcc -std=gnu99 
-I/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include 
-DNDEBUG -isystem 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/include -o 
.libs/msgcmp msgcmp-msgcmp.o  
-L/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib 
./.libs/libgettextsrc.so 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
 -lcroco-0.6 -lglib-2.0 -ltermcap 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib/libiconv.so 
-lc  -R/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/lib
Undefined   first referenced
 symbol in file
acl_trivial 
/export/home/me/Download/software/src/vlc-1.0.0/extras/contrib/src/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
ld: fatal: symbol referencing errors. No output written to .libs/msgcmp
collect2: ld returned 1 exit status
make[6]: *** [msgcmp] Error 1

I have SUNWgnu-gettext installed. Googling "acl_trivial undefined" produced the 
following thread on the Videolan forums from last January: 
[url=http://forum.videolan.org/viewtopic.php?f=13&t=55185&start=0]./bootstrap 
not working OpenSolaris 2008.11[/url]. The Videolan people are helpful in that 
thread, but the upshot is that the GNU tools and libs on OpenSolaris are simply 
too broken for compiling VLC not to be a major undertaking.

It's very sad that this situation has not changed with osol 2009.06. If the 
developers of osol are not going to provide binaries of such a basic program as 
VLC because of intellectual property issues, the least they could do is bring 
the GNU tools and libs into sufficient working order for VLC to compile.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org