Trouble compiling aMSN-CVS (Make Error 77)

I was trying to install aMSN-CVS from the latest AUR package and I keep running into this error:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [Makefile] Error 77
==> ERROR: Build Failed. Aborting...
Following the trail, I checked out config.log to see what was going wrong and this is the part that seems to be causing the issue:
## Core tests. ##
configure:1988: checking for gcc
configure:2004: found /usr/bin/gcc
configure:2015: result: gcc
configure:2253: checking for C compiler version
configure:2260: gcc --version >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2263: $? = 0
configure:2270: gcc -v >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix$
Thread model: posix
gcc version 4.1.2
configure:2273: $? = 0
configure:2280: gcc -V >&5
gcc: '-V' option must have argument
configure:2283: $? = 1
configure:2306: checking for C compiler default output file name
configure:2333: gcc -march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/i$
gcc: svnversion: No such file or directory
gcc: >: No such file or directory
gcc: &&: No such file or directory
gcc: svnversion`"': No such file or directory
gcc: >: No such file or directory
gcc: &&: No such file or directory
gcc: svnversion`"': No such file or directory
configure:2336: $? = 1
configure:2374: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2381: error: C compiler cannot create executables
See `config.log' for more details.
Does anyone have any ideas what could be causing this?  I'm rather stumped.  I can post the whole config.log if that would help.
I've tried some basic tests with other things and everything else I've tried to compile works just fine, it only seems to be the aMSN package having the issues, yet it looks like it's a problem with the GCC config and not aMSN.
Any help would be greatly appreciated.

Same problem here, with a fresh installation. If it is really a configuration problem, could somebody help us to check what is the problem ?
The config.log extract posted by Locri is missing some information, probably due to the use of nano...
Here is an extract from mine :
configure:2263: $? = 0
configure:2270: gcc -v >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 20070423 (prerelease)
configure:2273: $? = 0
configure:2280: gcc -V >&5
gcc: '-V' option must have argument
configure:2283: $? = 1
configure:2306: checking for C compiler default output file name
configure:2333: gcc -march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='"amsn"' -DVERSION='"0.97b-svn`which svnversion > /dev/null && svnversion`"' -DLIBDIR='"/var/abs/local/yaourtbuild/amsn-svn
/src/amsn-build"' -fPIC conftest.c >&5
gcc: svnversion: No such file or directory
gcc: >: No such file or directory
gcc: &&: No such file or directory
gcc: svnversion`"': No such file or directory
configure:2336: $? = 1
configure:2374: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2381: error: C compiler cannot create executables
And the complete version, just in case :
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/usr
## Platform. ##
hostname = DeepThought
uname -m = i686
uname -r = 2.6.21-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri May 25 18:51:33 CEST 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /opt/bin
PATH: /opt/java/bin
PATH: /opt/java/jre/bin
PATH: /opt/mozilla/bin
## Core tests. ##
configure:1988: checking for gcc
configure:2004: found /usr/bin/gcc
configure:2015: result: gcc
configure:2253: checking for C compiler version
configure:2260: gcc --version >&5
gcc (GCC) 4.1.2 20070423 (prerelease)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2263: $? = 0
configure:2270: gcc -v >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 20070423 (prerelease)
configure:2273: $? = 0
configure:2280: gcc -V >&5
gcc: '-V' option must have argument
configure:2283: $? = 1
configure:2306: checking for C compiler default output file name
configure:2333: gcc -march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='"amsn"' -DVERSION='"0.97b-svn`which svnversion > /dev/null && svnversion`"' -DLIBDIR='"/var/abs/local/yaourtbuild/amsn-svn/src/amsn-build"' -fPIC conftest.c >&5
gcc: svnversion: No such file or directory
gcc: >: No such file or directory
gcc: &&: No such file or directory
gcc: svnversion`"': No such file or directory
configure:2336: $? = 1
configure:2374: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2381: error: C compiler cannot create executables
See `config.log' for more details.
## Cache variables. ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='\''"amsn"'\'' -DVERSION='\''"0.97b-svn`which svnversion > /dev/null && svnversion`"'\'' -DLIBDIR='\''"/var/abs/local/yaourtbuild/amsn-svn/src/amsn-build"'\'' -fPIC'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='\''"amsn"'\'' -DVERSION='\''"0.97b-svn`which svnversion > /dev/null && svnversion`"'\'' -DLIBDIR='\''"/var/abs/local/yaourtbuild/amsn-svn/src/amsn-build"'\'' -fPIC'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## Output variables. ##
APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='no'
APPVERSION='0.97b'
BUILD_DIR=''
CC='gcc'
CFLAGS='-march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='\''"amsn"'\'' -DVERSION='\''"0.97b-svn`which svnversion > /dev/null && svnversion`"'\'' -DLIBDIR='\''"/var/abs/local/yaourtbuild/amsn-svn/src/amsn-build"'\'' -fPIC'
CONFIGURE_ARGS='/usr/share/config.site /usr/etc/config.site'
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS='-march=i686 -O2 -pipe -O2 -w -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include -I. -I./utils/linux/capture -I./utils/linux/capture/libng -I./utils/linux/capture/structs -I./utils/webcamsn/src -I./utils/tcl_siren/src -I./utils/TkCximage/src -I./utils/TkCximage/src/CxImage -DPACKAGE='\''"amsn"'\'' -DVERSION='\''"0.97b-svn`which svnversion > /dev/null && svnversion`"'\'' -DLIBDIR='\''"/var/abs/local/yaourtbuild/amsn-svn/src/amsn-build"'\'' -fPIC'
CXX_LIB=''
DEBUG='no'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FOUND_OS='linux'
FOUND_X11=''
GREP=''
LDFLAGS=''
LDLIBS=''
LIBDIR=''
LIBOBJS=''
LIBPTHREAD=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PWC='no'
SHELL='/bin/sh'
STATIC='no'
TCLSH='/usr/bin/tclsh'
TCL_INC_SPEC=''
TCL_LIB_DIR=''
TCL_STUB_LIB_SPEC=''
TK_INC_SPEC=''
TK_LIB=''
TK_LIBS=''
TK_LIB_DIR=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TOP_DIR=''
USE_MMX=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_prefix_program=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## confdefs.h. ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 77
Last edited by Skippy le Grand Gourou (2007-06-12 22:31:48)

