I would say: compile it withou tests and hope that it runs.
so simply add -DskipTests to the mvn command line.

Regards
Rüdiger

Am 15.09.2011 14:43, schrieb matpro_fhkoeln:
Hello Rüdiger,
hello Rubén,

I tried again with a new clean system (3rd time) and got the same error,
output is attached. I used branch 1.1.x, as Rüdiger mentioned.
Rubén, have you found something in your logs regarding installation on
Debian Squeeze?

For comprehension, in short what I have done:

(debian installation all on one partition)
# aptitude install openssh-server
# aptitude install subversion
root@pips04:/home/matpro# svn co
https://opencast.jira.com/svn/MH/branches/1.1.x/docs/scripts/ubuntu_capture_agent/
[...]
Ausgecheckt, Revision 10965.
# nano install_dependencies.sh
(parts commented out as Rubén said)
# aptitude install openjdk-6-jdk
# nano install.sh
(changed JAVA_PATTERN=java-6-openjdk)
# aptitude install alsa-utils
# aptitude install v4l-conf
# nano /etc/apt/sources.list
[...]
deb http://ftp.de.debian.org/debian squeeze main contrib
# aptitude update
# apt-get update
# aptitude install ivtv-utils
# aptitude install curl
# aptitude install maven2
# aptitude install gstreamer0.10-alsa
# aptitude install gstreamer0.10-plugins-base
# aptitude install gstreamer0.10-plugins-good
# aptitude install gstreamer0.10-plugins-ugly
# aptitude install gstreamer0.10-ffmpeg
# aptitude install ntp
# aptitude install gstreamer0.10-plugins-bad
# dmesg -c
(camera connected, then turned on)
# dmesg
[ 3323.955899] usb 2-1.3: new full speed USB device using ehci_hcd and
address 3
[ 3324.054473] usb 2-1.3: New USB device found, idVendor=04da,
idProduct=231d
[ 3324.054477] usb 2-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 3324.054480] usb 2-1.3: Product: DVC
[ 3324.054482] usb 2-1.3: Manufacturer: Panasonic
[ 3324.054485] usb 2-1.3: SerialNumber: 000011946045
[ 3324.054597] usb 2-1.3: configuration #1 chosen from 1 choice
[ 3324.405998] Linux video capture interface: v2.00
[ 3324.427787] uvcvideo: Found UVC 1.00 device DVC (04da:231d)
[ 3324.430249] input: DVC as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input11
[ 3324.430317] usbcore: registered new interface driver uvcvideo
[ 3324.430320] USB Video Class driver (v0.1.0)
[ 3324.507786] usbcore: registered new interface driver snd-usb-audio
# dmesg -c
(epiphan connected, with input)
# dmesg
[ 3394.744657] usb 2-1.1: new high speed USB device using ehci_hcd and
address 4
[ 3394.836756] usb 2-1.1: New USB device found, idVendor=5555,
idProduct=3411
[ 3394.836761] usb 2-1.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 3394.836873] usb 2-1.1: configuration #1 chosen from 1 choice
# mkdir info_epiphan_com
# wget
http://www.epiphan.com/downloads/linux/vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
# tar -xvf vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
# dmesg -c
# modprobe videodev
# insmod ./vga2usb.ko
# dmesg
[ 3749.513240] Epiphan Systems VGA frame grabber driver version 3.24.8.4
loaded
[ 3749.536245] VGA2USB is now attached to vga2usb-0
[ 3749.536275] usbcore: registered new interface driver vga2usb
[ 3749.773807] usb 2-1.1: USB disconnect, address 4
[ 3749.773850] vga2usb: Disconnect
[ 3749.773919] Removing VGA2USB device ffff880135db1800
[ 3751.247767] usb 2-1.1: new high speed USB device using ehci_hcd and
address 5
[ 3751.341199] usb 2-1.1: New USB device found, idVendor=5555,
idProduct=3411
[ 3751.341203] usb 2-1.1: New USB device strings: Mfr=1, Product=4,
SerialNumber=3
[ 3751.341206] usb 2-1.1: Product: DVI2USBSolo
[ 3751.341209] usb 2-1.1: Manufacturer: Epiphan
[ 3751.341211] usb 2-1.1: SerialNumber: D3U51121
[ 3751.341309] usb 2-1.1: configuration #1 chosen from 1 choice
[ 3755.975287] VGA2USB is now attached to vga2usb-0
# nano /etc/init.d/driver_epiphan_dvi2usb_solo.sh
#!/bin/sh
echo "\nLoading driver 'Epiphan DVI2USB Solo'...\n"
modprobe videodev
insmod /home/matpro/info_epiphan_com/vga2usb.ko
# chmod 755 /etc/init.d/driver_epiphan_dvi2usb_solo.sh
# update-rc.d-insserv driver_epiphan_dvi2usb_solo.sh defaults 81 19
# ./install.sh
[...]
matproca
(as new user through install script)
[...]
https://opencast.jira.com/svn/MH/branches/1.1.x
Ausgecheckt, Revision 10965.
[...]
(error)

