[K12OSN] Getting sound working in Impress. Was: OpenOffice Listens to the Users I guess

Krsnendu dasa krsnendu108 at gmail.com
Sat Apr 14 07:59:24 UTC 2007


I thought it would help to start a new thread for this topic as I
didn't get a reply to my last email. The thread is included bottom
posted.

BTW. I have noticed that sound in impress works in Ubuntu Edgy using
gstreamer. Is that also an option in Fedora 6?

Thanks.
Krsnendu dasa

> > > > > JRE is installed but it needs JMF to run the multimedia. I tried
> > > > > installing it but got errors. Not sure what to do now. I am using
> > > > > K12LTSP 6 (Fedora 6)
> > > > > These are my errors.
> > > > >
> > > > > [root at k12ltsp1 install]# sh ./jmf-2_1_1e-linux-i586.bin
> > > > >
> > > > > JavaTM Media Framework (JMF) 2.1.x
> > > > > Binary Code License Agreement
> > > > > ...
> > > > > Do you agree to the above license terms? [yes or no]
> > > > > yes
> > > > >
> > > > > Permit recording from an applet? (see readme.html) [yes or no]
> > > > > yes
> > > > >
> > > > > Permit writing local files from an applet? (recommend no, see
> > > > > readme.html) [yes or no]
> > > > > yes
> > > > > Unpacking...
> > > > > tail: cannot open `+309' for reading: No such file or directory
> > > > > Extracting...
> > > > > ./install.sfx.11154: line 1: ==: No such file or directory
> > > > > ./install.sfx.11154: line 3: syntax error near unexpected token `)'
> > > > > ./install.sfx.11154: line 3:
> > > > >
> > > >
> > `5���3��n�N�_�^����[UQU599��;����r���Ѣ_‡���KK)C{<>���<<�������1vp�믝�QQR�����rqp����"���hj��W�jYn�d!���

���L���Lŕ^
> > > > >
> > > >
> > 88�$���ծ��,����iѭ����V~�mn.�7w^�‹�,�;
M��`�
򕖑A$D�����
> > > > @
> > > > >   ɺ�wA'
> > > > > [root at k12ltsp1 install]#
> > > > >
> > > > > When I try to run the install again it just exits immediately.
> > > > > Can anyone help? (I can show the strace output for anyone who is
> > > > interested.)
> > > > > We are planning to do slideshows this term and sound is considered
> > > > > essential by the principal.

> > On 10/04/07, Nadav Kavalerchik <nadavkav at gmail.com> wrote:
> > search "tail" for RedHat EL 4  and get an RPM package called  mini-busybox
> > download it, open it (as if it is an archive) don't install it.
> > and get the application "tail"
> > now, put the tail application on the same folder you have jre install
> > package, and run the install
> > ( it will use the "tail" you just got)

On 11/04/07, Krsnendu dasa <krsnendu108 at gmail.com> wrote:
> I was having difficulty installing using the bin file. (the strace
> output is listed at the end.)
> I tried putting tail in the same directory as the jmf.bin file. Is
> this right, or should it go somewhere else (/usr/share/java/...)
>
>
> The following method looked promising so I tried it.
> http://www.oooforum.org/forum/viewtopic.phtml?t=50506&view=next
> Installing using RPMbuild.
> After setting up .bashrc /etc/profile I was able to get to the stage
> where the webbrowser diagnostic test came up with "All java build.
> Native libraries not found."
> ( I wasn't sure exactly where to put the setenv lines--.bashrc or /etc/profile)
>
> I can run JMediaPlayer (using the fix given in the previous email) but
> it won't open mpg movies or mp3 or ogg or wav or anything I try to
> open. It is the same with Openoffice Impress. It always says "The
> format of the selected file is not supported." I have set the
> classpath to the jmf.jar file.
>
> I thought I should try rebuilding the rpm file using the linux
> optimized zip file. It said something on the Sun website that the all
> java build doesn't support the sound api.
>
> Any suggestions:
> Should I try to fix and use the .bin installation method, or should I
> try the rpmbuild method rebuilding the file using linux optimized
> files?
>
> I appreciate the help. I hope to get this sorted soon.
>
> Thanks.
> Krsnendu dasa

Here is the strace output.
[root at k12ltsp1 jmf]# strace sh jmf-2_1_1e-linux-i586.bin
execve("/bin/sh", ["sh", "jmf-2_1_1e-linux-i586.bin"], [/* 43 vars */]) = 0
brk(0)                                  = 0x8445000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=69439, ...}) = 0
mmap2(NULL, 69439, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa7000
close(3)                                = 0
open("/lib/libtermcap.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\353"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13276, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fa6000
mmap2(0x490e000, 14760, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x490e000
mmap2(0x4911000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x4911000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\33u"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16528, ...}) = 0
mmap2(0x751000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x751000
mmap2(0x753000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x753000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\360_\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1576920, ...}) = 0
mmap2(0x5e9000, 1295780, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5e9000
mmap2(0x720000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x137) = 0x720000
mmap2(0x723000, 9636, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x723000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fa5000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fa56c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x753000, 4096, PROT_READ)     = 0
mprotect(0x720000, 8192, PROT_READ)     = 0
mprotect(0x5e5000, 4096, PROT_READ)     = 0
munmap(0xb7fa7000, 69439)               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0x8445000
brk(0x8466000)                          = 0x8466000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55561840, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7da5000
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0xdc0) = 0xb7fb7000
close(3)                                = 0
getuid32()                              = 0
getgid32()                              = 0
geteuid32()                             = 0
getegid32()                             = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1176282650
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fb6000
read(3, "MemTotal:      2074844 kB\nMemFre"..., 1024) = 823
close(3)                                = 0
munmap(0xb7fb6000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}, 8) = 0
uname({sys="Linux", node="k12ltsp1.harekrishna.school.nz", ...}) = 0
stat64("/root/install/jmf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid()                                = 27639
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25460, ...}) = 0
mmap2(NULL, 25460, PROT_READ, MAP_SHARED, 3, 0) = 0xb7fb0000
close(3)                                = 0
getppid()                               = 27638
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/kerberos/sbin/sh", 0xbf9b8560) = -1 ENOENT (No such file
or directory)
stat64("/usr/kerberos/bin/sh", 0xbf9b8560) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/sbin/sh", 0xbf9b8560) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/sh", 0xbf9b8560) = -1 ENOENT (No such file or directory)
stat64("/sbin/sh", 0xbf9b8560)          = -1 ENOENT (No such file or directory)
stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=722684, ...}) = 0
access("/bin/sh", X_OK)                 = 0
access("/bin/sh", R_OK)                 = 0
stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=722684, ...}) = 0
access("/bin/sh", X_OK)                 = 0
access("/bin/sh", R_OK)                 = 0
getpgrp()                               = 27638
rt_sigaction(SIGCHLD, {0x8079d00, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("jmf-2_1_1e-linux-i586.bin", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf9b8568) = -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "", 80)                         = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 1)                        = 0
exit_group(0)                           = ?
Process 27639 detached
[root at k12ltsp1 jmf]#




More information about the K12OSN mailing list