Similar Messages

  • Error when compile bmp-cvs

    there is error message, I don't know what's wrong, please anybody could tell me:
    [size=18]*info* running autoreconf
    m4/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
      run info '(automake)Extending aclocal'
      or see http://sources.redhat.com/automake/auto … %20aclocal
    /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
    /usr/share/aclocal/rep.m4:7: warning: underquoted definition of AM_PATH_REP
    /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
    /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
    /usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
    /usr/share/aclocal/libraw1394.m4:6: warning: underquoted definition of AC_LIB_RAW1394_FLAGS
    /usr/share/aclocal/libraw1394.m4:19: warning: underquoted definition of AC_LIB_RAW1394_HEADERS
    /usr/share/aclocal/libraw1394.m4:41: warning: underquoted definition of AC_LIB_RAW1394_LIBVERSION
    /usr/share/aclocal/libraw1394.m4:75: warning: underquoted definition of AC_LIB_RAW1394_RUNTEST
    /usr/share/aclocal/libraw1394.m4:138: warning: underquoted definition of AC_LIB_RAW1394
    /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
    /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
    /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
    /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
    /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
    /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
    /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
    /usr/share/aclocal/beep.m4:17: warning: underquoted definition of BEEP_TEST_VERSION
    /usr/share/aclocal/beep.m4:62: warning: underquoted definition of AM_PATH_BEEP
    /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
    and my PKGBUILD is:
    pkgname=bmp-cvs
    provides=bmp
    pkgver=20040606
    pkgrel=1
    pkgdesc="BMP is a multimedia player that currently uses a skinned user interface based on Winamp 2.x skins. "
    url="http://beepmp.sourceforge.net/"
    depends=('gtk2')
    makedepends=('cvs')
    cvsroot=":pserver:[email protected]:/cvsroot/beepmp"
    cvsmod="bmp"
    build() {
      cd $startdir/src
      msg "Logging in to anonymous CVS... Please press 'enter'."
      cvs -Q -d $cvsroot login
      msg "Fetching sources from CVS..."
      cvs -Q -z3 -d $cvsroot co -D $pkgver $cvsmod
      cd $cvsmod
      ./autogen.sh --prefix=/usr
      make || return 1
      make DESTDIR=$startdir/pkg install || return 1

    I saw no errors only warnings in your quote, so I tried your PKGBUILD myself. After a couple more of those underquoted definition warnings I got:
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed. Aborting...
    The problem is that no Makefile is created, this is supposed to be done with ./configure which is a script created by ./autogen.sh. Moreover autogen.sh doesn't take any fancy options like configure does - in short you kind of confused autogen.sh with configure.
    Here's the modified PKGBUILD that I successfully compiled bmp-cvs with:
    pkgname=bmp-cvs
    provides=bmp
    pkgver=20040606
    pkgrel=1
    pkgdesc="BMP is a multimedia player that currently uses a skinned user interface based on Winamp 2.x skins."
    url="http://beepmp.sourceforge.net/"
    depends=('gtk2')
    makedepends=('cvs')
    cvsroot=":pserver:[email protected]:/cvsroot/beepmp"
    cvsmod="bmp"
    build() {
    cd $startdir/src
    msg "Logging in to anonymous CVS... Please press 'enter'."
    cvs -Q -d $cvsroot login
    msg "Fetching sources from CVS..."
    cvs -Q -z3 -d $cvsroot co -D $pkgver $cvsmod
    cd $cvsmod
    ./autogen.sh
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1

  • Compiling COBOLs in PSOVM - psrun.mak error - "cob64: can not execute Id".

    Hi All,
    After installing PeopleSoft OVM in our server, I need to recompile the COBOL. I believe this is not included in the OVM. These are the steps I did.
    1. Installed Microfocus Server Express 5.0 WrapPack 4
    2. Follow the steps in Compiling Cobol in Unix mentioned is the PeopleTools_8.50_Installation_Oracle guide.
    I was able to successfully compille the COBOL files by running ./pscbl.mak. The next step is Linking COBOL Components on UNIX by running ./psrun.mak and here I got the error:
    +./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...+
    +./psrun.mak - Error(s) encountered creating PSRUN!+
    +./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages+
    +[root@pshcm91ab setup]# more /opt/oracle/psft/appbatch/tools/setup/psrun.err+
    cob64: can not execute ld
    +[root@pshcm91ab setup]#+
    I followed all the steps in setting environment variable mention in the "Compiling Cobols in Unix" in PeopleTools_8.50_Installation_Oracle.
    Is there any specific documentation of compiling COBOLs in PeopleSoft OVM?
    Can anyone help me with this?
    Thanks in advance.
    -Chris
    Edited by: user9977167 on 4/02/2010 15:52
    Edited by: user9977167 on 5/02/2010 06:18

    Hi,
    Ok, I reproduce your case :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    cob64: can not execute ld
    [psadm1@psovmab setup]$It looks like a lot of rpm packages required by ld are missing on Peoplesoft OVM App/Batch server compared to the Peoplesoft OVM database server for instance.
    I added a lot of packages because of the dependendcies as below :
    From OEL5.2 Disk 1
    ==================
    -rw-r--r-- 1 root root  899210 Feb  7 10:10 kernel-headers-2.6.18-92.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3073639 Feb  7 10:25 binutils-2.17.50.0.6-6.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3114462 Feb  7 10:29 cpp-4.1.2-42.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh kernel-headers-2.6.18-92.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:kernel-headers         ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh binutils-2.17.50.0.6-6.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:binutils               ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh cpp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:cpp                    ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 2
    ==================
    -rw-r--r-- 1 root root  614718 Feb  7 10:05 glibc-headers-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2535024 Feb  7 10:05 glibc-devel-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2105297 Feb  7 10:05 glibc-devel-2.5-24.i386.rpm
    -rw-r--r-- 1 root root 5544086 Feb  7 10:20 gcc-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root 3987493 Feb  7 10:20 gcc-c++-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    83518 Feb  7 10:31 libgomp-4.1.2-42.el5.i386.rpm
    -rw-r--r-- 1 root root    84654 Feb  7 10:41 libgomp-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root  2980440 Feb  7 10:43 libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    20483 Feb  7 11:46 elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root    58852 Feb  7 11:46 elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root   102193 Feb  7 11:49 elfutils-libs-0.125-3.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh glibc-headers-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.i386.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.i386.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh gcc-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh  libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libstdc++-devel        ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh gcc-c++-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc-c++                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libs-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libs          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libelf-devel-s########################################### [ 50%]
       2:elfutils-libelf-devel  ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 3
    ==================
    -rw-r--r-- 1 root root  4588773 Feb  7 10:22 compat-gcc-34-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root 13542100 Feb  7 10:23 compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root   232846 Feb  7 12:21 compat-libstdc++-33-3.2.3-61.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34-c++      ########################################### [100%]
    [root@psovmab rpm]#The initial error is gone, but got a new one when linking :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    ld: cannot find -lgcc
    [psadm1@psovmab setup]$I looked around for this error, found a Metalink note, but the suggestion does not apply here, the path directory metioned in $COBDIR/etc/cobopt already exists :
    [psadm1@psovmab setup]$ more $COBDIR/etc/cobopt
    -C nolist
    set GCC_LIB=/usr/lib/gcc/x86_64-redhat-linux/3.4.6
    [psadm1@psovmab setup]$ ls /usr/lib/gcc/x86_64-redhat-linux/3.4.6
    32          crtbeginS.o  crtend.o   include   libgcc_eh.a  libgcc_s_32.so  libstdc++.a   libstdc++_nonshared.a  libsupc++.a
    crtbegin.o  crtbeginT.o  crtendS.o  libgcc.a  libgcc_s.so  libgcov.a       libstdc++.so  libstdc++_shared.so    specs
    [psadm1@psovmab setup]$So far, no luck, I'll still try, but you may have more luck to install a separate server with all the packages install from the scratch and run a process scheduler from there.
    Nicolas.

  • Make error when compiling gspca

    Hi, ive downloaded gspca source and modify it in order to get my webcam working, but when i type 'make all' i get:
    [jk@arch4linux gspca-7876678e39df]$ sudo make all
    make -C /home/jk/gspca-7876678e39df/v4l all
    make[1]: se ingresa al directorio `/home/jk/gspca-7876678e39df/v4l'
    creating symbolic links...
    make -C firmware prep
    make[2]: Entering directory `/home/jk/gspca-7876678e39df/v4l/firmware'
    make[2]: Leaving directory `/home/jk/gspca-7876678e39df/v4l/firmware'
    make -C firmware
    make[2]: Entering directory `/home/jk/gspca-7876678e39df/v4l/firmware'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/jk/gspca-7876678e39df/v4l/firmware'
    Kernel build directory is /lib/modules/2.6.30-ARCH/build
    make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=/home/jk/gspca-7876678e39df/v4l modules
    make[2]: Entering directory `/usr/src/linux-2.6.30-ARCH'
    CC [M] /home/jk/gspca-7876678e39df/v4l/firedtv-1394.o
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:37: warning: 'struct hpsb_iso' declared inside parameter list
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:53: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:54: error: implicit declaration of function 'hpsb_iso_n_ready'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:61: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: implicit declaration of function 'dma_region_i'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: expected expression before 'unsigned'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:63: warning: assignment makes pointer from integer without a cast
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:64: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:82: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_of':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: warning: type defaults to 'int' in declaration of '__mptr'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: warning: initialization from incompatible pointer type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: error: invalid use of undefined type 'struct unit_directory'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_lock':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: implicit declaration of function 'hpsb_node_lock'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function)
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: (Each undeclared identifier is reported only once
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: for each function it appears in.)
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in this function)
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:93: error: expected ')' before 'arg'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_read':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:98: error: implicit declaration of function 'hpsb_node_read'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_write':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:103: error: implicit declaration of function 'hpsb_node_write'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'start_iso':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:114: error: implicit declaration of function 'hpsb_iso_recv_init'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:114: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:116: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:118: warning: assignment makes pointer from integer without a cast
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:125: error: implicit declaration of function 'hpsb_iso_recv_start'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:128: error: implicit declaration of function 'hpsb_iso_shutdown'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'stop_iso':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:139: error: implicit declaration of function 'hpsb_iso_stop'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:154: warning: 'struct hpsb_host' declared inside parameter list
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fcp_request':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:167: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:168: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_probe':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: warning: type defaults to 'int' in declaration of '__mptr'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: warning: initialization from incompatible pointer type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: error: invalid use of undefined type 'struct unit_directory'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:187: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in this function)
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: error: implicit declaration of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: warning: assignment makes pointer from integer without a cast
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:243: warning: 'struct unit_directory' declared inside parameter list
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_update':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:245: error: dereferencing pointer to incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer but incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: error: unknown field 'name' specified in initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: warning: excess elements in struct initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: warning: (near initialization for 'fdtv_driver')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: error: unknown field 'update' specified in initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: warning: excess elements in struct initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: warning: (near initialization for 'fdtv_driver')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: unknown field 'driver' specified in initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: extra brace group at end of initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: (near initialization for 'fdtv_driver')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:259: warning: excess elements in struct initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:259: warning: (near initialization for 'fdtv_driver')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer but incomplete type
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: error: unknown field 'name' specified in initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: warning: excess elements in struct initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: warning: (near initialization for 'fdtv_highlevel')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: error: unknown field 'fcp_request' specified in initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: warning: excess elements in struct initializer
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: warning: (near initialization for 'fdtv_highlevel')
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:271: error: implicit declaration of function 'hpsb_register_highlevel'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:272: error: invalid use of undefined type 'struct hpsb_protocol_driver'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:273: error: implicit declaration of function 'hpsb_register_protocol'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:276: error: implicit declaration of function 'hpsb_unregister_highlevel'
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
    /home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'
    make[3]: *** [/home/jk/gspca-7876678e39df/v4l/firedtv-1394.o] Error 1
    make[2]: *** [_module_/home/jk/gspca-7876678e39df/v4l] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
    make[1]: *** [default] Error 2
    make[1]: se sale del directorio `/home/jk/gspca-7876678e39df/v4l'
    make: *** [all] Error 2
    [jk@arch4linux gspca-7876678e39df]$

    Mr.Elendig wrote:1. you don't need to be root to run make
    I used root because the compiler gave me an error of permission denied.
    Mr.Elendig wrote:2. LANG=C make 3. /usr/src/linux-2.6.30-ARCH does not contain the whole source, grab it from kernel.org
    can you explain this a little more detailed?

  • Trouble Compiling my Email-client

    Hi
    I have written this email -client, but have some trouble compiling it !
    Then I try to compile it the following errors:
    MailClient.java:350: <identifier> expected
    public syncronize void mails(String t){
    ^
    MailClient.java:727: ';' expected
    private class myWindowListener extends WindowAdapter{
    ^
    MailClient.java:747: '}' expected
    3 errors.
    What do I need to change to correct these errors ?
    I hope that there is somebody out there who can help me get my program to work.
    Thanks in advance.
    Sincrely Yours
    Fred
    import java.io.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class MailClient extends JFrame implements ActionListener{ 
    private Sendman mySendman;
    private Letterman myLetterman;
    public Writer myWrite;
    public Reader myReader;
    public Composer myComposer;
    private Setup mySetup;
    public Addressbook myAdressbook;
    private FixTask myFixTask;
    private Filter myFilter;
    private Info myInfo;
    public Vector mailIndexVector = new Vector();
    public Vector filterIndexVector = new Vector();
    public Vector folderVector = new Vector();
    private JPanel tArea, trae, icon, tField;
    private JTextArea ta;
    private JScrollPane view, treeScroll;
    private JTree tree;
    public JTextField tf;
    private JSplitPane split;
    private Dimension Size;
    private MailClient myMailClient;
    private String mailBody, subject, from;
    public boolean fromOutbox = false;
    public boolean viewSource = false;
    public static void main (String[] args) {
         MailClient myMailClient = new MailClient();
    public MailClient() {
         super("Mail-Client");
         ImageIcon linux = new ImageIcon("linux.gif");
         this.setIconImage(linux.getImage());
         icon = new JPanel();
         icon.setLayout(new FlowLayout(FlowLayout.LEFT));
         ImageIcon neu = new ImageIcon("getmail.gif");
         JButton neueMails = new JButton(neu);
         newMails.setActionCommand("Getting new Mails");
         newMails.addActionListener(this);
         newMails.setBorderPainted(false);
         newMails.setToolTipText("Getting new Mails");
         ImageIcon cr = new ImageIcon("creator.gif");
         JButton creator = new JButton(cr);
         creator.setActionCommand("Creator open");
         creator.addActionListener(this);
         creator.setBorderPainted(false);
         creator.setToolTipText("Creator open");
         JButton rep = new JButton(new ImageIcon("reply.gif"));
         rep.setActionCommand("rep");
         rep.addActionListener(this);
         rep.setBorderPainted(false);
         rep.setToolTipText("Reply");
         JButton fwd = new JButton(new ImageIcon("fwd.gif"));
         fwd.setActionCommand("fwd");
         fwd.addActionListener(this);
         fwd.setBorderPainted(false);
         fwd.setToolTipText("Forward");
         JButton ein = new JButton(new ImageIcon("settings.gif"));
         ein.setActionCommand("settings open");
         ein.addActionListener(this);
         ein.setBorderPainted(false);
    ein.setToolTipText("Setting open");
    JButton adr = new JButton(new ImageIcon("adressbook.gif"));
    adr.setActionCommand("adr");
    adr.addActionListener(this);
    adr.setBorderPainted(false);
    adr.setToolTipText("Addressbook");
    JButton lo = new JButton(new ImageIcon("trash.gif"));
    lo.setActionCommand("trash");
    lo.addActionListener(this);
    lo.setBorderPainted(false);
    lo.setToolTipText("trash");
    JButton in = new JButton(new ImageIcon("info.gif"));
    in.setActionCommand("Information");
    in.addActionListener(this);
    in.setBorderPainted(false);
    in.setToolTipText("Information");
    icon.add(newMails);
    icon.add(creator);
    icon.add(rep);
    icon.add(fwd);
    icon.add(set);
    icon.add(adr);
    icon.add(lo);
    icon.add(in);
    Vector h1 = myLeser.lese("Summary.4on");
    for(int i=0; i<h1.size(); i+=7){
    String id = h1.elementAt(i).toString();
    String fo = h1.elementAt(i+1).toString();
    String su = h1.elementAt(i+2).toString();
    String fr = h1.elementAt(i+3).toString();
    String to = h1.elementAt(i+4).toString();
    String da = h1.elementAt(i+5).toString();
    String re = h1.elementAt(i+6).toString();
    MailIndex index = new MailIndex(id, fo, su, fr, to, da, re);
    mailIndexVector.addElement(index);
    Vector h2 = myReader.read("Filter.4on");
    for(int j=0; j<h2.size(); j+=3){
    String fo = h2.elementAt(j).toString();
    String from = h2.elementAt(j+1).toString();
    String te = h2.elementAt(j+2).toString();
    FilterIndex index = new FilterIndex(fo, from, te);
    filterIndexVector.addElement(index);
    folderVector = myReader.read("Folder.4on");
    DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
    top = new DefaultMutableTreeNode("mails");
    top.add(inbox = new DefaultMutableTreeNode("Inbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Inbox"))
         inbox.add(new DefaultMutableTreeNode(m));
    top.add(outbox = new DefaultMutableTreeNode("Outbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Outbox")){
         outbox.add(new DefaultMutableTreeNode(m));
    top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Sentbox"))
         sentbox.add(new DefaultMutableTreeNode(m));
    for(int j=0; j<folderVector.size(); j++){
    top.add(trash =
         new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
    for(int i=0; i<mailIndexVector.size(); i++){
         MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
         if (m.folder.equals(folderVector.elementAt(j).toString()))
         trash.add(new DefaultMutableTreeNode(m));
    tree = new JTree(top);
    tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
    tree.addTreeSelectionListener(new myTreeSelectionListener());
    treeScroll = new JScrollPane(tree);
    treeScroll.setFont(new Font("Monospaced",Font.PLAIN,6));
    baum.add("Center", treeScroll);
    MainMenu menuBar = new MainMenu(this, this);
    setJMenuBar(menuBar);
    setVisible(true);
    public void mailsFetcher() {
    myLetterman = new Letterman(this, mySetup);
    myLetterman.start();
    public void treeNewSign(){
    trae.remove(treeScroll);     
    DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
    top = new DefaultMutableTreeNode("mails");
    top.add(inbox = new DefaultMutableTreeNode("Inbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Inbox"))
         inbox.add(new DefaultMutableTreeNode(m));
    top.add(outbox = new DefaultMutableTreeNode("Outbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Outbox"))
         outbox.add(new DefaultMutableTreeNode(m));
    top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Sentbox"))
         sentbox.add(new DefaultMutableTreeNode(m));
    for(int j=0; j<folderVector.size(); j++){
    top.add(trash =
         new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
    for(int i=0; i<mailIndexVector.size(); i++){
         MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
         if (m.folder.equals(folderVector.elementAt(j).toString()))
         trash.add(new DefaultMutableTreeNode(m));
    tree = new JTree(top);
    tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
    tree.addTreeSelectionListener(new myTreeSelectionListener());
    treeScroll = new JScrollPane(tree);
    trae.add("Center", treeScroll);
    trae.repaint();
    setVisible(true);
    public void menuNewSign(){
    setJMenuBar(new MainMenu(this, this));
    setVisible(true);
    public String fromFilter (String t){
    String myFrom = "";
    int start, end;
    int a = t.indexOf("From:");
    if (a != -1){
    start = a + 6;
    ende = t.indexOf("\n",start);
    myFrom = t.substring(start,end);
    return myFrom;
    public String toFilter (String t){
    String myTo = "";
    int start, e1, e2, end;
    int a = t.indexOf("To:");
    if (a != -1){
    start = a + 4;
    end = t.indexOf("\n",start);
    myTo = t.substring(start,end);
    e1 = end + 1;
    if(t.substring(e1,e1+1).equals(" ")){
         while(t.substring(e1,e1+1).equals(" ")){
         while(t.substring(e1,e1+1).equals(" "))
         e1++;
         e2 = t.indexOf("\n",e1);
         myTo += " " + t.substring(e1,e2);
         e1 = e2 + 1;
    return myTo;
    public String dateFilter (String t){
    String myDate = "";
    int start, end;
    int a = t.indexOf("Date:");
    if (a != -1){
    start = a + 6;
    end = t.indexOf("\n",start);
    myDate = t.substring(start,end);
    return myDate;
    public String subjectFilter (String t){
    String mySubject = "";
    int start, end;
    int a = t.indexOf("Subject:");
    if (a != -1){
    start = a + 9;
    end = t.indexOf("\n",start);
    mySubject = t.substring(start,end);
    return mySubject;
    public String mailFilter (String t){ 
    String myMail = "";
    int start = 0, end = t.length();
    start = t.indexOf("\n\n") + 2;
    if (start != 1){
    int a = t.indexOf("\n\n" ,start);
    if (a != -1){
         if (t.indexOf(".",a+2) == a+2)
         if (t.indexOf("\n",a+3) == a+3)
         start = a;
    myMail = t.substring(start,end);
    return myMail;
    public void mailsRemark(String file){
    String mail = "", t = "";
    Vector mailVector = myReader.read(file);
    for (int i=0; i<mailVector.size(); i++)
    t += (String)mailVector.elementAt(i) + "\n";
    from = fromFilter(t);
    subject = subjectFilter(t);
    mailBody = mailFilter(t);
    mail += "Subject: " + subject + "\n";
    mail += "Date: " + dateFilter(t) + "\n";
    mail += "From: " + from + "\n";
    mail += "To: " + toFilter(t) + "\n";
    mail += "\n" + mailBody;
    if(viewSource == true)
    ta.setText(t);
    else
    ta.setText(mail);
    public syncronize void mails(String t){
    Status myStatus = new Status(this,t);
    myStatus.start();
    public void delete(){
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    if(node.isLeaf()){
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailIndexVector.removeElement(index);
         int count = 0;
         for(int j=0; j<mailIndexVector.size(); j++){
         MailIndex index1 = (MailIndex)mailIndexVector.elementAt(j);
         String id = index1.mailId;
         if(id.equals(index.mailId))
         count++;
         if(count == 0){
         File home = new File(".");
         String mailsRemark = "." + home.separator + "data";
         File datei = new File(mailsRemark, index.mailId);
         datei.delete();
         treeNewSign();
         menuNewSign();
         else{
         String t = (String)nodeInfo;
         boolean toDelete = false;
         for (int i=0; i<folderVector.size(); i++){
         if(folderVector.elementAt(i).equals(t)){
         folderVector.removeElement(t);
         konnteLoeschen = true;
         if(toDelete == false){
         message("This folder can not be deleted!");
         treeNewSign();
    else
         message("Folder is not Empty! Please delete Your mails.");
    else
    message("No Mails where selected to be deleted!");
    public void forward(){
    if(from != null){
    creatorOeffnen();
    myCreator.tfSb.setText("Fwd to: " + subject);
    myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                   "\n\n>\n>\n\n");
    public void reply(){
    if(from != null){
    creatorOeffnen();
    myCreator.tfTo.setText(from);
    myCreator.tfSb.setText("Reply to: " + subject);
    myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                   "\n\n>\n>\n\n");
    public void end(){
    String h = "";
    for (int i=0; i<mailIndexVector.size(); i++){
    MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
    h += index.mailId + "\n";
    h += index.folder + "\n";
    h += index.subject + "\n";
    h += index.from + "\n";
    h += index.to + "\n";
    h += index.date + "\n";
    h += index.read + "\n";
    myWriter.writer(h,"Summary.4on");
    String w = "";
    for (int l=0; l<filterIndexVector.size(); l++){
    FilterIndex index = (FilterIndex)filterIndexVector.elementAt(l);
    w += index.folder + "\n";
    w += index.from + "\n";
    w += index.text + "\n";
    myWriter.write(w,"Filter.4on");
    String k = "";
    for(int j=0; j<folderVector.size(); j++)
    k += folderVector.elementAt(j).toString() + "\n";
    myWriter.writer(k,"Folder.4on");
    String t = "";
    for (int l=0; l<myAddressBook.addressIndexVector.size(); l++){
    AddressIndex aindex =
         (AddressIndex)myAdressBook.adressIndexVector.elementAt(l);
    t += aindex.alias + "\n";
    t += aindex.email + "\n";
    myWriter.write(t,"Address.4on");
    setVisible(false);
    dispose();
    System.exit(0);
    public void filterOpen(){
    boolean test = false;
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof String){
         myFilter.folder = (String)nodeInfo;
         for(int i=0; i<filterIndexVector.size(); i++){
         FilterIndex h = (FilterIndex)filterIndexVector.elementAt(i);
         if(h.folder.equals(nodeInfo)){
         myFilter.index = h;
         test = true;
         if(h.from.equals("")){
         myFilter.box1 = false;
         myFilter.fTf.setText("");
         myFilter.fBox.setSelected(false);
         myFilter.fTf.setEditable(false);
         else{
         myFilter.box1 = true;
         myFilter.fTf.setText(h.from);
         myFilter.fBox.setSelected(true);
         myFilter.fTf.setEditable(true);
         if(h.text.equals("")){
         myFilter.box2 = false;
         myFilter.tTf.setText("");
         myFilter.tBox.setSelected(false);
         myFilter.tTf.setEditable(false);
         else{
         myFilter.box2 = true;
         myFilter.tTf.setText(h.text);
         myFilter.tBox.setSelected(true);
         myFilter.tTf.setEditable(true);
         break;
    myFilter.setVisible(true);
    myFilter.fBox.requestFocus();
    else
    meldung("No selection");
    public void sendOutbox(){
    fromOutbox = true;
    int i;
    Block1:
    for(i=0; i<mailIndexVector.size(); i++){
    MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
    if(index.folder.equals("Outbox")){
         Vector mailVector = myReader.read(index.mailId);
    Block2:
         for(int j=0; j<mailVector.size(); j++){
         String m = (String)mailVector.elementAt(j);
         if(m.indexOf("Subject:") != -1){
         for(int k=0; k<=j+1; k++){
         mailVector.removeElementAt(0);
         break Block2;
         Vector toVector = new Vector();
         int tEnd = 1;
         String line = "";
         String t = index.to;
         while (tEnd != -1){
         tEnd = t.indexOf(", ");
         if (tEnd == -1)
         line = t;
         else
         line = t.substring(0,tEnd);
         t = t.substring(tEnd + 1);
         toVector.addElement(line);
         File home = new File(".");
         String mailsVerzeichnis = "." + home.separator + "data";
         File datei = new File(mailsRemark, index.mailId);
         datei.delete();
         mySendman = new Sendman(mailVector, toVector, index.subject,
         ailsAnzeig               mySetup, this);
         mySendman.start();
         mailIndexVector.removeElement(index);
         break Block1;
    if(i == mailIndexVector.size())
    fromOutbox = false;
    treeNewSign();
    public void partion(String cmd){
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         index.folder = cmd.substring(13).toString();
         treeNewSign();
    else
    meldung("No mails to partion!");
    public void SetupOpen(){
    if (mySetup.savePassword == false)
    mySetup.pTf.setText("");
    mySetup.setVisible(true);
    mySetup.aTf.requestFocus();
    public void addressbookOpen(){
    myAddressBook.setVisible(true);
    myAdressBook.tree.requestFocus();
    public void creatorOpen(){
    myCreator.setVisible(true);
    myCreator.tfTo.requestFocus();
    public void actionPerformed(ActionEvent event){
    Object obj = event.getSource();
    if (obj instanceof JMenuItem){
    String cmd = event.getActionCommand();
    if (cmd.equals("New fetched")){
         mailsfetch();
    else if (cmd.equals("Written new mails")) {
         creatorOpen();
    else if (cmd.equals("Reply")) {
         reply();
    else if (cmd.equals("Forward")) {
         forward();
    else if (cmd.equals("Outbox")) {
         sendOutbox();
    else if (cmd.equals("Delete")) {
         delete();
    else if ((cmd.length() >13) &&
         (cmd.substring(0,13).equals("Sorting-"))){
         sorting(cmd);
    else if (cmd.equals("Using Addressbook")){
         addressbookOpen();
    else if (cmd.equals("Filter working")){
         filterOpen();
    else if (cmd.equals("New Order")){
         myFixTask.tf.setText("");
         myFixTask.setVisible(true);
         myFixTask.tf.requestFocus();
    else if (cmd.equals("delete")){
         delete();
    else if ((cmd.length() >7) &&
         (cmd.substring(0,7).equals("nobody"))){
         if(viewSource == false){
         viewSource = true;
         menuNewSign();
         if(tree.getLastSelectedPathComponent() != null){
         DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsRemark(index.mailId);
         else{
         viewSource = false;
         menuNeuZeichnen();
         if(tree.getLastSelectedPathComponent() != null){
         DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsRemark(index.mailId);
    else if (cmd.equals("Setup")){
         SetupOpen();
    else if (obj instanceof JButton){
    String cmd = event.getActionCommand();
    if (cmd.equals("aga")){
         mailsHolen();
    else if (cmd.equals("Creator Open")){
         creatorOpem();
    else if(cmd.equals("rep")){
         reply();
    else if(cmd.equals("fwd")){
         forward();
    else if(cmd.equals("Setup Open")){
    SetupOpen();
    else if(cmd.equals("adr")){
         addressbookOpen();
    else if(cmd.equals("delete")){
         delete();
    else if(cmd.equals("Information")){
         myInfo.setVisible(true);
         myInfo.b.requestFocus();
    private class myWindowListener extends WindowAdapter{
    public void windowClosing(WindowEvent event){
    end();
    private class myTreeSelectionListener implements TreeSelectionListener{
    public void valueChanged(TreeSelectionEvent e) {
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)(e.getPath().getLastPathComponent());
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsAnzeigen(index.mailId);
         index.read = "Yes";

    Some suggestions:
    1. as the others stated- you should really post specific questions rather than 1 huge ugly class!
    2. use code tags
    3. get a decent IDE- it would take about 1 minute to then see where the error is-
    4. the rrors were just misspelled 'synchronized' and missing argument ','
    5. Try not to make such huge classes!!- Try to follow certain coding "patterns"- like MVC- and not stick everything in 1 class- separate the functionality- it makes coding much easier!
    here is fixed code (at least gets rid of those last errors):
    import java.io.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class MailClient extends JFrame implements ActionListener{
      private Sendman mySendman;
      private Letterman myLetterman;
      public Writer myWrite;
      public Reader myReader;
      public Composer myComposer;
      private Setup mySetup;
      public Addressbook myAdressbook;
      private FixTask myFixTask;
      private Filter myFilter;
      private Info myInfo;
      public Vector mailIndexVector = new Vector();
      public Vector filterIndexVector = new Vector();
      public Vector folderVector = new Vector();
      private JPanel tArea, trae, icon, tField;
      private JTextArea ta;
      private JScrollPane view, treeScroll;
      private JTree tree;
      public JTextField tf;
      private JSplitPane split;
      private Dimension Size;
      private MailClient myMailClient;
      private String mailBody, subject, from;
      public boolean fromOutbox = false;
      public boolean viewSource = false;
      public static void main (String[] args) {
        MailClient myMailClient = new MailClient();
      public MailClient() {
        super("Mail-Client");
        ImageIcon linux = new ImageIcon("linux.gif");
        this.setIconImage(linux.getImage());
        icon = new JPanel();
        icon.setLayout(new FlowLayout(FlowLayout.LEFT));
        ImageIcon neu = new ImageIcon("getmail.gif");
        JButton neueMails = new JButton(neu);
        newMails.setActionCommand("Getting new Mails");
        newMails.addActionListener(this);
        newMails.setBorderPainted(false);
        newMails.setToolTipText("Getting new Mails");
        ImageIcon cr = new ImageIcon("creator.gif");
        JButton creator = new JButton(cr);
        creator.setActionCommand("Creator open");
        creator.addActionListener(this);
        creator.setBorderPainted(false);
        creator.setToolTipText("Creator open");
        JButton rep = new JButton(new ImageIcon("reply.gif"));
        rep.setActionCommand("rep");
        rep.addActionListener(this);
        rep.setBorderPainted(false);
        rep.setToolTipText("Reply");
        JButton fwd = new JButton(new ImageIcon("fwd.gif"));
        fwd.setActionCommand("fwd");
        fwd.addActionListener(this);
        fwd.setBorderPainted(false);
        fwd.setToolTipText("Forward");
        JButton ein = new JButton(new ImageIcon("settings.gif"));
        ein.setActionCommand("settings open");
        ein.addActionListener(this);
        ein.setBorderPainted(false);
        ein.setToolTipText("Setting open");
        JButton adr = new JButton(new ImageIcon("adressbook.gif"));
        adr.setActionCommand("adr");
        adr.addActionListener(this);
        adr.setBorderPainted(false);
        adr.setToolTipText("Addressbook");
        JButton lo = new JButton(new ImageIcon("trash.gif"));
        lo.setActionCommand("trash");
        lo.addActionListener(this);
        lo.setBorderPainted(false);
        lo.setToolTipText("trash");
        JButton in = new JButton(new ImageIcon("info.gif"));
        in.setActionCommand("Information");
        in.addActionListener(this);
        in.setBorderPainted(false);
        in.setToolTipText("Information");
        icon.add(newMails);
        icon.add(creator);
        icon.add(rep);
        icon.add(fwd);
        icon.add(set);
        icon.add(adr);
        icon.add(lo);
        icon.add(in);
        Vector h1 = myLeser.lese("Summary.4on");
        for(int i=0; i<h1.size(); i+=7){
          String id = h1.elementAt(i).toString();
          String fo = h1.elementAt(i+1).toString();
          String su = h1.elementAt(i+2).toString();
          String fr = h1.elementAt(i+3).toString();
          String to = h1.elementAt(i+4).toString();
          String da = h1.elementAt(i+5).toString();
          String re = h1.elementAt(i+6).toString();
          MailIndex index = new MailIndex(id, fo, su, fr, to, da, re);
          mailIndexVector.addElement(index);
        Vector h2 = myReader.read("Filter.4on");
        for(int j=0; j<h2.size(); j+=3){
          String fo = h2.elementAt(j).toString();
          String from = h2.elementAt(j+1).toString();
          String te = h2.elementAt(j+2).toString();
          FilterIndex index = new FilterIndex(fo, from, te);
          filterIndexVector.addElement(index);
        folderVector = myReader.read("Folder.4on");
        DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
        top = new DefaultMutableTreeNode("mails");
        top.add(inbox = new DefaultMutableTreeNode("Inbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Inbox"))
            inbox.add(new DefaultMutableTreeNode(m));
        top.add(outbox = new DefaultMutableTreeNode("Outbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Outbox")){
            outbox.add(new DefaultMutableTreeNode(m));
        top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Sentbox"))
            sentbox.add(new DefaultMutableTreeNode(m));
        for(int j=0; j<folderVector.size(); j++){
          top.add(trash =
          new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
          for(int i=0; i<mailIndexVector.size(); i++){
            MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
            if (m.folder.equals(folderVector.elementAt(j).toString()))
              trash.add(new DefaultMutableTreeNode(m));
        tree = new JTree(top);
        tree.getSelectionModel().setSelectionMode
        (TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.addTreeSelectionListener(new myTreeSelectionListener());
        treeScroll = new JScrollPane(tree);
        treeScroll.setFont(new Font("Monospaced",Font.PLAIN,6));
        baum.add("Center", treeScroll);
        MainMenu menuBar = new MainMenu(this, this);
        setJMenuBar(menuBar);
        setVisible(true);
      public void mailsFetcher() {
        myLetterman = new Letterman(this, mySetup);
        myLetterman.start();
      public void treeNewSign(){
        trae.remove(treeScroll);
        DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
        top = new DefaultMutableTreeNode("mails");
        top.add(inbox = new DefaultMutableTreeNode("Inbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Inbox"))
            inbox.add(new DefaultMutableTreeNode(m));
        top.add(outbox = new DefaultMutableTreeNode("Outbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Outbox"))
            outbox.add(new DefaultMutableTreeNode(m));
        top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Sentbox"))
            sentbox.add(new DefaultMutableTreeNode(m));
        for(int j=0; j<folderVector.size(); j++){
          top.add(trash =
          new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
          for(int i=0; i<mailIndexVector.size(); i++){
            MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
            if (m.folder.equals(folderVector.elementAt(j).toString()))
              trash.add(new DefaultMutableTreeNode(m));
        tree = new JTree(top);
        tree.getSelectionModel().setSelectionMode
        (TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.addTreeSelectionListener(new myTreeSelectionListener());
        treeScroll = new JScrollPane(tree);
        trae.add("Center", treeScroll);
        trae.repaint();
        setVisible(true);
      public void menuNewSign(){
        setJMenuBar(new MainMenu(this, this));
        setVisible(true);
      public String fromFilter (String t){
        String myFrom = "";
        int start, end;
        int a = t.indexOf("From:");
        if (a != -1){
          start = a + 6;
          ende = t.indexOf("\n",start);
          myFrom = t.substring(start,end);
        return myFrom;
      public String toFilter (String t){
        String myTo = "";
        int start, e1, e2, end;
        int a = t.indexOf("To:");
        if (a != -1){
          start = a + 4;
          end = t.indexOf("\n",start);
          myTo = t.substring(start,end);
          e1 = end + 1;
          if(t.substring(e1,e1+1).equals(" ")){
            while(t.substring(e1,e1+1).equals(" ")){
              while(t.substring(e1,e1+1).equals(" "))
                e1++;
              e2 = t.indexOf("\n",e1);
              myTo += " " + t.substring(e1,e2);
              e1 = e2 + 1;
        return myTo;
      public String dateFilter (String t){
        String myDate = "";
        int start, end;
        int a = t.indexOf("Date:");
        if (a != -1){
          start = a + 6;
          end = t.indexOf("\n",start);
          myDate = t.substring(start,end);
        return myDate;
      public String subjectFilter (String t){
        String mySubject = "";
        int start, end;
        int a = t.indexOf("Subject:");
        if (a != -1){
          start = a + 9;
          end = t.indexOf("\n",start);
          mySubject = t.substring(start,end);
        return mySubject;
      public String mailFilter (String t){
        String myMail = "";
        int start = 0, end = t.length();
        start = t.indexOf("\n\n") + 2;
        if (start != 1){
          int a = t.indexOf("\n\n" ,start);
          if (a != -1){
            if (t.indexOf(".",a+2) == a+2)
              if (t.indexOf("\n",a+3) == a+3)
                start = a;
          myMail = t.substring(start,end);
        return myMail;
      public void mailsRemark(String file){
        String mail = "", t = "";
        Vector mailVector = myReader.read(file);
        for (int i=0; i<mailVector.size(); i++)
          t += (String)mailVector.elementAt(i) + "\n";
        from = fromFilter(t);
        subject = subjectFilter(t);
        mailBody = mailFilter(t);
        mail += "Subject: " + subject + "\n";
        mail += "Date: " + dateFilter(t) + "\n";
        mail += "From: " + from + "\n";
        mail += "To: " + toFilter(t) + "\n";
        mail += "\n" + mailBody;
        if(viewSource == true)
          ta.setText(t);
        else
          ta.setText(mail);
      public synchronized void mails(String t){
        Status myStatus = new Status(this,t);
        myStatus.start();
      public void delete(){
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          if(node.isLeaf()){
            Object nodeInfo = node.getUserObject();
            if(nodeInfo instanceof MailIndex){
              MailIndex index = (MailIndex)nodeInfo;
              mailIndexVector.removeElement(index);
              int count = 0;
              for(int j=0; j<mailIndexVector.size(); j++){
                MailIndex index1 = (MailIndex)mailIndexVector.elementAt(j);
                String id = index1.mailId;
                if(id.equals(index.mailId))
                  count++;
              if(count == 0){
                File home = new File(".");
                String mailsRemark = "." + home.separator + "data";
                File datei = new File(mailsRemark, index.mailId);
                datei.delete();
              treeNewSign();
              menuNewSign();
            else{
              String t = (String)nodeInfo;
              boolean toDelete = false;
              for (int i=0; i<folderVector.size(); i++){
                if(folderVector.elementAt(i).equals(t)){
                  folderVector.removeElement(t);
                  konnteLoeschen = true;
              if(toDelete == false){
                message("This folder can not be deleted!");
              treeNewSign();
          else
            message("Folder is not Empty! Please delete Your mails.");
        else
          message("No Mails where selected to be deleted!");
      public void forward(){
        if(from != null){
          creatorOeffnen();
          myCreator.tfSb.setText("Fwd to: " + subject);
          myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                               "\n\n>\n>\n\n");
      public void reply(){
        if(from != null){
          creatorOeffnen();
          myCreator.tfTo.setText(from);
          myCreator.tfSb.setText("Reply to: " + subject);
          myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                               "\n\n>\n>\n\n");
      public void end(){
        String h = "";
        for (int i=0; i<mailIndexVector.size(); i++){
          MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
          h += index.mailId + "\n";
          h += index.folder + "\n";
          h += index.subject + "\n";
          h += index.from + "\n";
          h += index.to + "\n";
          h += index.date + "\n";
          h += index.read + "\n";
        myWriter.writer(h,"Summary.4on");
        String w = "";
        for (int l=0; l<filterIndexVector.size(); l++){
          FilterIndex index = (FilterIndex)filterIndexVector.elementAt(l);
          w += index.folder + "\n";
          w += index.from + "\n";
          w += index.text + "\n";
        myWriter.write(w,"Filter.4on");
        String k = "";
        for(int j=0; j<folderVector.size(); j++)
          k += folderVector.elementAt(j).toString() + "\n";
        myWriter.writer(k,"Folder.4on");
        String t = "";
        for (int l=0; l<myAddressBook.addressIndexVector.size(); l++){
          AddressIndex aindex =
                   (AddressIndex)myAdressBook.adressIndexVector.elementAt(l);
          t += aindex.alias + "\n";
          t += aindex.email + "\n";
        myWriter.write(t,"Address.4on");
        setVisible(false);
        dispose();
        System.exit(0);
      public void filterOpen(){
        boolean test = false;
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof String){
            myFilter.folder = (String)nodeInfo;
            for(int i=0; i<filterIndexVector.size(); i++){
              FilterIndex h = (FilterIndex)filterIndexVector.elementAt(i);
              if(h.folder.equals(nodeInfo)){
                myFilter.index = h;
                test = true;
                if(h.from.equals("")){
                  myFilter.box1 = false;
                  myFilter.fTf.setText("");
                  myFilter.fBox.setSelected(false);
                  myFilter.fTf.setEditable(false);
                else{
                  myFilter.box1 = true;
                  myFilter.fTf.setText(h.from);
                  myFilter.fBox.setSelected(true);
                  myFilter.fTf.setEditable(true);
                if(h.text.equals("")){
                  myFilter.box2 = false;
                  myFilter.tTf.setText("");
                  myFilter.tBox.setSelected(false);
                  myFilter.tTf.setEditable(false);
                else{
                  myFilter.box2 = true;
                  myFilter.tTf.setText(h.text);
                  myFilter.tBox.setSelected(true);
                  myFilter.tTf.setEditable(true);
                break;
          myFilter.setVisible(true);
          myFilter.fBox.requestFocus();
        else
          meldung("No selection");
      public void sendOutbox(){
        fromOutbox = true;
        int i;
        Block1:
        for(i=0; i<mailIndexVector.size(); i++){
          MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
          if(index.folder.equals("Outbox")){
            Vector mailVector = myReader.read(index.mailId);
            Block2:
            for(int j=0; j<mailVector.size(); j++){
              String m = (String)mailVector.elementAt(j);
              if(m.indexOf("Subject:") != -1){
                for(int k=0; k<=j+1; k++){
                  mailVector.removeElementAt(0);
                break Block2;
            Vector toVector = new Vector();
            int tEnd = 1;
            String line = "";
            String t = index.to;
            while (tEnd != -1){
              tEnd = t.indexOf(", ");
              if (tEnd == -1)
                line = t;
              else
                line = t.substring(0,tEnd);
              t = t.substring(tEnd + 1);
              toVector.addElement(line);
            File home = new File(".");
            String mailsVerzeichnis = "." + home.separator + "data";
            File datei = new File(mailsRemark, index.mailId);
            datei.delete();
            mySendman = new Sendman(mailVector, toVector, index.subject,ailsAnzeig, mySetup, this);
            mySendman.start();
            mailIndexVector.removeElement(index);
            break Block1;
        if(i == mailIndexVector.size())
          fromOutbox = false;
        treeNewSign();
      public void partion(String cmd){
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof MailIndex){
            MailIndex index = (MailIndex)nodeInfo;
            index.folder = cmd.substring(13).toString();
            treeNewSign();
        else
          meldung("No mails to partion!");
      public void SetupOpen(){
        if (mySetup.savePassword == false)
          mySetup.pTf.setText("");
        mySetup.setVisible(true);
        mySetup.aTf.requestFocus();
      public void addressbookOpen(){
        myAddressBook.setVisible(true);
        myAdressBook.tree.requestFocus();
      public void creatorOpen(){
        myCreator.setVisible(true);
        myCreator.tfTo.requestFocus();
      public void actionPerformed(ActionEvent event){
        Object obj = event.getSource();
        if (obj instanceof JMenuItem){
          String cmd = event.getActionCommand();
          if (cmd.equals("New fetched")){
            mailsfetch();
          else if (cmd.equals("Written new mails")) {
            creatorOpen();
          else if (cmd.equals("Reply")) {
            reply();
          else if (cmd.equals("Forward")) {
            forward();
          else if (cmd.equals("Outbox")) {
            sendOutbox();
          else if (cmd.equals("Delete")) {
            delete();
          else if ((cmd.length() >13) &&
                   (cmd.substring(0,13).equals("Sorting-"))){
            sorting(cmd);
          else if (cmd.equals("Using Addressbook")){
            addressbookOpen();
          else if (cmd.equals("Filter working")){
            filterOpen();
          else if (cmd.equals("New Order")){
            myFixTask.tf.setText("");
            myFixTask.setVisible(true);
            myFixTask.tf.requestFocus();
          else if (cmd.equals("delete")){
            delete();
          else if ((cmd.length() >7) &&
                   (cmd.substring(0,7).equals("nobody"))){
            if(viewSource == false){
              viewSource = true;
              menuNewSign();
              if(tree.getLastSelectedPathComponent() != null){
                DefaultMutableTreeNode node =
                    (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                Object nodeInfo = node.getUserObject();
                if(nodeInfo instanceof MailIndex){
                  MailIndex index = (MailIndex)nodeInfo;
                  mailsRemark(index.mailId);
            else{
              viewSource = false;
              menuNeuZeichnen();
              if(tree.getLastSelectedPathComponent() != null){
                DefaultMutableTreeNode node =
                    (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                Object nodeInfo = node.getUserObject();
                if(nodeInfo instanceof MailIndex){
                  MailIndex index = (MailIndex)nodeInfo;
                  mailsRemark(index.mailId);
          else if (cmd.equals("Setup")){
            SetupOpen();
        else if (obj instanceof JButton){
          String cmd = event.getActionCommand();
          if (cmd.equals("aga")){
            mailsHolen();
          else if (cmd.equals("Creator Open")){
            creatorOpem();
          else if(cmd.equals("rep")){
            reply();
          else if(cmd.equals("fwd")){
            forward();
          else if(cmd.equals("Setup Open")){
            SetupOpen();
          else if(cmd.equals("adr")){
            addressbookOpen();
          else if(cmd.equals("delete")){
            delete();
          else if(cmd.equals("Information")){
            myInfo.setVisible(true);
            myInfo.b.requestFocus();
      private class myWindowListener extends WindowAdapter{
        public void windowClosing(WindowEvent event){
          end();
      private class myTreeSelectionListener implements TreeSelectionListener{
        public void valueChanged(TreeSelectionEvent e) {
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)(e.getPath().getLastPathComponent());
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof MailIndex){
            MailIndex index = (MailIndex)nodeInfo;
            mailsAnzeigen(index.mailId);
            index.read = "Yes";
    }

  • Having trouble compiling

    I am a total newbie at programming and I am having trouble compiling. In the MS-DOS prompt, I located the folder where my .java file is located and typed the following:
    javac SampleProgram.java
    I received a "Bad command or file name" error. I am typing the names correctly. I am using Java 2 SDK, Standard Edition Version 1.3.1. Am I doing something wrong?
    Thanks for any help.

    That should fix it. The problem is that DOS needs to know where to find the executable files like javac.exe
    You can either set the path temporarily by typing
    SET PATH=.;c:\jdk1.3.1\bin
    at the command prompt each time you open a command window, or you can set it more permanently by adding it to your startup config. This will depend on your OS. On win 98 for example, there is an AUTOEXEC.BAT (usually with a SET PATH command already present). You could open this in notepad to add/change:
    SET PATH=C:\WINDOWS
    to
    SET PATH=C:\WINDOWS;.;C:\JDK1.3.1\BIN
    Reboot to make the changes take effect. Other OS's may have a special dialog to set this kind of command.
    Hope this helps some.

  • Need help compiling v4l cvs

    I just bought myself a new tv card that needs the cvs version of v4l... I've tried to compile it but always fails... I did this:
    cvs -d :pserver:[email protected]:/cvs/video4linux login
    cvs -d :pserver:[email protected]:/cvs/video4linux co video4linux
    cvs -d :pserver:[email protected]:/cvs/linuxtv login
    cvs -z3 -d :pserver:[email protected]:/cvs/linuxtv co -P dvb-kernel
    cd video4linux
    ./scripts/merge-trees.sh
    make
    And as a result I get only errors... Files not being found and errors about incomplete types... I think this is the right way to compile the cvs, according to their wiki, so maybe it's an arch thing? I've never tried to compile any modules before so this is a totally new thing for me... Please help!

    yeah, I know! it was my intension from the start but I had problem cutting and pasting from a terminal into firefox... but I found out a way now!
    make gives this output:
    make -C /lib/modules/2.6.12-ARCH/build SUBDIRS=/root/video4linux modules
    make[1]: Entering directory `/usr/src/linux-2.6.12-ARCH'
    CC [M] /root/video4linux/video-buf.o
    /root/video4linux/video-buf.c:36:29: media/video-buf.h: No such file or directory
    fixdep: /root/video4linux/.video-buf.o.d is empty
    CC [M] /root/video4linux/v4l1-compat.o
    CC [M] /root/video4linux/v4l2-common.o
    CC [M] /root/video4linux/btcx-risc.o
    CC [M] /root/video4linux/ir-common.o
    /root/video4linux/ir-common.c:27:29: media/ir-common.h: No such file or directory
    fixdep: /root/video4linux/.ir-common.o.d is empty
    CC [M] /root/video4linux/bttv-driver.o
    CC [M] /root/video4linux/bttv-cards.o
    CC [M] /root/video4linux/bttv-risc.o
    CC [M] /root/video4linux/bttv-if.o
    In file included from /root/video4linux/bttv-if.c:35:
    /root/video4linux/bttvp.h:52:29: media/video-buf.h: No such file or directory
    /root/video4linux/bttvp.h:53:29: media/audiochip.h: No such file or directory
    /root/video4linux/bttvp.h:54:25: media/tuner.h: No such file or directory
    /root/video4linux/bttvp.h:55:28: media/tveeprom.h: No such file or directory
    /root/video4linux/bttvp.h:56:29: media/ir-common.h: No such file or directory
    fixdep: /root/video4linux/.bttv-if.o.d is empty
    CC [M] /root/video4linux/bttv-vbi.o
    CC [M] /root/video4linux/bttv-i2c.o
    CC [M] /root/video4linux/bttv-gpio.o
    In file included from /root/video4linux/bttv-gpio.c:36:
    /root/video4linux/bttvp.h:52:29: media/video-buf.h: No such file or directory
    /root/video4linux/bttvp.h:53:29: media/audiochip.h: No such file or directory
    /root/video4linux/bttvp.h:54:25: media/tuner.h: No such file or directory
    /root/video4linux/bttvp.h:55:28: media/tveeprom.h: No such file or directory
    /root/video4linux/bttvp.h:56:29: media/ir-common.h: No such file or directory
    fixdep: /root/video4linux/.bttv-gpio.o.d is empty
    CC [M] /root/video4linux/cx88-video.o
    In file included from /root/video4linux/media/video-buf-dvb.h:3,
    from /root/video4linux/cx88.h:33,
    from /root/video4linux/cx88-video.c:37:
    /root/video4linux/dmxdev.h:38:19: demux.h: No such file or directory
    In file included from /root/video4linux/media/video-buf-dvb.h:4,
    from /root/video4linux/cx88.h:33,
    from /root/video4linux/cx88-video.c:37:
    /root/video4linux/dvb_demux.h:46: error: field `filter' has incomplete type
    /root/video4linux/dvb_demux.h:47: error: `DMX_MAX_FILTER_SIZE' undeclared here (not in a function)
    /root/video4linux/dvb_demux.h:65: error: field `ts' has incomplete type
    /root/video4linux/dvb_demux.h:66: error: field `sec' has incomplete type
    /root/video4linux/dvb_demux.h:70: error: parse error before "dmx_ts_cb"
    /root/video4linux/dvb_demux.h:70: warning: no semicolon at end of struct or union
    /root/video4linux/dvb_demux.h:70: warning: no semicolon at end of struct or union
    /root/video4linux/dvb_demux.h:71: warning: type defaults to `int' in declaration of `sec'
    /root/video4linux/dvb_demux.h:71: warning: data definition has no type or storage class
    /root/video4linux/dvb_demux.h:72: warning: type defaults to `int' in declaration of `cb'
    /root/video4linux/dvb_demux.h:72: warning: data definition has no type or storage class
    /root/video4linux/dvb_demux.h:95: error: parse error before '}' token
    /root/video4linux/dvb_demux.h:98: error: field `dmx' has incomplete type
    /root/video4linux/dvb_demux.h:118: error: `DMX_TS_PES_OTHER' undeclared here (not in a function)
    In file included from /root/video4linux/cx88.h:33,
    from /root/video4linux/cx88-video.c:37:
    /root/video4linux/media/video-buf-dvb.h:27: error: field `fe_hw' has incomplete type
    /root/video4linux/media/video-buf-dvb.h:28: error: field `fe_mem' has incomplete type
    /root/video4linux/dvb_demux.h:86: error: storage size of `pes_type' isn't known
    make[2]: *** [/root/video4linux/cx88-video.o] Error 1
    make[1]: *** [_module_/root/video4linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.12-ARCH'
    make: *** [default] Error 2

  • My shot at a ratpoison-cvs w/ errors

    The Error
    U ratpoison/src/window.h
    U ratpoison/src/xinerama.c
    U ratpoison/src/xinerama.h
    /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
    run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    configure.in: installing `./install-sh'
    configure.in: installing `./missing'
    doc/Makefile.am:20: installing `doc/texinfo.tex'
    src/Makefile.am: installing `./depcomp'
    configure.in:29: installing `./config.guess'
    configure.in:29: installing `./config.sub'
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed. Aborting...
    # $Id: PKGBUILD,v 1.12 2006/04/10 15:44:02 juergen Exp $
    # Maintainer: juergen <juergen>
    # Contributor: John Proctor <jproctor>
    pkgname=ratpoison-cvs
    pkgver=1.4.0
    pkgrel=1
    pkgdesc="A simple keystroke-driven window manager"
    depends=('libxinerama' 'readline' 'bash' 'perl' 'libxtst')
    url="http://www.nongnu.org/ratpoison/"
    build() {
    cd $startdir/src/
    cvs -z3 -d:pserver:[email protected]:/sources/ratpoison co ratpoison
    cd ./ratpoison
    ./autogen.sh --prefix=/usr
    /usr/bin/make || return 1
    pushd contrib
    ./genrpbindings || return 1
    install -d $startdir/pkg/usr/share/ratpoison/bindings
    install -m 644 {Ratpoison.pm,ratpoison-cmd.el,ratpoison.rb,ratpoison.lisp,ratpoison.py}
    $startdir/pkg/usr/share/ratpoison/bindings/ || return 1
    popd
    /usr/bin/make DESTDIR=$startdir/pkg install
    # fix permissions
    chmod a+x $startdir/pkg/usr/share/ratpoison/{allwindows.sh,clickframe.pl,rpshowall.sh,rpws,split.sh}
    /bin/cp $startdir/$pkgname.desktop $startdir/pkg/etc/X11/sessions
    # vim: ts=2 sw=2 et ft=sh
    ~
    Here's my weak attempt at a cvs version for ratpoison. All I really have done is to add the cvs line and change ./configure --prefix=/usr to ./autogen --prefix=/usr
    Thanks

    I just compiled from cvs a few hours ago (some fixes with Super/Hyper keys) - works fine here.  Might just be one of those cvs things.

  • "Error compiling movie. Unknown error" while rendering a .PSD or .PNG

    Hi,
    I have this problem: When I try to make a "Render Selection" or export my video, everything is ok until I reach a .PSD file I've placed almost in the end of the clip.
    The same is for .PNG file, a dialog appears saying "Error compiling movie. Unknown error".
    I've tried to delete the effects, but it's the same. To be more specific, I've applied a simple "Cross Dissolve": Until the transition is working, and the picture is not entirely visible, the rendering works. When the picture is "complete", the render stops and the error appears.
    When I tried to delete the transitions, the error appeared in the beginning of the .PSD picture.
    Any help?
    Thanks

    Are you stills in RGB format? what pixel size are they?

  • Trouble compiling a stored procedure

    Hello, I have trouble compiling a stored procedure. I include part of the code because I think the key problem is illustrated in these lines:
    date1 is declared as a DATE.
    index_value2 NUMBER;
    BEGIN
    date1 := (select sysdate from dual);
    index_value2 := (select index_value from tmsdat.a_index_values where price_date < (SELECT sysdate -180
       FROM dual) and price_date > (SELECT sysdate -210
       FROM dual));
    [\code]
    The problem seems to be that a more complex syntax is included in the allocation statement (:=), can that be the case? That is, no select etc??
    How is this solved?
    Any help much appreciated!
    best regards
    Harald                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, actually WhiteHat´s magic did the trick, but two errors:
    temp := (select (to_number(to_char(sysdate, 'DD'))-1)/(decode(to_char(sysdate,'MM'),'02',28,30)) as result
       from dual);
    [\code]
    this line generates problems but I think the approach is the same maybe, that is:
    select to_number(to_char(sysdate, 'DD'))-1)/(decode(to_char(sysdate,'MM'),'02',28,30)) into temp as result frmo dual
    Further, some error about encountering end of line?
    END CONVERT_MARKET_INDEX;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Trouble compiling servlet example

    Hi All, I am trying out an example for servlets and I ran into trouble compiling the the file called "FormProcessingServlet.java" in tutorial located here: http://developer.java.sun.com/developer/onlineTraining/Servlets/Fundamentals/magercises/FormPostingAndProcessing/index.html
    The exact problem happens in this line:
    isStructure = context.getResourceAsStream(paramStructureFile[0]);
    The error says:
    FormProcessingServlet.java:127: cannot resolve symbol
    symbol : method getResourceAsStream (java.lang.String)
    location: interface javax.servlet.ServletContext
    isStructure = context.getResourceAsStream(paramStructureFile[0]);
    anyone else ran into this problem? How do I fix this? Thanks.

    "cannot resolve symbol" means that the JVM can't find a particular class.
    Adjust your systems classpath variable to include all the jar files that you use, I also add "." to include files in the current directory I'm working from.

  • "Error compiling movie.  Unknown error" - my solution

    I was trying to encode a project to mpeg-2 DVD yesterday, when I repeatedly received the message "Error compiling movie.  Unknown error."  I had had this happen before and I can't remember what hoops I jumped through to fix it.  But yesterday, I found a simple solution that may work for someone else in the future should they ever search for this problem in our forum.
    The problem turned out to be with some .wmv files mixed in with all the other .avi files I was using.  And the solution was to right-click on the .wmv clips in the project bin, choose "modify," then choose "interpret footage.  From there, I changed the frame rate choice from "Use frame rate from file" (which was 30.00) to "Assume this frame rate" and entered a value of 29.97.  Voila!  Everything rendered without a hitch!
    Hope this helps someone.
    J. D.

    I agree, Jim, but my train of thought was that a lot of people were changing and replacing and taking out effects and clips from their sequence to see if it was the components in the sequence that was causing the "unknown error." However, I had the same "unknown error" and was able to export in Premiere anyway by just practically "telling" Premiere that it's a new project, when I'm importing an old project to do the same task. Which makes me think that maybe Premiere doesn't have a problem exporting the specific files that most people thought were the problem, maybe it was just a glitch somewhere in Premiere that made the software think there was a problem after a certain amount of time, when there really wasn't. I don't know, I'm not a coder so that's just my layman guess. I did notice that Premiere was exporting/rendering fine when I was just beginning my project, but after it got to a certain length, that's when I couldn't render or export anymore. It honestly baffles me too. It would be useful to see what the results are if other people tried this simple switch-a-roo so possible issues can be narrowed down.

  • How to make error message as warning message

    how to make error message as warning message? ie  i get error message hence cannot save the slaes order   i want to make that error message as warning so that i can save the sales order please help.

    Hi
    If a message is a custom message, then by changing the message type from E(Error) to W (warning)   we can convert the message type into error message. This is done with the help of development guy. A change in the code is needed.
    If it is a standard message, then it depends on whether we have teh access to change the message type. If access is there, then it is possible to change the message from Warning to Error. i.e. If we are capturing std SAP message in our code and displaying then we can change it, else if SAP message is displayed directly, we cant change it.
    So, to change it, capture the error message from SAP in some Zcode and then convert that message into a custom message of message type E.
    The whole change needs ABAP support.
    Try with tcode <b>OVA2</b> settings selecting for sales order or in SAPRO--SD-BF-Log of Incompletion Items
    Message was edited by:
            SHESAGIRI.G

  • [solved]make error when using svn in PKGBUILD

    Hi, all
    I want to install the development package of R software using PKGBUILD. My PKGBUILD file is like this:
    pkgname=r
    _svnmod=r
    pkgver=0.0.0
    pkgrel=1
    pkgdesc="R is a language and environment for statistical computing and graphics"
    arch=('i686' 'x86_64')
    license=('GPL')
    url=('http://www.r-project.org/')
    depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff'
    'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
    'tk' 'libxt' 'libxmu' 'pango')
    #makedepends=('subversion' 'openjdk6' 'gcc-fortran')
    makedepends=('subversion' 'jre7-openjdk')
    options=('!makeflags')
    conflicts=('r')
    provides=('r')
    source=('r::svn+https://svn.r-project.org/R/trunk/')
    md5sums=('SKIP')
    pkgver() {
    cd "$SRCDEST/$_svnmod"
    svnversion
    build() {
    cd "$srcdir/$_svnmod"
    ./configure --prefix=/usr \
    --libdir=/usr/lib \
    --datarootdir=/usr/share \
    rsharedir=/usr/share/R/ \
    rincludedir=/usr/include/R/ \
    rdocdir=/usr/share/R/docs/ \
    --enable-memory-profiling \
    --with-readline \
    --with-x \
    --with-system-zlib \
    --with-system-bzlib \
    --with-system-pcre \
    --enable-R-shlib \
    --with-lapack \
    --with-blas \
    --without-recommended-packages \
    F77=gfortran \
    LIBnn=lib
    make
    package() {
    cd "$srcdir/$_svnmod"
    make -j1 DESTDIR=${pkgdir} install
    # Fixup R wrapper scripts.
    sed -i "s|${pkgdir} ||" ${pkgdir}/usr/bin/R
    rm ${pkgdir}/usr/lib/R/bin/R
    cd ${pkgdir}/usr/lib/R/bin
    ln -s ../../../bin/R
    But i encounter a make error like this:
    ERROR: not an svn checkout
    make: *** [svnonly] ERROR 1
    Did anyone give me some advices? Thanks a lot!
    PS. I was noticed that in wiki page "VCS PKGBUILD Guidelines", "The copy in $srcdir is made using svn export which does not create working copies. Any svn related command has to be used in the local repo in $SRCDEST." So when I change the cd line in build() and package() function into
    cd "$SRCDEST/$_svnmod"
    the error message vanished. But the local repo are changed when configure and make the project.
    Last edited by januslian (2013-05-06 08:50:09)

    Scimmia wrote:This will be fixed in pacman 4.1.1. For now, just copy the ".svn" dir yourself. cp -r "$SRCDEST/$_svnmod/.svn" "$srcdir/$_svnmod"
    Great, it works. Thanks.

  • Error compiling movie. Unknown error. In both Premiere and Media Encoder

    I am trying to export a a batch of six sequences, out of Premiere Pro CC to my internal hard drive using the Apple ProRes 422 Quicktime setting. All of the sequence exports are failing in the first couple of seconds. This happens if I do them individually directly out of Premiere and if I export them out as a batch to Media Encoder. All get the same "Error compiling movie. Unknown error." error message. I have tried restarting the computer, that didn't fix it. I had the same problem with some other files yesterday but I was able to export them out individually OK. But with this batch, no dice. The sequences are all fully rendered. There aren't any problematic clips in the sequences, not that I can tell. None of the sequences is very long, only about 1-2 mins each.
    Any ideas?
    My system details are:
    MacBook Pro (Retina, 15-inch, Mid 2014)
    2.5 GHz Intel Core i7
    16GB 1600 MHz DDR3
    Graphics NVIDIA GeForce GT 750M 2048 MB
    plenty of space on my startup disk

    Error Compiling Movie... some past discussions and ideas
    -http://helpx.adobe.com/premiere-pro/kb/error-compiling-movie-rendering-or.html
    -http://helpx.adobe.com/premiere-elements/kb/error-error-compiling-movie-render.html
    -and nested sequences http://forums.adobe.com/thread/955172

Maybe you are looking for