How to compile SubVersioN 1.7.20 without error?

Hi,
I'm using development tools that only support SVN 1.7 format (e.g. PHPStorm so SVNKit 1.7) so I need to compile and install SVN 1.7. What I need precisely is the Gnome Keyring support (be able to store and use usernames/passwords that are managed by Gnome Keyring).
I'm trying to use the dedicated AUR package with a few modifications to make it work (it's currently broken) but I get stuck at compilation if I leave the main options (I've removed Perl support):
# $Id$
# Maintainer: Stéphane Gaudreault <[email protected]>
# Contributor: Paul Mattal <[email protected]>
# Contributor: Jason Chu <[email protected]>
pkgname=subversion-1.7
pkgver=1.7.20
pkgrel=2
pkgdesc="A Modern Concurrent Version Control System"
arch=('i686' 'x86_64')
license=('APACHE')
depends=('neon' 'apr-util' 'sqlite' 'file' 'serf' 'systemd')
optdepends=('libgnome-keyring' 'kdeutils-kwallet' 'bash-completion: for svn bash completion' \
'python2: for some hook scripts' 'java-environment') #'ruby: for some hook scripts')
makedepends=('krb5' 'apache' 'python2' 'perl>=5.18' 'swig' 'java-runtime' 'java-environment'
'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.apache.org/"
provides=('svn' 'subversion')
conflicts=('svn' 'subversion')
options=('!makeflags' '!libtool' '!emptydirs')
install=${pkgname}.install
source=(http://apache.mirror.rafal.ca/subversion/subversion-$pkgver.tar.bz2 #{,.asc}
svn
svnserve.conf
svnserve.tmpfiles
svnserve.service
subversion.rpath.fix.patch)
md5sums=('bf3b7d480bc99d048eaf36a9fc794f9c'
'a0db6dd43af33952739b6ec089852630'
'c459e299192552f61578f3438abf0664'
'bb2857eceafcfac35dde39dcffad2314'
'e8020c7a1d1a0c47091b5fdd034f81c5'
'6b4340ba9d8845cd8497e013ae01be3f')
build() {
cd "${srcdir}/subversion-${pkgver}"
export PYTHON=/usr/bin/python2
patch -Np0 -i ../subversion.rpath.fix.patch
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/hook-scripts/{,mailer/{,tests/}}*.py
./configure --prefix=/opt/subversion-1.7 --with-apr=/usr --with-apr-util=/usr \
--with-zlib=/usr --with-neon=/usr --with-serf=/usr --with-apxs \
--with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.3 \
--enable-javahl --with-gnome-keyring --with-kwallet \
--with-jdk=/usr/lib/jvm/java-7-openjdk \
--disable-static
make external-all
make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all
make swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py javahl #swig-pl #swig-rb
#check() {
# cd "${srcdir}/${pkgname}-${pkgver}"
# export LANG=C LC_ALL=C
# make check check-swig-pl check-swig-py check-javahl CLEANUP=yes # check-swig-rb
package() {
cd "${srcdir}/subversion-${pkgver}"
export LD_LIBRARY_PATH="${pkgdir}"/usr/lib:${LD_LIBRARY_PATH}
make DESTDIR="${pkgdir}" INSTALLDIRS=vendor \
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
install install-swig-py install-javahl #install-swig-pl #install-swig-rb
install -dm755 "${pkgdir}"/usr/share/subversion
cp -a tools/hook-scripts "${pkgdir}"/usr/share/subversion/
rm "${pkgdir}"/usr/share/subversion/hook-scripts/*.in
# rm "${pkgdir}"/usr/lib/perl5/vendor_perl/auto/SVN/_Core/.packlist
# rm -r "${pkgdir}"/usr/lib/perl5/core_perl
## svnserve ...
# xinetd
install -D -m 644 "${srcdir}"/svn "${pkgdir}"/etc/xinetd.d/svn
# ... systemd
install -D -m 644 "${srcdir}"/svnserve.service "${pkgdir}"/usr/lib/systemd/system/svnserve.service
install -D -m 644 "${srcdir}"/svnserve.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/svnserve.conf
# ... common config
install -D -m 644 "${srcdir}"/svnserve.conf "${pkgdir}"/etc/conf.d/svnserve
install -Dm 644 tools/client-side/bash_completion \
"${pkgdir}"/usr/share/bash-completion/completions/subversion
for i in svn svnadmin svndumpfilter svnlook svnsync svnversion; do
ln -sf subversion "${pkgdir}"/usr/share/bash-completion/completions/${i}
done
I get this error at the end:
.libs/locking_commands.o: In function `organize_lock_targets.isra.1':
locking_commands.c:(.text+0x72b): undefined reference to `svn_wc__node_get_base_rev'
locking_commands.c:(.text+0x76e): undefined reference to `svn_wc__node_get_lock_info'
.libs/merge.o: In function `merge_props_changed':
merge.c:(.text+0x135c): undefined reference to `svn_wc__node_get_base_rev'
.libs/merge.o: In function `merge_reintegrate_cb':
merge.c:(.text+0x4134): undefined reference to `svn_wc__node_get_base_rev'
.libs/merge.o: In function `calculate_remaining_ranges':
merge.c:(.text.unlikely+0x1c07): undefined reference to `svn_wc__node_get_base_rev'
.libs/merge.o: In function `do_merge.isra.42':
merge.c:(.text.unlikely+0x4b1f): undefined reference to `svn_wc__get_server_excluded_subtrees'
.libs/mergeinfo.o: In function `svn_client__get_wc_mergeinfo':
mergeinfo.c:(.text+0xad1): undefined reference to `svn_wc__node_get_base_rev'
mergeinfo.c:(.text+0xc59): undefined reference to `svn_wc__node_get_base_rev'
.libs/patch.o: In function `check_dir_empty.isra.7':
patch.c:(.text+0x299b): undefined reference to `svn_wc__strictly_is_wc_root'
.libs/revert.o: In function `svn_client_revert2':
revert.c:(.text+0x2c3): undefined reference to `svn_wc__strictly_is_wc_root'
.libs/revisions.o: In function `svn_client__get_revision_number':
revisions.c:(.text+0x24d): undefined reference to `svn_wc__node_get_commit_base_rev'
.libs/switch.o: In function `svn_client__switch_internal':
switch.c:(.text+0x563): undefined reference to `svn_wc__node_get_base_rev'
.libs/update.o: In function `update_internal':
update.c:(.text+0x2a6): undefined reference to `svn_wc__node_get_base_rev'
.libs/util.o: In function `svn_client__path_relative_to_root':
util.c:(.text+0x25f): undefined reference to `svn_wc__node_get_repos_relpath'
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'libsvn_client-1.la' with the above command before installing it
build-outputs.mk:956: recipe for target 'install-lib' failed
make: *** [install-lib] Error 1
==> ERROR: A failure occurred in package().
Aborting...
I also know that if I remove almost all options but gnome-keyring I end up with a binary... that crashes when trying to use gnome-keyring authentication (segfault).
Has anyone succeeded in getting a working SVN 1.7 on an up-to-date Arch?
Thanks in advance

I've just tested the build from CollabNet (SVN 1.7.19) an it crashes at the very same moment, which makes me think that the issue might not be with SVN but with a third-party library.
Below are the last lines when I run the command with strace (authentication to svn://myhost/myrepo is of course stored in Gnome-Keyring):
$ svn info svn://myhost/myrepo
recvmsg(4, 0x7ffdcb0261c0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
getrusage(RUSAGE_SELF, {ru_utime={0, 33333}, ru_stime={0, 13333}, ...}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 47923378}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 33333}, ru_stime={0, 13333}, ...}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 47953861}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 33333}, ru_stime={0, 13333}, ...}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 47975327}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 33333}, ru_stime={0, 13333}, ...}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 48018653}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1b\0\0\0\t\0\0\0\221\0\0\0\1\1o\0\30\0\0\0/org/fre"..., 168}, {"1\0\0\0,\0\0\0/org/freedesktop/secrets"..., 98}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 266
poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\243\0\0\0\230\4\0\0=\0\0\0\6\1s\0\6\0\0\0:1.324\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 243
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0x7ffdcb0261c0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
getrusage(RUSAGE_SELF, {ru_utime={0, 33333}, ru_stime={0, 13333}, ...}) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 48160882}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1/\0\0\0\n\0\0\0\230\0\0\0\1\1o\0,\0\0\0/org/fre"..., 168}, {"\33\0\0\0org.freedesktop.Secret.Item\0"..., 47}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 215
poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\226\0\0\0\231\4\0\0-\0\0\0\6\1s\0\6\0\0\0:1.324\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 214
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0x7ffdcb0261c0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Similar Messages

  • How do you run a .sh file without errors?

    Hi. For any of you who are familiar with the game Minecraft, I'm trying to start making my own mods using Minecraft Forge Source. However, in the installation instructions, it says I have to run the install.sh file. But whenever I run it in Terminal, here's all that comes out in the Terminal window:
    *******-MacBook-Pro:~ *******$ /Users/*******/Downloads/forge/install.sh ; exit;python: can't open file 'install.py': [Errno 2] No such file or directory
    logout
    [Process completed]
    Could somebody tell me how to properly run the .sh file without errors? Any help that anyone gives will be appreciated. Thanks.

    You can try Crossover.
    It isn't free, but it lets you run most common windows apps without having to buy windows. (it only works on intel macs).
    Good luck!

  • How to compile for arch on Ubuntu without root?

    Maybe this is not the right section, but since it is about compiling...
    I have access to a rather powerful server, so I thought I could maybe compile some AUR packages like kernel-rc there. Unfortunately it runs ubuntu so gcc is still 4.4 and all the base libs don't match.
    I thought about installing a minimal arch system in a chroot but you need root to chroot...
    My next thought was crosscompiling gcc for ubuntu set up to crosscompile for arch... Doesn't sound fun to set up.
    Any other ideas?

    *edit: rephrasing*
    Do you have (or can you get) permission to run a virtual machine on the server? I compile packages for i686 on x86_64 using a minimal (i686) Arch system in KVM and it works well. I find it to be very clean and easy to manage.
    Last edited by Xyne (2010-05-05 12:29:52)

  • How would i restore my I-pod without error???

    How would i restore it without any error like this "The I-pod could not be restored.An unknown error occurred(6)"

    I had the same problem, but I did find a solution!(someone else posted this also)
    I re-installed itunes 7.4.3, then went to start>control panel>user accounts.
    I created a seperate user account, installed itunes 7.4.3 on that.
    Then I tried to update to firmware 1.1.2 again, it worked, even with usb 1.1.
    Finally,
    I went back to my main user account an uploaded my library.
    hope this works for you

  • How to stop outbound IDOC in PI without error

    Hi,
    The scenario is Idoc - JDBC and personID is unique field in database.
    Now the requirement is, in some cases personID generated after certain process or I can say in some cases personID is not present when this interface runs.
    Now I need to stop outbound Idoc in PI system (without any error) if perosnID is not present. Means I dont want to send any data to database if personID is not present. Is there any way to accomplish this task?
    Regards,
    Chintan

    Hi All,
    Thanks for replying with very useful information and answers, really appreciated.
    I am able to solve this issue by using Node Function at Message Type level. I created following condition at message type level.
    personID -> removecontext -> Equals -> 0001 -> removeContext -> createIf -> receiver MT
    Here i've to use removeContext two times because the segment which contains personID field is repeated many times so I've to check in each segment.
    If this condition fails (if personID is not present ) then the target message structure is not going to be created.
    Thank you once again.
    Regards
    Chintan

  • How to populate ADF Faces Drop Down without Errors?

    Hi,
    I have a drop down in ADF Faces which gets populated when a value is selected in another drop down. And its mandatory that we need to select both the values from the drop down. Hence i have used the attribute 'required' and set it to 'true'. The code snippet is here.
    <af:selectOneChoice styleClass="selectOneClass" unselectedLabel="Pick One" inlineStyle="width:250px" accessKey="S" label="Site" id="siteDrop" disabled="false" rendered="true" required="true"
    requiredMessageDetail="Select a Value" value="#{QualityEvalBean.sites}"
    valueChangeListener="#{QualityEvalBean.siteValueChange}" autoSubmit="true" immediate="true">
    <f:selectItems value="#{QualityEvalBean.siteslist}"/>
    <!--f:selectItem itemLabel="White Field" itemValue="LEVEL4"/-->
    </af:selectOneChoice>
    <af:selectOneChoice inlineStyle="width:250px" unselectedLabel="Pick One" accessKey="T" label="Transaction Type" id="transDrop" rendered="true"
    partialTriggers="siteDrop" immediate="true" required="true" value="#{QualityEvalBean.transactionType}">
    <f:selectItems value="#{QualityEvalBean.transactionTypeList}"/>
    </af:selectOneChoice>
    While picking the value from the first drop down the second drop down is also getting validated and its giving a red colored icon beside the second drop down. There are absolutely no issues in case of populating the values in the second drop down.
    Please help me in this regard.
    Thanks
    Rahul Uday

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • How do I virtualize Adobe Pro XI without error:16 ?

    I have installed and virtualised Adobe Pro XI enterprise licensed edition successfully and can get it to work on one machine. When it is deployed to additional machines it gives error:16 - please uninstall and re-install.

    Microsoft App-V isn't a supported environment for Adobe Acrobat.  Only Adobe Reader 11.0.1 and greater are supported on Microsoft App-V.  I believe this is because of the whole lack of support for Virtual Printer Devices in the App-V environment.
    I don't see Symantec SWV listed anywhere in the ETK as being a supported environment.
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/index.html
    Only Citrix and Windows Terminal Services are currently supported for Adobe Acrobat.

  • How to compile a kernel module without recompiling the whole kernel?

    Hi,
    I'm pretty sure my question is a bit newbish, still I haven't been able to found any information/solution to my problem in 3days.
    The kernel I use doesn't come with the module I need for my hardware and I would like to know if there's a way to compile it without having to make a new kernel myself (since compiling the kernel takes ages on my machine).
    Even if your answer is a "Let me Google that for you", I'm so desperate that I'll be happy to see it.
    Thank you all in advance for your answers!

    Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
    Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
    Actually, try what those links suggest.
    Skip the configuration part, and just do:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
    (maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
    EDIT: Meh, that uses your config and won't build that driver... there must be some way though
    EDIT2: Try:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
    The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
    Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
    You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
    The last line in that screen should read:
    Selects: <list of options>
    As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with  your module.
    Last edited by Blµb (2012-03-02 15:14:16)

  • How to compile and register a Java CFX tag with multiple class files?

    All-
    If this is the wrong forum for CFX questions, please let me
    know.
    I need to determine how to compile and register a Java CFX
    tag that contains multiple class files. One class file implements
    the CustomTag interface and the other class files implement various
    supporting classes. All of the documentation that I have found
    talks about using a single class file. I am assuming that a JAR
    file will be involved, but I am not sure of the specifics.
    Thanks in advance for your help.
    -Josh

    Yes, it will involve a jar. Use your java IDE (eclipse,
    etcetera ..) to create a jar containing all of the classes. Check
    your ide's documentation for how to create jar files. After you
    have created the jar, place the jar in the CF class path so CF will
    recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
    must be restarted before it will detect the new jar. After
    restarting CF, register the CFX tag in the ColdFusion Administrator
    using the name of the class that implements the CustomTag
    interface.
    Though it is worth noting you can also instantiate java
    classes directly from ColdFusion (ie without using a CFX
    tag).

  • How to compile Oracle Linux source?

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?
    I tried to search this forum as well as other places but couldn't find any information hence thought of opening a thread before I proceed to download correct file which will again take 10+ hrs with my Internet speed :(
    Any help is highly appreciated. Also I need to know which packages are required to be installed for compiling the source if at all that is possible. I am using Ubuntu 11.10 Desktop.
    Thanks in advance for any help and hope to get a reply soon :) I need to urgently install Oracle 11gR2 on it.
    Edited by: user6582219 on Apr 12, 2012 1:10 AM
    While browsing the forum for any possible solution I came to a thread that discuss installation of a package oracle-rdbms-server-11gR2-preinstall. When searched through search engine I came to know about recent certification Oracle 11gR2 on Oracle Linux 6, here is the link https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.
    I would still appreciate if someone could answer my question just for knowing the procedure compiling source. May be it can help someone else trying to achieve this.
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.
    Before proceeding here are my environment details:
    Machine: x86 32 bit with 2 GB RAM/250 GB HD.
    OS: Kubuntu 11.10 Desktop and Oracle Linux 6 Update 2 in dual boot mode.
    Here are my partition details for your reference but as I am planning to do the installation from the scratch following new ideal scheme you can jump to last paragraph following the line "*********************************" for my questions.
    Unfortunately my partition plan went wrong and here is what I have now:
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3d5ba9e1
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 1002047 500000 83 Linux
    /dev/sda2 151525080 361253654 104864287+ 7 HPFS/NTFS/exFAT
    /dev/sda4 1003518 151001087 74998785 5 Extended
    /dev/sda5 1003520 7002111 2999296 82 Linux swap / Solaris
    /dev/sda6 7004160 11001855 1998848 83 Linux
    /dev/sda7 11003904 51001343 19998720 83 Linux
    /dev/sda8 51003392 110041087 29518848 83 Linux
    Partition table entries are not in disk order
    /dev/sda1 here is /tmp, /dev/sda2 is my data partition, I have separate /home / (root) partition for Kubuntu and remianing around 20 GB in extended partition is used for Oracle Linux 6.2 with default Oracle suggested LVM partition. I also have separate /boot for Kubuntu and I chose not to install grub while installing Oracle Linux. I later modified grub.cfg to add entries for Oracle Linux and now I can boot both OSs successfully.
    My issue now is I cannot extend 20 GB space (in extended partition) that I have given to Oracle though I have around 40 GB space available. This is because I alreay have 4 primary partitions (one for /boot others for "data" and one extended partition). So I have to make primary partition out of free space and install Oracle in a single partition without following recommended partition layout scheme.
    Now I want to do the installation of both the OS from the scratch and really need an advice on partition layout scheme. Here is summary of what I wan to achieve:
    1. Keep the "data" partition (primary) intact and carve an ideal partition layout for both the OS with separate /boot, /tmp, /home, swap (and may be for /usr???). Also may be I can share swap?
    2. How do I go about using LVM and is it recommended for this case? What would be ideal locations for each partitions and sizes? I already used 100 GB for "data" so now I want to keep 60 GB for Oracle Linux (and Oracle DB for which I will again make few sub-partitions) and remaining will be for Kubuntu.
    Well, I am not sure if this is the right place to ask these questions but since I can see very knowlegeable top contributors here that are willing to help novice users I thought of posting these questions.
    I would really really appreciate if someone can provide me rough draft of partition scheme in my case considering the sub-partitions needed for Oracle DB. I went thorugh number of forums and documentations to come up with solutuion and finally thought of getting help after much confusion.
    I really need to carefully plan this time because it's third time I am doing reinstallation from the scratch because of poor plan I followed previously.
    Thank you very much in advance and please let me know in case more information is needed from my side.
    Regards,
    Ramesh

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?Google will be your best friend for such a question, for instance, "Creating a Custom centos Linux bootable ISO Image". There is no need to duplicate the effort. I recommend you download the correct installation DVD, e.g. 5.8
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.So you don't need to install 5.2 anymore, but you want the information how to compile a installation DVD from the 5.2 source anyway?!
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.Questions may be important for you, but not necessarily for others. No one will complain if you create a new thread for particular questions or subjects. It is better to separate your topics and questions rather than creating a multi-mega thread, which does little to help anyone else but you. It means more work on your end, but it will be easier for anyone to participate or answer your questions, and it will allow you to better award answers.
    Regarding your partitioning questions: It is generally difficult to address such topics in a forum. You are asking for a book of information. My advice is to drop the old fashioned concepts of dual or triple boot options and install Oracle VirtualBox instead. It will make all of these questions obsolete and you can use whatever defaults when installing your virtual machine guest OS. Its a far more superior way of dealing with multiple operating systems on one and the same computer.
    I am using Ubuntu 11.10 Desktop.
    I need to urgently install Oracle 11gR2 on it.For what it's worth, if you can combine the two source below you should be able to install and run 11gR2 on Ubuntu 11.10.
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    However, check out VirtualBox.

  • How to compile the DB lookup code for XI:

    Dear All,
    i am very new to java and XI. Please let me know how to compile a Java Code for DB lookup and put in the imported Archive in IR. is there a seperate way to do it? Please guide me step by step. for performing Communication channel DB lookup.
    I have gone through the Communication channel lookup of siva,
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    but i am not understanding how to compile the given code in Advanced user functions area without any mandetory .jar files and header files. and put it into XI .
    please guide me.
    I mean i use a jdk1.4.2 Compiler as my XI server has 1.4.2 compiler.
    Regards,
    prakash
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:03 AM
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:04 AM

    Hi,
    You don't have to worry about compliation. XI will automatically comple it when you create the udf, activate it and test your mapping. In case of any error it will give compliation error there itself.
    Regarding all the mandatory jar files which are required for compilation is already available in XI server.
    If you are using any third party libraries(jar files) you just need to add the jar file in your external definition and need to import the necessary packages in User Define Function. I hope it answers all your questions.
    Thanks
    Amit
    Reward point if answer is helpful

  • How to compile programs from this sites tutorial?

    Hi, so i'm reading the "GUI" tutorial on this website, it's great but when I compile the example "source codes" it gives me this error:
    Error: File is in the wrong directory or is declared part of the wrong package. Directory name 'Anna - java' does not match package name 'components'.
    So I get the source codes from this website: http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#ButtonDemo
    So say I get BorderDemo.java .... when I compile it it gives me this error: Directory name 'MyDocuments - java' does not match package name 'components'.
    How do I make it compile and run properly, and how can I ALSO compile it properly withOUT the package "components"?
    thanks.

    Error: File is in the wrong directory or is declared part of the wrong package. Directory name 'Anna - java' does not match package name 'components'.That error tells you all you need to know. You have to respect the existing directory structure, you can't change it. If they've put their code into a package called 'components' it has to be in directory called 'components'. Period. If you want to change that (a) you will have to change all the internal package names in the Java code, and (b) 'Anna - java' is not a legal Java package name.

  • How to compile and add my own protocol

    I want to send a sms without user intervention i have got a code from net which specifies a separate protocol for message.
    Now i am unable to compile it .I need a kmidp20.zip file for it.
    Can anyone tell me how to compile it.
    I need it very urgently for my application
    I am Sending u the code.I found it at the web page
    http://www.mobile-j.de/snipsnap/space/J2ME/Sending+SMS+from+MIDlet+without+user+intervention
    This certainly don't works since "xsms" is not an registered protocol.
    So we add this protocol to the package com.symbian.midp.io.protocol.xsms: (To compile the com.symbian.midp.io.protocol.xsms.Protocol class you will need the "kmidp20.zip" from the Nokia Series_60_MIDP_SDK_2_1 (I guess an other version will do also) in your classpath.)
    package com.symbian.midp.io.protocol.xsms;import com.symbian.gcf.*;
    import com.symbian.javax.wireless.messaging.SMSConnectionSession;
    import java.io.IOException;
    import javax.microedition.io.Connection;public final class Protocol extends ProtocolBase
    public Protocol()
    super("sms", "sms");
    public void ensurePermission(String aName)
    // do nothing � hehe
    } public Connection openConnection(URI aUri, int aMode, boolean aTimeouts)
    throws IOException
    if(aUri.toString().startsWith("xsms")){
    aUri = new URI(aUri.toString().substring(1));
    } com.symbian.gcf.ConnectionSession session = SMSConnectionSession.getSession();
    String host = aUri.getHost();
    ConnectionEndPoint connection;
    if(isServerConnection(aUri))
    connection = null;
    } else
    if(aMode == 1)
    throw new IllegalArgumentException();
    connection = new SMSClientConnectionImpl(session, aUri, 2);
    connection.open();
    return connection;
    } protected boolean isServerConnection(URI aUri)
    return aUri.getHost().length() == 0;
    and we need this in that package:
    package com.symbian.midp.io.protocol.xsms;
    import com.symbian.gcf.*;
    import com.symbian.javax.wireless.messaging.*;
    import com.symbian.midp.runtime.Security;
    import com.symbian.util.BlockingOperation;
    import com.symbian.util.NativeError;
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import javax.wireless.messaging.*;class SMSClientConnectionImpl extends DatagramConnectionEndPoint
    implements MessageConnection
    {    SMSClientConnectionImpl(ConnectionSession aSession, URI aUri, int aMode)
    throws IOException
    super(aSession, aUri, aMode);
    iUri = aUri;
    iSendPermissionArgs = new String[2];
    } public final Message newMessage(String aType)
    String address = null;
    if(iUri.getHost().length() > 0)
    address = iUri.toString();
    return newMessage(aType, address);
    } public final Message newMessage(String aType, String aAddress)
    Message msg;
    if(aType.equals("binary"))
    msg = new BinaryMessageImpl(aAddress, 0L);
    else
    if(aType.equals("text"))
    msg = new TextMessageImpl(aAddress, 0L);
    else
    throw new IllegalArgumentException();
    return msg;
    } public final int numberOfSegments(Message aMsg)
    MessageImpl messageImpl = getMessageImpl(aMsg);
    int numberOfSegments = 0;
    synchronized(super.iCloseOperation.getLock())
    if(super.iState != 2)
    numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 0);
    if(numberOfSegments < 0)
    numberOfSegments = 0;
    return numberOfSegments;
    } public final void send(Message aMsg)
    throws IOException, InterruptedIOException
    String address = aMsg.getAddress();
    if(address == null)
    throw new IllegalArgumentException("No address");
    URI uri = new URI(address);
    MessageImpl messageImpl = getMessageImpl(aMsg);
    synchronized(super.iWriteOperation.getLock())
    synchronized(super.iWriteOperation)
    synchronized(super.iCloseOperation.getLock())
    ensureOpen();
    iSendPermissionArgs[0] = address;
    int numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 1);
    if(numberOfSegments < 0)
    if(numberOfSegments == -40)
    throw new IllegalArgumentException("Message too big");
    NativeError.check(numberOfSegments);
    iSendPermissionArgs[1] = Integer.toString(numberOfSegments);
    checkSecurity("javax.wireless.messaging.sms.send", iSendPermissionArgs);
    int status = send(super.iNativePeerHandle, EMPTYBYTE_ARRAY, 0, 0, address);
    checkError(status);
    super.iWriteOperation.waitForCompletion();
    checkError(super.iWriteOperation.getResult());
    } public void setMessageListener(MessageListener aListener)
    throws IOException
    throw new IOException("Must be Server");
    } public Message receive()
    throws IOException, InterruptedIOException
    throw new IOException("Must be Server");
    } private static MessageImpl getMessageImpl(Message aMessage)
    MessageImpl messageImpl = null;
    try
    messageImpl = (MessageImpl)aMessage;
    catch(ClassCastException ex)
    throw new IllegalArgumentException("Not from newMessage()");
    return messageImpl;
    } protected static void checkSecurity(String aPermission, String aPermissionArgs[])
    // Security.ensurePermission(aPermission, aPermission, aPermissionArgs);
    } protected static final int MESSAGE_TYPE = 0;
    private static final String MUST_BE_SERVER_MSG = "Must be Server";
    private static final String SEND_PERMISSION = "javax.wireless.messaging.sms.send";
    private static final int SEND_PERMISSION_ARGS_TOTAL = 2;
    private static final int SEND_PERMISSION_ARGS_URI_INDEX = 0;
    private static final int SEND_PERMISSION_ARGS_SEGMENTS_INDEX = 1;
    private static final byte EMPTY_BYTE_ARRAY[] = new byte[0];
    private URI iUri;
    private String iSendPermissionArgs[];}

    I want to send a sms without user intervention i have got a code from net which specifies a separate protocol for message.
    Now i am unable to compile it .I need a kmidp20.zip file for it.
    Can anyone tell me how to compile it.
    I need it very urgently for my application
    I am Sending u the code.I found it at the web page
    http://www.mobile-j.de/snipsnap/space/J2ME/Sending+SMS+from+MIDlet+without+user+intervention
    This certainly don't works since "xsms" is not an registered protocol.
    So we add this protocol to the package com.symbian.midp.io.protocol.xsms: (To compile the com.symbian.midp.io.protocol.xsms.Protocol class you will need the "kmidp20.zip" from the Nokia Series_60_MIDP_SDK_2_1 (I guess an other version will do also) in your classpath.)
    package com.symbian.midp.io.protocol.xsms;import com.symbian.gcf.*;
    import com.symbian.javax.wireless.messaging.SMSConnectionSession;
    import java.io.IOException;
    import javax.microedition.io.Connection;public final class Protocol extends ProtocolBase
    public Protocol()
    super("sms", "sms");
    public void ensurePermission(String aName)
    // do nothing � hehe
    } public Connection openConnection(URI aUri, int aMode, boolean aTimeouts)
    throws IOException
    if(aUri.toString().startsWith("xsms")){
    aUri = new URI(aUri.toString().substring(1));
    } com.symbian.gcf.ConnectionSession session = SMSConnectionSession.getSession();
    String host = aUri.getHost();
    ConnectionEndPoint connection;
    if(isServerConnection(aUri))
    connection = null;
    } else
    if(aMode == 1)
    throw new IllegalArgumentException();
    connection = new SMSClientConnectionImpl(session, aUri, 2);
    connection.open();
    return connection;
    } protected boolean isServerConnection(URI aUri)
    return aUri.getHost().length() == 0;
    and we need this in that package:
    package com.symbian.midp.io.protocol.xsms;
    import com.symbian.gcf.*;
    import com.symbian.javax.wireless.messaging.*;
    import com.symbian.midp.runtime.Security;
    import com.symbian.util.BlockingOperation;
    import com.symbian.util.NativeError;
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import javax.wireless.messaging.*;class SMSClientConnectionImpl extends DatagramConnectionEndPoint
    implements MessageConnection
    {    SMSClientConnectionImpl(ConnectionSession aSession, URI aUri, int aMode)
    throws IOException
    super(aSession, aUri, aMode);
    iUri = aUri;
    iSendPermissionArgs = new String[2];
    } public final Message newMessage(String aType)
    String address = null;
    if(iUri.getHost().length() > 0)
    address = iUri.toString();
    return newMessage(aType, address);
    } public final Message newMessage(String aType, String aAddress)
    Message msg;
    if(aType.equals("binary"))
    msg = new BinaryMessageImpl(aAddress, 0L);
    else
    if(aType.equals("text"))
    msg = new TextMessageImpl(aAddress, 0L);
    else
    throw new IllegalArgumentException();
    return msg;
    } public final int numberOfSegments(Message aMsg)
    MessageImpl messageImpl = getMessageImpl(aMsg);
    int numberOfSegments = 0;
    synchronized(super.iCloseOperation.getLock())
    if(super.iState != 2)
    numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 0);
    if(numberOfSegments < 0)
    numberOfSegments = 0;
    return numberOfSegments;
    } public final void send(Message aMsg)
    throws IOException, InterruptedIOException
    String address = aMsg.getAddress();
    if(address == null)
    throw new IllegalArgumentException("No address");
    URI uri = new URI(address);
    MessageImpl messageImpl = getMessageImpl(aMsg);
    synchronized(super.iWriteOperation.getLock())
    synchronized(super.iWriteOperation)
    synchronized(super.iCloseOperation.getLock())
    ensureOpen();
    iSendPermissionArgs[0] = address;
    int numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 1);
    if(numberOfSegments < 0)
    if(numberOfSegments == -40)
    throw new IllegalArgumentException("Message too big");
    NativeError.check(numberOfSegments);
    iSendPermissionArgs[1] = Integer.toString(numberOfSegments);
    checkSecurity("javax.wireless.messaging.sms.send", iSendPermissionArgs);
    int status = send(super.iNativePeerHandle, EMPTYBYTE_ARRAY, 0, 0, address);
    checkError(status);
    super.iWriteOperation.waitForCompletion();
    checkError(super.iWriteOperation.getResult());
    } public void setMessageListener(MessageListener aListener)
    throws IOException
    throw new IOException("Must be Server");
    } public Message receive()
    throws IOException, InterruptedIOException
    throw new IOException("Must be Server");
    } private static MessageImpl getMessageImpl(Message aMessage)
    MessageImpl messageImpl = null;
    try
    messageImpl = (MessageImpl)aMessage;
    catch(ClassCastException ex)
    throw new IllegalArgumentException("Not from newMessage()");
    return messageImpl;
    } protected static void checkSecurity(String aPermission, String aPermissionArgs[])
    // Security.ensurePermission(aPermission, aPermission, aPermissionArgs);
    } protected static final int MESSAGE_TYPE = 0;
    private static final String MUST_BE_SERVER_MSG = "Must be Server";
    private static final String SEND_PERMISSION = "javax.wireless.messaging.sms.send";
    private static final int SEND_PERMISSION_ARGS_TOTAL = 2;
    private static final int SEND_PERMISSION_ARGS_URI_INDEX = 0;
    private static final int SEND_PERMISSION_ARGS_SEGMENTS_INDEX = 1;
    private static final byte EMPTY_BYTE_ARRAY[] = new byte[0];
    private URI iUri;
    private String iSendPermissionArgs[];}

  • How to compile and run package programs in Java

    Hi,
    I want to know how to compile and run the package programs in Java using -d. instead of creating the package folder manually.
    eg:
    package Test;
    class test1
    public void disp()
    //Any code;
    I want to compile this without creating the folder ' Test ' manually. that is if we use -d with javac the Test folder will be created automatically. I need the format of -d
    could anyone please help me.
    Thanks in Advance ,
    Ambika

    My program Test.java in F:\Tomcat5\webapps\Ambika\WEB-INF\Classes. I compiled in the format below. I got like this. What should I do for this? But yesterday I compiled like this only, It compiled and the folder com\cert\Test.class is created. Today again I compiled the pgm after deleting the already created folder 'com\cert', I got the error like this.
    I've given my pgm and the thing I've got when I compiled it.
    Test.java
    package com.cert;
    public class Test
         public void display()
              System.out.println("Hai");
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>javac -d F:\Tomcat5\webapps\Ambika\WEB-INF\Classes\Test.java
    javac: no source files
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are u
    sed
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>
    Plz help me.
    thanks in advance
    Ambika

  • How to compile a LabVIEW VI into a standalone .exe programme? (LV8.5.1 student edition)

    Hi,
    I have LabVIEW 8.5.1 Student Edition and am not sure how to compile my VI into a standalone executable (.exe file) that can run without LabVIEW being installed on the computer (no data cards are being read, the VI is providing a simulation of an experiment)?
    Do I need to buy additional software to do this, or have I just missed an option in the LabVIEW menu's?
    Thanks for the help  

    Building and distributing an executable is probably beyond the intended scope of the student edition. The application builder is not included.
    (The application builder alone is several times the cost of the student edition....) 
    You have a few alternatives:
    Check with your school, maybe they have a NI campus license, for example.
    Maybe you can host the program on your computer and let others use it via the web (one at the time). 
    One of us can probably built the application for you if you post the VIs.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How to Backup & Partition Internal Hard Drive

    I have a macbook pro 2.4ghz. I need to partition my hard drive to have a separate volume for photoshop scratch disk. How do I actually back up the drive prior to the reformatting? Do I create a bootable clone to restore the main volume. Specific step

  • Sockets work on localhost but not remotely?

    hi there, I have created a simple multithreaded client / server program. The Server listens on port 2222 for clients. When a client connects - the client sends its ip address to the server and then disconects. More than 1 client can connect at the sa

  • How to Connect the Asha 205 to PC

    hi..... i have Nokia Asha 205 and i wanna to connect it with my Pc and it dont have connection port... so how will i connect it .... help pllzzzz Thanks Moderator's Note: The subject was amended as the post was moved to the appropriat board.

  • T410 battery firmware update fails

    Hello, Yesterday my ThinkVantage Toolbox offered me to update my battery firmware because of some critical issue. When I pressed on "Update now" it directed me to here. I downloaded a file for my T410 (type: 2537-22G) however, when I try to install i

  • Cross company code transcations

    hai to all my loving friends What r cross company code transcations. pls explain how this trancations r going to be done ,what r the advantages of it,pls any attachments. [email protected]