So that error could be reproduced. Any idea?

Regards,

[email protected]

Am 15.09.2011 09:16, schrieb Ruediger Rolf:
Hi,

I would currently suggest not to use the tag/release 1.1.0 but to use
the source from the 1.1.x branch [1] (or 1.2.x). Some repositories for
the 1.1.0 that are down (like iCal4j) and have been replaced. And there
are quite a lot of bug fixes in the branch.

Rüdiger

[1] http://opencast.jira.com/svn/MH/branches/1.1.x/

Am 14.09.2011 18:19, schrieb matpro_fhkoeln:
Hello,

I tried it again with another user, but get another error.
Output is attached.

Regards,

[email protected]

-------- Original-Nachricht --------
Betreff: Re: [Opencast Matterhorn] Problem installing Capture Agent
(build error)
Datum: Wed, 14 Sep 2011 17:50:51 +0200
Von: matpro_fhkoeln<[email protected]>
Antwort an: Opencast Matterhorn<[email protected]>
An: Opencast Matterhorn<[email protected]>

Hello Rubén Pérez,

Regarding gstreamer: sorry, what do you mean exactly? As shown, these 4
plugins you mentioned are installed.
That's what I have already done with "install_dependencies.sh"!
Package "build-essential" is installed.

# aptitude search build-essential
i A build-essential

Some additional information:

I started with:

# svn co
http://opencast.jira.com/svn/MH/tags/1.1.0/docs/scripts/ubuntu_capture_agent/
debian_capture_agent
[...]
Ausgecheckt, Revision 10956.

I chose http://opencast.jira.com/svn/MH/tags/1.1.0 to download, because
the server here has 1.1.0 installed.

Errors:
[...]
Enter the desired username for this system that will run the capture
agent [matterhorn]: matpro
useradd: Benutzer »matpro« existiert bereits
usermod: Gruppe »admin« existiert nicht.
(user matpro exists, group admin doesn't exist)
[...]
Downloading Felix... Uncompressing... tar: Schreibfehler
(write error)
[...]
System information: 2.6.32-5-amd64 x86_64 GNU/Linux
Please select from the following driver options available for this
system for the Epiphan vga2usb device:
         26) vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
Selection (? for help): 26
Downloading driver vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz... Loading
driver... Error!
Failed to load Epiphan driver. Maybe your machine kernel or architecture
were not compatible?
(the same file works manually, as I discribed!)
[...]
mv: Aufruf von stat für "tmp.rules" nicht möglich: Datei oder
Verzeichnis nicht gefunden
(call of stat not possible: file/dir not found)
[...]
chown: Zugriff auf "/etc/udev/rules.d/matterhorn.rules" nicht möglich:
Datei oder Verzeichnis nicht gefunden
(access not possible: file/dir not found)
[...]

You said, you had installed many CAs with Debain Squeeze and none of
these problems? How? :)

Regards,

[email protected]

Am 14.09.2011 17:23, schrieb Rubén Pérez:
Hey,

Comments inline:

2011/9/14 matpro_fhkoeln<[email protected]
<mailto:[email protected]>>

     Hello Rubén Pérez,

     Wow, 9 minutes...

     # aptitude search gstreamer
     [...]
     i A bluez-gstreamer
     i   gstreamer0.10-alsa
     i   gstreamer0.10-ffmpeg
     i   gstreamer0.10-plugins-bad
     i   gstreamer0.10-plugins-base
     i   gstreamer0.10-plugins-good
     i   gstreamer0.10-plugins-ugly
     i A gstreamer0.10-x
     i A libgstreamer-plugins-base0.10-0
     i A libgstreamer0.10-0

     I think that should be all for gstreamer?


Nope, you need ALL the plugins (base, good, ugly and bad).


     My theory is, that OpenJDK 6 changes nothing, but I can't say that
     exactly at that point.


That was my understanding, too. But when the scripts were done, it was
believed that openjdk would behave badly in some situations (compared to
the official Sun packages), and that's why it is used by default.


     The scripts are trying to integrate these special Ubuntu mirrors,
     putting out an error, regardless of changing them to the Debian one's or
     not. I think that could be the main problem.


You are right. I had a version that constructed the "sources.list" file
correctly for Debian, but I never committed it (sorry about that). It
seems that the script will try to modify the sources.list file and
install the dependencies, no matter what you do. If you only have the
"install.sh" script in your run directory, please download the
"install_dependencies.sh" script into that directory and comment out (or
delete) the lines between "# Prompt the user to modify the default
repositories" and "# Define JAVA_HOME variable". That should do. If you
have already run the scripts sometimes, make sure that you restore the
"sources.list.backup" which should be present in /etc . Make sure it is
the original one, ince the scripts will save whichever "sources.list"
they find, and that may have already been generated by an previous run
of the scripts.


     Also, with Debian there is no group "admin", so I think the new user
     hasn't root rights.


