Mplayer - can't build package with ABS

Hi,
I'm new to Arch and its Building System, so maybe this problem isn't a problem for you, but I can't find a solution...
I wanted to install mplayer, but pacman wants to install the GTK1 package, which I will never use because I don't run software using GTK1.
So I decided to build the package on my own, it worked fine for me on Debian, but in Arch I can't compile it.
Here is my PKGBUILD, I removed the dependency (gtk) and the theme-package (blue), removed the gui configure option and the v4l options:
# $Id: PKGBUILD,v 1.64 2006/03/28 18:28:47 arjan Exp $
# Maintainer: dorphell <dorphell>
pkgname=mplayer
pkgver=1.0pre7
pkgrel=6
pkgdesc="A movie player for linux"
depends=('libmad' 'libungif' 'cdparanoia'
'codecs' 'sdl' 'libjpeg' 'lame' 'libtheora'
'esd' 'faad2' 'ttf-bitstream-vera' 'libxxf86dga'
'fontconfig' 'libxinerama' 'libxv' 'libpng'
'libxxf86vm' 'xvidcore' 'freetype2')
source=(ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-${pkgver}try2.tar.bz2
http://www.mplayerhq.hu/MPlayer/patches/demuxer_h_fix_20060212.diff
mplayer-1.0_pre7-gcc4.patch)
url="http://www.mplayerhq.hu/"
md5sums=('aaca4fd327176c1afb463f0f047ef6f4'
'ad36895346d36b51005c9f0d0c78effe' '99915b6272bb8ddeda36ce046d8a284a')
build() {
cd $startdir/src/MPlayer-${pkgver}try2
patch -Np1 -i $startdir/src/mplayer-1.0_pre7-gcc4.patch || return 1
patch -Np0 -i $startdir/src/demuxer_h_fix_20060212.diff || return 1
# *hint* next time build mplayer in chroot with only current on
./configure --prefix=/usr --disable-arts --enable-x11
--enable-runtime-cpudetection --enable-sdl
--enable-theora --with-win32libdir=/usr/lib/win32 --confdir=/etc/mplayer
--enable-xvid --enable-gl
make || return 1
make DESTDIR=${startdir}/pkg install
cp etc/{codecs.conf,input.conf,example.conf} ${startdir}/pkg/etc/mplayer/
ln -s /usr/share/fonts/TTF/Vera.ttf ${startdir}/pkg/usr/share/mplayer/subfont.ttf
rm -rf ${startdir}/pkg/usr/share/mplayer/font
mv ${startdir}/src/Blue ${startdir}/pkg/usr/share/mplayer/Skin/default
After running makepkg -s I get the following error:
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o codec-cfg.o codec-cfg.c
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o spudec.o spudec.c
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o playtree.o playtree.c
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o playtreeparser.o playtreeparser.c
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o asxparser.o asxparser.c
cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o vobsub.o vobsub.c
vobsub.c:231: error: conflicting types for 'getline'
/usr/include/bits/stdio.h:103: error: previous definition of 'getline' was here
vobsub.c: In function 'vobsub_set_from_lang':
vobsub.c:1223: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vobsub.c:1226: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
make: *** [vobsub.o] Error 1
==> ERROR: Build Failed.  Aborting...
I've marked the error line...
I also tried to disable all config optione except
--prefix=/usr --with-win32libdir=/usr/lib/win32 --confdir=/etc/mplayer
but still the error shows up.
Any suggestions what I can do??

Use mplayer 1.0pre8. There are many bugs fixed and it compiles without complaining with gcc4. You don't need the patches any more.

Similar Messages

  • How can i build table with two user name columne  ?

    How can I build view with two columns for user name ( one create and the other
    Can change also ) 
    And to display full name ( the user name is the key but not display  ) ?

    Hi,
    Creating View
    •     From initial screen of data dictionary(T.Code: SE11), enter the name of object i.e. view.
    •     Select view radio button and click on the push button.
    •     Dialog box is displayed for types of views.
    •     Select the view type.
    •     On the next screen, you have to pass following parameters.
    •     Short text
    •     In the table box you need to enter the table names, which are to be related.
    •     In join table box you need to join the two tables.
    •     Click on the TABFIELD. System displays the dialog box for all the table fields and user can select the fields from this screen. These fields are displayed in the view fields box.
    •     Save and Activate: When the view is activated, view is automatically created in the underlying database system. As long as the table exists in the database, the view also exists (Unless you delete it).
    Regards,
    Bhaskar

  • Strange behavior in chroot -- can't build perl with makechrootpkg

    I've been rebuilding my system from sources again, creating a local repository of binaries compiled for my cpu and with a few unnecessary dependencies kept out. My scripts have been working well for me but I've always built Arch packages "dirty", not in a clean chroot but in the target system (and check every package with namcap to catch dependency errors).
    Now I've amended my build script to offer me the option to build each package in a clean chroot with the standard Arch tools, e.g. mkarchroot and makechrootpkg, and that has been working well as I rebuild the base system, until I came to perl...
    Building perl-5,18.0 in a clean chroot fails in the configure phase.  The "Configure" script for perl is a monster and may do some strange things.  I don't understand the failure.  The code at the point of failure in chroot/sitquietly/build/perl/src/perl-5.18.0/Configure
    : now get the host name
    echo " "
    echo "Figuring out host name..." >&4
    case "$myhostname" in
    '') cont=true
    echo 'Maybe "hostname" will work...'
    if tans=`sh -c hostname 2>&1` ; then
    myhostname=$tans
    phostname=hostname
    cont=''
    fi
    *) cont='';;
    esac
    it fails at executing
    if tans=`sh -c hostname 2>&1` ; then
    where apparently the hostname command returns "--" and sh then complains that it is an unrecognized option.  I've made sure that there is a hostname command in the chroot (provided by inetutils) and that the hostname is in /etc/hosts. 
    Perl builds just fine in the dirty, target environment (using makepkg).  It only fails to build in the chroot.
    By my reading of it the Configure script optionally accepts the hostname as a parameter, $1.  I tried passing in the hostname from the PKGBUILD to Configure but that didn't help.  I got the same error message.  If I chroot into the chroot/root and execute the hostname command it works just fine and returns the correct hostname.
    And, well, I'm stumped.

    karol wrote:A related bug: https://mailman.archlinux.org/pipermail … 25109.html
    Yes, that's it:
    FAIL: perl
    ./Configure: line 8725: set: --: invalid option
    It appears that perl-5.18.0 simply fails to build in a clean chroot right now.  I'll help if I can ... interestingly, it does build outside the chroot so I'll look over the Configure script to see if it is calling any other commands that aren't being provided in the chroot environment (base-devel inetutils).

  • Can't build packages not enough space [Solved]

    I'm trying to compile latest -ck kernel but after it gets built I get an error saying: there is not enough space to build package.
    I remember that last time I was compiling the kernel, I've set-up so that /tmp is loaded in memory or something like that..
    And now when I try to compile the kernel, even though I choose menuconfig I still don't get in ti, to turn it off or even check what it was.
    My /tmp just have 1,3GB free space left, so that could be it, but I doubt it...
    Last edited by Primoz (2010-06-03 11:46:33)

    fukawi2 wrote:
    Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
    EDIT: Spelling
    Yeah I tought so... Sorry for not including it in my OP, but I've just done it then and forgot to copy-paste and didn't want to do it again.
    /bin/sh: line 0: echo: write error: No space left on device
    make[1]: *** [crypto/lrw.ko] Error 1
    make: *** [modules] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    ERROR: makepkg exited with an error (512)
    WARNING: expected package does not exist: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
    --> scanning /tmp/bauerbill/build/aur/kernel26-ck for matching packages...
    ERROR: no package found: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
    :: Abort? [Y/n]
    aborting...
    That's what happens, but I think it is problem with root, as when this happens there's only 9,7MB free space left.
    I guess I have either remove unneeded packages or make root bigger...

  • Can i build rac with the fallowing hardware

    hi,
    Cam i build RAC with the fallowing hardware::
    1 pc with ethernet card and firewire port
    1 laptop 1 wireless nic and ethernet card and firewire port
    1 external enclosure (with 1 ide hdd )with 2 firewire ports
    1 wireless router with 4 ethernet ports.
    i was considering using linux between Fedora 7 or OEL
    Thanks.

    Oracle has free software (Oracle Vm)
    install oracle Vm on one pc, need lot of RAM and create RAC (2 or 3 nodes depend on the physical server) on it and the laptop run Oracle VM manager to control Oracle Virtual Machine.

  • Mplayer can't play files with spaces in their name

    After scratching my head and reinstalling codecs several times without luck, and old memory resurfaced of this occuring before and I managed to solve the problem.
    The thing is that if you doubleclick a file in Nautilus, and said files has spaces in its name, mplayer won't be able to play it, and gives a very cryptic error message, ie "cannot play file a%20b.avi" if the name of the file is "a b.avi".
    The trick is mentioned in this thread -- you edit /usr/share/applications/mplayer.desktop and change 'Exec=gmplayer %U' to 'Exec=gmplayer %F'.
    The bug has been around forever, and hasn't been fixed yet. Perhaps the mplayer devs don't want to fix it. In any case, I would propose that either we fix this in the mplayer Arch package, or that someone more knowledgeable than I get in touch with the devs about it.
    Just a suggestion, but I think it's kind of important. It's really confusing to new users.

    In my opinion, it it's not arch's job to fix bugs from upstream, no matter if it's mplayer or gnome's fault. Of course there are exceptions, eg if a bug in a critical package hardlocks the whole system, or adds a huge security risk.
    I would like to belive that the general arch user is smart enough to find one of the 30 threads about this bug (or the entry on the bugtracker) and fix it themselves. Personaly I would put this in the same category as packages that don't have a .desktop file at all from upstream.
    Oh, and as a small sidenote: http://phraktured.net/patching-patching-patching.html

  • Configuring Kernel when building it with abs/aur

    I've made a quick search but haven't found anything....
    So I've decided to try the Kernel26-ck as I've seen good comments in a thread about it. So anyway PKG had this in it:
    # Configure the kernel. Replace the line below with one of your choice.
    make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    As you can see I've uncommented the menuconfig. I've then set which parts/modules I wish and which I don't. But now while building it I have a feeling it didn't use the config I specified with menuconfig...
    Maybe it's just that I'm doing this for the first time and I can't recognise whether it uses my config or not...
    But the part where it say "stop here" for configuring kernel confuses me...
    Should I uncomment that as well so that the config could be done "in peace" or does the menuconfig pauses it already?
    The additional thing that makes me doubt that I did this correctly is that it's taking quite some time (cca.: 3hours for now).
    I won't end the compiling now, I just wish to know for next time...
    Also: I heard that you have to "recompile" or reinstall a nvidia driver if you wish to use kernel26-ck. So which one should use? nvidia-beta doesn't work, so I'm going for nvidia-all...
    PS.: Merry Christmas I guess...

    some-guy94 wrote:BTW, a kernel26-ck is in the aur
    Yup, sure is! I'm the maintainer of it, and if you have any issues with the PKGBUILD I am completely open to submissions/criticism
    EDIT : with credit to you for any submissions, of course!
    Last edited by MP2E (2009-12-25 08:18:12)

  • Can I build RAC with just 2 machines, without external storage device?

    Hi,
    Version: 11gR2
    I am trying to build Oracle RAC using 2 Linux machines, node 1 and node2. I have 2 ethernet cards in each node. I have setup Bind DNS server to node 1 successfully. Now, I am running Oracle Grid Infrastructure installation wizard. I have reached "Storage Option" screen. Here I have two options - (1) ASM (2) Shared File System.
    If I choose ASM and go next, I see nothing of course, in the list of candidate Disks below. I guess here it is supposed to list up shared disk like SAN or NAS if I have. I can't afford these external HDD stuff and want to build RAC using just these two Linux machines.. Is it possible? Another question is, the difference between ASM and Shared File System. Does Shared File System mean NFS? I have a very old low-spec laptop and I may be able to install Linux, to make it NFS but if I do that, is it going to be option (2) - Shared File System? I am not feeling like building the 3rd machines for this..
    Thanks
    Kensho

    Hi,
    >> I can't afford these external HDD stuff and want to build RAC using just these two Linux machines
      If you are installing on your laptop why dont you use vmware, please follow below link to install on laptop.
    http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-ol5-using-vmware-server-2.php
    >> Another question is, the difference between ASM and Shared File System
    http://docs.oracle.com/cd/E11882_01/install.112/e24614/storage.htm

  • Problem with building packages in chroot

    I set up a clean chroot with 'sudo mkarchroot <chrootdir>/root base base-devel sudo', but I can't build packages with 'sudo makechrootpkg -c -r <chrootdir>' command:
    creating clean working copy...done
    ==> Making package: empathy 2.32.2-2.1 (Sun Mar 13 21:35:44 UTC 2011)
    ==> Checking Runtime Dependencies...
    ==> Installing missing dependencies...
    sudo: must be setuid root
    ==> ERROR: 'pacman' failed to install missing dependencies.
    Build failed, check /media/a9317af4-033b-40e5-8076-9fa120dd3ca1__/chroot/copy/build
    I don't know what is the problem. I tried to set permissions on sudo binary in chroot, but no helps.

    City-busz wrote:It's an ext4 partition on external hard drive. Now I tried to set up chroot on my system's partition, and it works fine. I don't know it's why not works on external partition.
    Most likely your mount options have some issue, or perhaps an ownership issue.

  • Is it possible to build a captive runtime package with native extension?

    Hi. Now I try to build a captive runtime package with one native extension file(ANE) for Windows.
    I use Flash Builder 4.6 Premium and try to export release build.
    But Flash Builder warns that captive runtime can not bundle ane file.
    So I can not build package.
    Official document seems that captive runtime  supports native extensions.
    Does anyone know about?

    Hi. Now I try to build a captive runtime package with one native extension file(ANE) for Windows.
    I use Flash Builder 4.6 Premium and try to export release build.
    But Flash Builder warns that captive runtime can not bundle ane file.
    So I can not build package.
    Official document seems that captive runtime  supports native extensions.
    Does anyone know about?

  • Help with ABS

    Hi. 2 days ago, I managed to setup photoshop cs4 runing on wine, but suddenly it stopped working today when after system upgrade. I noticed that wine version changed, so I searched on wiki to find how to get previous versions. Now... I found article on ABS, so I copied wine folder from abs tree, to my home/my username/abs directory. In wine pkgbuild I found in copied directory, I modified version to 1.2.2 which is last stable as I read on winehq. When I go to abs/wine and run makepkg -s I get this:
    ==> Making package: wine 1.2.2-1 (Sat Feb 5 15:37:06 CET 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found wine-1.2.2.tar.bz2
    ==> Validating source files with md5sums...
    wine-1.2.2.tar.bz2 ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    Anyway, I thought that abs is created so that I can get source from some completely unknown software, and, I don't know.., compile it and make some sort of installation script for arch, and this is same as downloading from aur and running makepkg -si. Am I getting something wrong? Because, I've allready downloaded source from winehq, so I was kind of disappointed. I expected that I'll have to put this source into abs/wine folder and then do something with it.
    Any ideas how to make this work? Here's PKGBUILD:
    # $Id: PKGBUILD 38999 2011-02-04 20:31:47Z svenstaro $
    # Maintainer: Sven-Hendrik Haase <[email protected]>
    # Contributor: Jan "heftig" Steffens <[email protected]>
    # Contributor: Eduardo Romero <[email protected]>
    # Contributor: Giovanni Scafora <[email protected]>
    pkgname=wine
    pkgver=1.2.2
    pkgrel=1
    _pkgbasever=${pkgver/rc/-rc}
    source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2)
    md5sums=('e6d4cd7e51678f90760e2193893637aa')
    pkgdesc="A compatibility layer for running Windows programs"
    url="http://www.winehq.com"
    arch=(i686 x86_64)
    license=(LGPL)
    install=wine.install
    depends=(
    fontconfig lib32-fontconfig
    mesa lib32-mesa
    libxcursor lib32-libxcursor
    libxrandr lib32-libxrandr
    libxdamage lib32-libxdamage
    libxxf86dga lib32-libxxf86dga
    alsa-lib lib32-alsa-lib
    makedepends=(autoconf ncurses bison perl fontforge flex prelink
    'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'
    giflib lib32-giflib
    libxpm lib32-libxpm
    libpng lib32-libpng
    libxinerama lib32-libxinerama
    libxcomposite lib32-libxcomposite
    libxmu lib32-libxmu
    libxxf86vm lib32-libxxf86vm
    libxml2 lib32-libxml2
    libxslt lib32-libxslt
    libldap lib32-libldap
    lcms lib32-lcms
    mpg123 lib32-mpg123
    openal lib32-openal
    jack lib32-jack
    libcups lib32-libcups
    gnutls lib32-gnutls
    v4l-utils lib32-v4l-utils
    optdepends=(
    giflib lib32-giflib
    libpng lib32-libpng
    libldap lib32-libldap
    lcms lib32-lcms
    libxml2 lib32-libxml2
    mpg123 lib32-mpg123
    openal lib32-openal
    jack lib32-jack
    libcups lib32-libcups
    gnutls lib32-gnutls
    v4l-utils lib32-v4l-utils
    if [[ $CARCH == i686 ]]; then
    # Strip lib32 etc. on i686
    depends=(${depends[@]/*32-*/})
    makedepends=(${makedepends[@]/*32-*/})
    makedepends=(${makedepends[@]/*-multilib*/})
    optdepends=(${optdepends[@]/*32-*/})
    else
    provides=("bin32-wine=$pkgver" "wine-wow64=$pkgver")
    conflicts=('bin32-wine' 'wine-wow64')
    replaces=('bin32-wine')
    fi
    build() {
    cd "$srcdir"
    # Allow ccache to work
    mv $pkgname-$_pkgbasever $pkgname
    # Get rid of old build dirs
    rm -rf $pkgname-{32,64}-build
    mkdir $pkgname-32-build
    if [[ $CARCH == x86_64 ]]; then
    msg2 "Building Wine-64..."
    mkdir $pkgname-64-build
    cd "$srcdir/$pkgname-64-build"
    ../$pkgname/configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libdir=/usr/lib \
    --with-x \
    --enable-win64
    make
    _wine32opts=(
    --libdir=/usr/lib32
    --with-wine64="$srcdir/$pkgname-64-build"
    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
    fi
    msg2 "Building Wine-32..."
    cd "$srcdir/$pkgname-32-build"
    ../$pkgname/configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-x \
    "${_wine32opts[@]}"
    make
    package() {
    msg2 "Packaging Wine-32..."
    cd "$srcdir/$pkgname-32-build"
    if [[ $CARCH == i686 ]]; then
    make prefix="$pkgdir/usr" install
    else
    make prefix="$pkgdir/usr" \
    libdir="$pkgdir/usr/lib32" \
    dlldir="$pkgdir/usr/lib32/wine" install
    msg2 "Packaging Wine-64..."
    cd "$srcdir/$pkgname-64-build"
    make prefix="$pkgdir/usr" \
    libdir="$pkgdir/usr/lib" \
    dlldir="$pkgdir/usr/lib/wine" install
    fi
    # vim:set ts=8 sts=2 sw=2 et:
    EDIT: Just to make a note. I uninstalled official wine version with pacman and removed .wine from my home. And btw, I'm seeing this md5 checksums all over the web lately, so I'm guessing it's some way to check weather package is corrupted or not? If someone can explane me how can I check package with md5checksum in addition, that would be cool.
    EDIT: One more thing. It says in wiki "now you just need to build that from source..." does that mean I have tounpack tar I just got from running makepkg -s and run install script?
    Last edited by BlackArts (2011-02-05 14:49:55)

    thisoldman wrote:
    You didn't want to use the ABS, you wanted to downgrade the Wine package.  I expect you may still downgrade without too much trouble.
    You should use this wiki article as your guide: https://wiki.archlinux.org/index.php/Do … g_Packages
    BlackArts wrote:I'm seeing this md5 checksums all over the web lately, so I'm guessing it's some way to check weather package is corrupted or not? If someone can explane me how can I check package with md5checksum in addition, that would be cool.
    An md5sum is an integrity check to ensure that copies of a file match the original file.  You can easily Google for linux howtos.
    An ABS pkgbuild contains md5sums for the files in the current Arch version of the software.  The md5sums should not match previous versions of the software.  The files are not the same.
    If you have problems downgrading Wine, others will help, I'm sure.
    Thank you, you're awesome. I'm using linux for about 3.5 weeks now, and I never would have thought that there would be something like A.R.M. Now I can test those wine versions to see with which photoshop work best. Linux is awesome! XD (had to say that, but can't say arch explicitly, cos I haven't tried other versions )

  • How to build, package & deploy web services manually without ant on JWSDP

    Hello,
    How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
    Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
    I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
    Any help would be greatly appreciated.
    Thanks,
    Iftikhar.

    Just follow the step of the JWSDP1.3 tutorial..

  • [SOLVED]How to install packages with the -U option? PGP error.

    I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
    I downloaded the packages i need from here http://schlunix.org/archlinux/.
    These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
    Thanks.
    Last edited by Hyugga (2012-04-19 19:46:23)

    If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.
    A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).
    EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.
    Last edited by Gcool (2012-04-19 19:23:05)

  • Creating PL/SQL Package with all the types

    CREATE OR REPLACE
    TYPE rec_type AS OBJECT (
    first_name VARCHAR2(20),
    last_name VARCHAR2(20)
    CREATE OR REPLACE
    TYPE REC_TYPE_TAB AS TABLE OF rec_type
    I am able to create the above types in oracle and used in PL/SQL packages. And like this I have somany types. I would like to if I can create a package with the types to make the life easier. Could you please tell me how to do it.
    your help is greately appreciated..
    --Krish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    sb92075 wrote:
    TYPE add only aggravation, complexity, & should be avoidedI disagree.
    When used correctly types can be the simplest solution.
    For example when passing multiple values to a stored procedure. Avoiding the type in the below example would lead to further complexity and aggravation not lessen it.
    SQL> create or replace procedure p
      2      (
      3      p_object_list in sys.odcivarchar2list,
      4      p_result out sys_refcursor
      5      ) as
      6  begin
      7      open p_result for
      8          select owner, object_name, object_type
      9          from all_objects
    10          where object_name in
    11              (
    12              select column_value from
    13              table(p_object_list)
    14              )
    15          order by
    16              owner, object_name, object_type;
    17  end;
    18  /
    Procedure created.
    SQL> exec p(sys.odcivarchar2list('DUAL','ALL_OBJECTS'),:c)
    PL/SQL procedure successfully completed.
    SQL> print c
    OWNER                          OBJECT_NAME                    OBJECT_TYPE
    PUBLIC                         ALL_OBJECTS                    SYNONYM
    PUBLIC                         DUAL                           SYNONYM
    SYS                            ALL_OBJECTS                    VIEW
    SYS                            DUAL                           TABLE

  • Package with multiple applets

    Hi
    I want to install 2 applets on real java card. They both are in the same package and cna use each other.
    How can i do this on JCOP ?
    and what if they are on difference packages and what if i am using some other lib as well ? do i need to install that lib too if yes then how ?
    BR
    Umer

    If your packages and applets are in one JCOP Java Card project, this should be handled for you. You can have multiple applets in a package, you can have multiple instances of a single applet, and you can have multiple packages with multiple applets as well as library packages.
    If you want to access an applet from another applet in the same package, it is like referencing any other class instance. If they are in different packages you need to use shareable objects. This is because of the applet firewall.
    Cheers
    Shane

Maybe you are looking for