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]
_______________________________________________
[...]
Results :

Tests in error:
  
settingCodecToFAACButNotContainerResultsInCorrectCodecAndCorrectMuxer(org.opencastproject.capture.pipeline.bins.consumers.AudioFilesinkConsumerTest)

Tests run: 151, Failures: 0, Errors: 1, Skipped: 11

Exception in thread "TrueZIP ArchiveController Shutdown Hook" 
java.lang.AssertionError
        at 
de.schlichtherle.io.UpdatingArchiveController.umount0(UpdatingArchiveController.java:673)
        at 
de.schlichtherle.io.UpdatingArchiveController.umount(UpdatingArchiveController.java:594)
        at 
de.schlichtherle.io.ArchiveControllers.umount(ArchiveControllers.java:307)
        at 
de.schlichtherle.io.ArchiveControllers$ShutdownHook.run(ArchiveControllers.java:411)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
/home/matterhornCA/capture-agent/matterhorn-source/modules/matterhorn-capture-agent-impl/target/surefire-reports
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 35 seconds
[INFO] Finished at: Wed Sep 14 18:13:41 CEST 2011
[INFO] Final Memory: 127M/448M
[INFO] ------------------------------------------------------------------------

Error building the matterhorn code. What do you wish to do?:
        1) Download another source
        2) Retry build
        3) Exit
Selection:
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to