Doesn't matter. The scripts do not use "sudo" at all, and you need to
run them as superuser. Then, the matterhorn user becomes the owner of
all the matterhorn-related files, so it should be good to go anyway.


     The Epiphan driver could not be loaded with the
     script, by the way.


You are shown the latest drivers which have the same kernel number. If
the version does not match exactly, try to find an earlier version,
specially if it has the name "debian" on its name (because it's
specially targetted for Debians). It is VERY rare that none of the
drivers work. Have you got the "build-essential" package installed?


     It's all on a clean system.
     Mh, that depends on the consideration of "easy", but it was not much
     effort. Why? :)


I wrote most of those scripts and their structure is aimed to make them
easy to customize. That's why I was asking :)

Best regards
Rubén


     Regards,

     [email protected]<mailto:[email protected]>

     Am 14.09.2011 16:38, schrieb Rubén Pérez:
     >  Hey,
     >
     >  Please check gstreamer is correctly installed. The logs seem to
     indicate
     >  the package cannot be found. BTW, I have installed several capture
     >  agents in Debian Squeeze, so you should not have so many
     problems... In
     >  Debian, the packages gstreamer-plugins-*-multiverse don't exist, but
     >  they are ignored and should not cause any trouble. In theory,
     automatic
     >  install of the packages WORKS in Debian. I never tested using openjdk,
     >  though...
     >
     >  However, the fact that you installed the packages manually should
     not be
     >  a problem. Can't you test the scripts *as they are* in a clean system?
     >  And please report whichever error you find.
     >
     >  Thanks
     >  Rubén
     >
     >  P.S: Did you find the scripts easy to customize? I mean, was it
     easy to
     >  find the variables you changed?
     >
     >  2011/9/14 matpro_fhkoeln<[email protected]
     <mailto:[email protected]>
     >  <mailto:[email protected]
     <mailto:[email protected]>>>
     >
     >      Hello Ladies and Gentlemen,
     >
     >      I'm trying to install the CA according to
     >
     http://opencast.jira.com/wiki/display/MHDOC/Install+Capture+Agent+V1.1,
     >      but I get a build error.
     >      I have to say, it's on Debian Squeeze with OpenJDK 6.
     >
     >      1st:
     >      "[...]reported as working by the community[...]Debian (5.0,
     Squeeze)",
     >      but I can't find any information about this.
     >      I installed the Epiphan DVI2USB Solo driver manually,
     commented out the
     >      Ubuntu mirrors and installed packages from PKG_LIST and
     BAD_PKG_LIST
     >      (except gstreamer0.10-plugins-ugly-multiverse) manually. I
     also changed
     >      JAVA_PATTERN and created a root user manually. So I got to the
     >      following.
     >
     >      2nd:
     >      An extract of Maven's messages is attached. Has somebody any
     hint for
     >      this problem?
     >
     >      3rd:
     >      I recognized that ical4j-1.0-rc1.jar is corrupt in standard
     >      repositories. At
     >
     
http://repository.sourcesense.com/nexus/content/groups/public/net/fortuna/ical4j/ical4j/1.0-rc1/
     >      is a regular file.
     >
     >      Thank you in advance,
     >      regards,
     >
     >      [email protected]<mailto:[email protected]>
     <mailto:[email protected]<mailto:[email protected]>>
     >
     >      _______________________________________________
     >      Matterhorn mailing list
     >      [email protected]
     <mailto:[email protected]>
     <mailto:[email protected]
     <mailto:[email protected]>>
     >      http://lists.opencastproject.org/mailman/listinfo/matterhorn
     >
     >
     >      To unsubscribe please email
     >      [email protected]
     <mailto:[email protected]>
     >      <mailto:[email protected]
     <mailto:[email protected]>>
     >      _______________________________________________
     >
     >
     >
     >
     >  _______________________________________________
     >  Matterhorn mailing list
     >  [email protected]<mailto:[email protected]>
     >  http://lists.opencastproject.org/mailman/listinfo/matterhorn
     >
     >
     >  To unsubscribe please email
     >  [email protected]
     <mailto:[email protected]>
     >  _______________________________________________

     _______________________________________________
     Matterhorn mailing list
     [email protected]<mailto:[email protected]>
     http://lists.opencastproject.org/mailman/listinfo/matterhorn


     To unsubscribe please email
     [email protected]
     <mailto:[email protected]>
     _______________________________________________




_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________


_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

--

________________________________________________
Rüdiger Rolf, M.A.
Universität Osnabrück - Zentrum virtUOS
Heger-Tor-Wall 12, 49069 Osnabrück
Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
E-Mail: [email protected]
Internet: www.virtuos.uni-osnabrueck.de


_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________


--

________________________________________________
Rüdiger Rolf, M.A.
Universität Osnabrück - Zentrum virtUOS
Heger-Tor-Wall 12, 49069 Osnabrück
Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
E-Mail: [email protected]
Internet: www.virtuos.uni-osnabrueck.de

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to