Ifolder on opensuse 12.3

hello guys,
this is the forst time for me to deal with i folder and i need to know how to install it on opensuse V 12.3.
thanks a lot for help

On 29/07/2013 11:36, spartakos wrote:
> this is the forst time for me to deal with i folder and i need to know
> how to install it on opensuse V 12.3.
This was covered in an earlier thread which should be above/below this
one - see http://forums.novell.com/forum/showthread.php?t=465855
HTH.
Simon
Novell Knowledge Partner
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Technology Transfer
Partner (TTP) program. See novell.com/ttp for more details.

Similar Messages

  • Ifolder not starting correctly ??

    hi, i downloaded a vmware image from the opensuse gallery. its called iFolder JeOS heres the link if you want to look at it. iFolder JeOS – SUSE Gallery. i followed the instructions but i did not include ssl or LDAP. i set the machine up to have a static address , 192.168.3.105. it almost seems to work. i can open the ifolder administation page and create a new user. but i notice something wrong, when i select the server tab it shows my server, but when i click on my server it says that my server is offline. if i try to go to https://192.168.3.105/simias10. it says unable to connect. when i start the client machine and go though the ifolder account creation wizard and fill everything in then i press the connect button. i get the following error "an errror was encounteed while connectiong to the ifolder server. please verify the information entered and try again. i feel like a server has failed to start, or was not configured correctly. can anyone help. i used to use linux till about 5 years ago, i got rust all over.

    Originally Posted by michaelleewebb
    hi, i downloaded a vmware image from the opensuse gallery. its called iFolder JeOS heres the link if you want to look at it. iFolder JeOS – SUSE Gallery. i followed the instructions but i did not include ssl or LDAP. i set the machine up to have a static address , 192.168.3.105. it almost seems to work. i can open the ifolder administation page and create a new user. but i notice something wrong, when i select the server tab it shows my server, but when i click on my server it says that my server is offline. if i try to go to https://192.168.3.105/simias10. it says unable to connect. when i start the client machine and go though the ifolder account creation wizard and fill everything in then i press the connect button. i get the following error "an errror was encounteed while connectiong to the ifolder server. please verify the information entered and try again. i feel like a server has failed to start, or was not configured correctly. can anyone help..
    I'd try reconfiguring the server - if you are getting an error on the simias10 page - there is something not right with the base configuration.
    On a next reconfiguration, try using SSL. Setting up SSL on openSUSE is not that hard to setup (for example see steps 1 & two in the bit 'Configuring Apache for SSL' : Installing iFolder Server on openSUSE 11.1 & 11.2 | DiWi ).
    The rest of that blog is dated as I wrote it for 11.1, but there is an updated blog here
    iFolder on OpenSuSE 11.3 full install walkthrough daniel lench
    that might help in getting a better pictures of what needs to be configured and shake off the rust a bit :)
    Also, the author of the iFolder JeOS might be able to give you some pointers?
    Cheers,
    Willem

  • Ifolder Client on openSUSE 11.4

    Hi any and all.
    I've just upgraded a machine to openSUSE 11.4 x66, and can't seem to make the ifolder client run on it.
    I've tried both the default from the OSS repo, and the buildservice version from
    Index of /repositories/network:/ifolder:/Factory/openSUSE_11.4
    Presently with the latter repo, when I launch the splash appears for about 5 seconds, and then dies with the following error to console
    > ifolder --showconsole
    Error: Cannot start the local web services.
    Error: The Simias process failed to initialize.
    Use the command line switch --showconsole to view the error.
    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
    at Novell.iFolder.iFolderApplication.StartiFolder () [0x00000] in <filename unknown>:0
    at System.Threading.Thread.StartUnsafe () [0x00000] in <filename unknown>:0
    Any suggestions?
    Thanks, Alex

    On Sat, 12 Mar 2011 00:36:02 GMT
    agt499 <[email protected]> wrote:
    >
    > Hi any and all.
    > I've just upgraded a machine to openSUSE 11.4 x66, and can't seem to
    > make the ifolder client run on it.
    >
    > I've tried both the default from the OSS repo, and the buildservice
    > version from
    > 'Index of /repositories/network:/ifolder:/Factory/openSUSE_11.4'
    > (http://download.opensuse.org/reposit.../openSUSE_11.4)
    >
    > Presently with the latter repo, when I launch the splash appears for
    > about 5 seconds, and then dies with the following error to console
    > > > ifolder --showconsole
    > > Error: Cannot start the local web services.
    > > Error: The Simias process failed to initialize.
    > > Use the command line switch --showconsole to view the error.
    > >
    > > Unhandled Exception: System.NullReferenceException: Object reference
    > > not set to an instance of an object
    > > at Novell.iFolder.iFolderApplication.StartiFolder () [0x00000] in
    > > <filename unknown>:0
    > > at System.Threading.Thread.StartUnsafe () [0x00000] in <filename
    > > unknown>:0
    > >
    >
    > Any suggestions?
    > Thanks, Alex
    >
    >
    Hi
    I've asked one of the iFolder devs to create the 11.4 ones in their
    home repository. Keep and eye out on OBS search for home:rkumar1
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.1-1.2-desktop
    up 1 day 3:17, 5 users, load average: 0.05, 0.19, 0.44
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26

  • OpenSUSE 12.3 and iFolder

    Anybody managed to get the most recent iFolder running on openSUSE 12.3 yet? I keep getting mono errors from what I gathered its because its complied for a different version of mono...
    Anybody got any info on this? Or have a I just missed a dependency? The log below is what i get when it launches.
    Code:
    Missing method System.Type::op_Equality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    (process:4535): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    (process:4535): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    (process:4535): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
    (process:4535): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
    (process:4535): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    (process:4535): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
    It talks about a sharp lib at top which I made sure I have but still cant get it working. Some assistance on this would be great if anybody managed it.
    I did find this and try it only to get another error about CLI image.
    http://orangesquash.org.uk/~laney/bl...0/mono-gotcha/
    Thats the article that says its a mono problem because it was compiled for old version.
    Thanks
    William

    Originally Posted by smily_03
    It looks like iFolder on oS 12.3 is kind of a no-go at this point.
    In order to get it to *mostly* work, I had to first install the packages for iF 2.8.4 (which takes mono 2.6.7) and the *-sharp2-*-13.* versions from oS 12.2 mentioned below, and then do the one-click install for the 3.9.1.svn client (which takes mono 3.0.4 and simias 1.9.1.svn) on software.opensuse.org (which doesnt try to upgrade the *sharp2* packages.)
    (Just downgrading to the old versions after you installed the 3.9.1 client didnt seem to work for some reason.)
    The reason is there appears to be an issue with the *-15* version of the gnome-sharp2 libraries that come with oS 12.3:
    art-sharp2-2.24.2-15.4.1.i586
    gnome-sharp2-2.24.2-15.4.1.i586
    gconf-sharp2-2.24.2-15.4.1.i586
    gnome-vfs-sharp2-2.24.2-15.4.1.i586
    If you try to use these versions, the client wont start, and if you run it from the command line to see whats going on, youll end up with this error:
    Missing method System.Type::op_Equality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll
    However, if you install the *-13* versions from oS 12.2:
    art-sharp2-2.24.2-13.1.2.i586
    gnome-sharp2-2.24.2-13.1.2.i586
    gconf-sharp2-2.24.2-13.1.2.i586
    gnome-vfs-sharp2-2.24.2-13.1.2.i586
    then things work (including the 3.9.1 client and mono 3.0.4.)
    However, as soon as you install the old versions, oS notifies you of an update (opensuse-2013-339,) which installs the new versions again, which breaks the client, which sends you spiraling down in a loop of frustration and annoyance.
    At least thats what Ive been dealing with yesterday and today :/
    Unfortunately, it looks like you cant just stick with the 2.8.4 client on 12.3, because you are greeted with any number of different errors depending on which version of Simias you try (I tried 1.8.5. 10252, 10349, and 10363)
    Ah thats not so good. But thanks for the detailed reply.
    Thanks
    William

  • IFolder Client on OpenSuSe 12.2

    Hi, anybody out there with a bit more skill than me able suggest any tricks from getting the iFolder client up on OS 12.2?
    It seems to install OK off a Factory package, but won't fire up.
    Problem seems to be in GLib not mono (for once!)
    -I can't quite figure out which runtime it has the version error with?
    Any ideas welcome!
    Code:
    WARNING: The runtime version supported by this application is unavailable.
    Using default runtime: v2.0.50727
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
    (process:6424): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
    (process:6424): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
    (process:6424): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
    (process:6424): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
    (process:6424): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    (process:6424): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()

    For anyone else having a similar problem, it turns out the missing package I had to install was libgnomeui, which wasn't listed as a dependency.
    I found it sort-of-by-accident, -I realised iFolder was working this morning and managed to "rpm -qa --last" my way to finding what did it!

  • Ifolder

    I'm trying to set up ifolder,
    I've built the dependencies from AUR just fine (libfaim, pkgversion and 2 others)
    trying to build it using aur. So far I get past the "libfaim" error (which can be solved by performing
    PKG_CONFIG_PATH=/usr/lib64/pkgconfig
    export PKG_CONFIG_PATH
    just befor running the ./autogen.sh script.
    Right now I'm getting stuck at the part in which a precompiled version of "gsoap" is being used to compile the ifolder server package.
    After read http://baptiste.us/2006/04/12/building- … or-x86_64/ I get the impression that the version of gsoap is build on x86 and won't work on amd64. I am, though, capable of building gsoap on amd64 using the "orig" packages from debian.
    Also, there are packages (rpm) for amd64 opensuse systems and there also appear to be ready build packages for ubuntu and fedora amd64 systems.. So it should be possible to build it on a amd64 arch system as well..
    But I don't know how.
    Is there anyone who can help me out and provide either a source tarball with the proper gsoap version in "tools" or with a package ready for pacman to use on amd64 systems?
    Thanx a lot in advance!
    Cheers
    Last edited by dafart (2007-03-27 18:06:54)

    Okay I actually solved the issue, this is what I did:
    build the dependancies from aur (they all should build fine)
    after that download the source tarball from novell's site http://forgeftp.novell.com/ifolder/serv … rrent/src/
    extract the source
    cd tools/gsoap/linux-2.7/src
    make
    cp soapcpp2 ..
    cd ..
    cp -a ../macosx-2*/wsdl .
    cd wsdl
    make
    now you can build the package from source, since libflaim gets installed to /usr/lib64/ you should perform this before compiling first:
    PKG_CONFIG_PATH=/usr/lib64/pkgconfig
    export PKG_CONFIG_PATH
    after that you can run the ./autogen.sh script and "make" the package.
    In order to make an ifolder-server-3.5.7039.1-1.pkg.tar.gz package I rebuild the source tarball after the first step and used the PKGBUILD from cvs to build this newly created package.. which turned out to work fine.
    Enjoy and good luck!

  • Ifolder not syncronising on 1 pc

    I folder is not loging into Server on 1 PC
    The same username and password works on another PC!!
    I have removed and re-installed ifolder
    Any ideas how to fix this?
    client version 3.8.4.1

    On Thu, 18 Aug 2011 11:26:47 GMT
    "simon" <[email protected]> wrote:
    > I folder is not loging into Server on 1 PC
    >
    > The same username and password works on another PC!!
    >
    > I have removed and re-installed ifolder
    >
    > Any ideas how to fix this?
    >
    > client version 3.8.4.1
    >
    >
    Hi
    What about a different user/password? Can you monitor connections on
    the server (wireshark?) and see an incoming connection from the PC in
    question?
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 18:22, 3 users, load average: 0.13, 0.11, 0.13
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13

  • Annoying iFolder Server Problems

    Hello,
    I am using the open source edition of iFolder Server 3.8 on Ubuntu 10.04 for 2 weeks now and have already encountered several issues.
    Most of them are not that problematic, but one thing does really bother me:
    - User 1 (using opera) uses the web interface and starts downloading a big (>1 GB) file
    -> During the download, user 1 cannot use the web interface any more. Any link just won't finish loading and nothing happens.
    - Now user 2 (using firefox) tries to log in. There are several things which might happen: Sometimes the login just works. Sometimes, after some time, the iFolder interface reports a timeout (during connecting to simias, if a remember correctly). There was also another possible error message which i will copy later, if it appears again. Just reloading the page brings up the correct screen, with the user correctly logged in.
    - When user 2 now tries do download a file, either a timeout is shown (see below) OR it works, BUT the download of user 1 is interrupted!
    The error message user 2 sees is:
    System.Net.WebException: The request timed out
    at System.Net.HttpWebRequest.GetRequestStream () [0x00000]
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke (System.String method_name, System.Object[] parameters) [0x00000]
    After this, the web interface does not seem to work any more for user 2 also.
    After interrupting manually the download of user 1 (of not happend during the user 2 actions above already), the web interface is back to normal.
    I am also using windows and linux clients and they seem to work without a problem.
    In Simias.log are only "DEBUG" messages during that time, nothing indicates a problem.
    In Apaches error.log there are entries like
    [Sun Mar 06 01:09:04 2011] [notice] Apache/2.2.14 (Ubuntu) mod_mono/2.4.3 mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Sun Mar 06 01:09:04 2011] [warn] long lost child came home! (pid 17902)
    [Tue Mar 08 02:52:54 2011] [error] (32)Broken pipe: write_data failed
    [Tue Mar 08 02:52:54 2011] [error] command failed: failed to get client block (data size)
    [Tue Mar 08 16:34:45 2011] [error] (70014)End of file found: read_data failed
    [Tue Mar 08 16:34:45 2011] [error] Command stream corrupted, last command was 0
    [Sat Mar 12 14:42:26 2011] [error] Unknown command: 1505809829
    [Sat Mar 12 15:47:00 2011] [error] (70014)End of file found: read_data failed
    [Sat Mar 12 15:47:00 2011] [error] command failed: failed to read data for SEND_FROM_MEMORY command
    Please, can anybody help me with this issue? What further information is needed?

    On Sat, 12 Mar 2011 16:36:01 GMT
    GarlandZero <[email protected]> wrote:
    >
    > Hello,
    >
    > I am using the open source edition of iFolder Server 3.8 on Ubuntu
    > 10.04 for 2 weeks now and have already encountered several issues.
    > Most of them are not that problematic, but one thing does really
    > bother me:
    >
    > - User 1 (using opera) uses the web interface and starts downloading a
    > big (>1 GB) file
    > -> During the download, user 1 cannot use the web interface any more.
    > Any link just won't finish loading and nothing happens.
    > - Now user 2 (using firefox) tries to log in. There are several things
    > which might happen: Sometimes the login just works. Sometimes, after
    > some time, the iFolder interface reports a timeout (during connecting
    > to simias, if a remember correctly). There was also another possible
    > error message which i will copy later, if it appears again. Just
    > reloading the page brings up the correct screen, with the user
    > correctly logged in.
    > - When user 2 now tries do download a file, either a timeout is shown
    > (see below) OR it works, BUT the download of user 1 is interrupted!
    >
    Hi
    I wonder if you interface it getting hammered by user 1, so you might
    need to look at some sort of QoS to ensure all users get an equal share
    of your network interface.
    Install something like etherape to see (Should be an apt-get for that?).
    http://etherape.sourceforge.net/
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.1-1.2-desktop
    up 1 day 19:06, 3 users, load average: 0.09, 0.16, 0.21
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26

  • Unable to connect to ifolder server?

    Hello all,
    I am trying to connect the ifolder server from the ifolder client, i am getting the below error while connecting, please suggest
    Msg System.ArgumentNullException: null key
    Parameter name: key
    at System.Collections.Hashtable.Find (System.Object key) [0x00000]
    at System.Collections.Hashtable.Contains (System.Object key) [0x00000]
    at System.Collections.Hashtable.ContainsKey (System.Object key) [0x00000]
    at Simias.WebState..ctor (System.String DomainID) [0x00000]
    at Simias.DomainServices.DomainAgent.Login (System.Uri host, System.String domainID, System.Net.NetworkCredential networkCredential, Boolean calledRecursive) [0x00000]
    at Simias.DomainServices.DomainAgent.Attach (System.String host, System.String user, System.String password) [0x00000]
    at Simias.Web.SimiasService.ConnectToDomain (System.String UserName, System.String Password, System.String Host) [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    Stack at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReceiveResponse (System.Net.WebResponse response, System.Web.Services.Protocols.SoapClientMessage message, System.Web.Services.Protocols.SoapExtension[] extensions) [0x00000]
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke (System.String method_name, System.Object[] parameters) [0x00000]
    at SimiasWebService.ConnectToDomain (System.String UserName, System.String Password, System.String Host) [0x00000]
    at (wrapper remoting-invoke-with-check) SimiasWebService:ConnectToDomain (string,string,string)
    at Novell.iFolder.Controller.DomainController.AddDoma in (System.String host, System.String username, System.String password, Boolean bSavePassword, Boolean bSetAsDefault) [0x00000]
    Looking forward for your kind reply.
    Regards
    Rohit Singh

    Could you rename simias folder and start the ifolder client again. On Windows it is in %APDDATA% folder and Linux it is on $HOME/.local/share/. Please note this will need you to provide all ifolder information again.
    Let us know the result.
    >>> rohit100<[email protected]> 7/5/2011 12:06 PM >>>
    Hello,
    details of ifolder are as below:
    OS: OpenSuse
    Ifolder version: 3.8.0
    The Ifolder features such as creating ifolder, sharing docs with co
    members are working on web side, but we are unable to connect from any
    ifolder client remotely, please suggest what to do?
    We will be grateful to you?
    Regards
    Rohit Singh
    rohit100
    rohit100's Profile: http://forums.novell.com/member.php?userid=113027
    View this thread: http://forums.novell.com/showthread.php?t=441408

  • Can't compile NCL2 on openSuSE 10.3

    hi, when starting /etc/init.d/novfs start
    here's what I got, under x86_64 (upgraded from 10.2 with some pain...)
    mavlaptop:~ # rpm -q binutils
    binutils-2.17.50.0.5-21
    mavlaptop:~ # rpm -qa | grep novfs
    novell-novfs-2.0.0-2.32
    novfs-kmp-default-2.0.0_2.6.22.5_31-23
    novell-novfsd-2.0.0-4.26
    mavlaptop:~ # /etc/init.d/novfsd start
    Starting novell novfs daemon...
    FATAL: Error inserting novfs
    (/lib/modules/2.6.22.12-0.1-default/weak-updates/novfs.ko): Unknown
    symbol in module, or unknown parameter (see dmesg)
    kernel-source-2.6.22.12-0.1
    Building novfs.ko for 2.6.22.12-0.1-debug
    make: Entering directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/debug'
    make -C ../../../linux-2.6.22.12-0.1
    O=../linux-2.6.22.12-0.1-obj/x86_64/debug modules
    CC [M] /opt/novell/ncl/src/novfs/inode.o
    CC [M] /opt/novell/ncl/src/novfs/proc.o
    CC [M] /opt/novell/ncl/src/novfs/profile.o
    /opt/novell/ncl/src/novfs/profile.c: In function '__cyg_profile_func_enter':
    /opt/novell/ncl/src/novfs/profile.c:540: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:541: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:542: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:543: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:544: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:545: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:546: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    /opt/novell/ncl/src/novfs/profile.c:547: warning: passing argument 2 of
    'kdb_register' from incompatible pointer type
    CC [M] /opt/novell/ncl/src/novfs/daemon.o
    /opt/novell/ncl/src/novfs/daemon.c: In function 'do_logout':
    /opt/novell/ncl/src/novfs/daemon.c:1058: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_getpwuid':
    /opt/novell/ncl/src/novfs/daemon.c:1125: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_getversion':
    /opt/novell/ncl/src/novfs/daemon.c:1176: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_SendDebugCmd':
    /opt/novell/ncl/src/novfs/daemon.c:1551: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_Dumpque':
    /opt/novell/ncl/src/novfs/daemon.c:2401: warning: format '%lx' expects
    type 'long unsigned int', but argument 3 has type 'u_int'
    /opt/novell/ncl/src/novfs/daemon.c:2401: warning: format '%lx' expects
    type 'long unsigned int', but argument 4 has type 'u_int'
    CC [M] /opt/novell/ncl/src/novfs/file.o
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_verify_file':
    /opt/novell/ncl/src/novfs/file.c:137: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Info':
    /opt/novell/ncl/src/novfs/file.c:537: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Info2':
    /opt/novell/ncl/src/novfs/file.c:666: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_GetX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:765: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_SetX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:868: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_ListX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:947: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'begin_directory_enumerate':
    /opt/novell/ncl/src/novfs/file.c:1033: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'directory_enumerate_ex':
    /opt/novell/ncl/src/novfs/file.c:1261: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1262: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Open_File':
    /opt/novell/ncl/src/novfs/file.c:1451: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Create':
    /opt/novell/ncl/src/novfs/file.c:1570: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_File':
    /opt/novell/ncl/src/novfs/file.c:1669: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1671: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1702: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_Pages':
    /opt/novell/ncl/src/novfs/file.c:1763: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1788: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_File':
    /opt/novell/ncl/src/novfs/file.c:1831: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Page':
    /opt/novell/ncl/src/novfs/file.c:2046: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Pages':
    /opt/novell/ncl/src/novfs/file.c:2125: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_Stream':
    /opt/novell/ncl/src/novfs/file.c:2198: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2200: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2226: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Stream':
    /opt/novell/ncl/src/novfs/file.c:2272: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2278: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Delete':
    /opt/novell/ncl/src/novfs/file.c:2404: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Truncate_File':
    /opt/novell/ncl/src/novfs/file.c:2467: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Truncate_File_Ex':
    /opt/novell/ncl/src/novfs/file.c:2519: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Set_Attr':
    /opt/novell/ncl/src/novfs/file.c:2658: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Cache_Flag':
    /opt/novell/ncl/src/novfs/file.c:2745: warning: cast from pointer to
    integer of different size
    CC [M] /opt/novell/ncl/src/novfs/scope.o
    /opt/novell/ncl/src/novfs/scope.c: In function 'Scope_Search4Scope':
    /opt/novell/ncl/src/novfs/scope.c:211: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/scope.c:215: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/scope.c: In function 'Scope_Dump_Scopetable':
    /opt/novell/ncl/src/novfs/scope.c:1234: warning: format '%u' expects
    type 'unsigned int', but argument 10 has type 'long int'
    CC [M] /opt/novell/ncl/src/novfs/nwcapi.o
    /opt/novell/ncl/src/novfs/nwcapi.c: In function 'NwcGetBroadcastMessage':
    /opt/novell/ncl/src/novfs/nwcapi.c:2305: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/nwcapi.c:2314: warning: cast from pointer to
    integer of different size
    LD [M] /opt/novell/ncl/src/novfs/novfs.o
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1fa): Section
    mismatch: reference to .init.text:init_novfs (between
    '__cyg_profile_func_enter' and 'profile_task_exit_callback')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section
    mismatch: reference to .init.text:init_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0ff): Section
    mismatch: reference to .exit.text:exit_novfs (between
    '__cyg_profile_func_exit' and '__cyg_profile_func_enter')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section
    mismatch: reference to .exit.text:exit_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    CC /opt/novell/ncl/src/novfs/novfs.mod.o
    LD [M] /opt/novell/ncl/src/novfs/novfs.ko
    make: Leaving directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/debug'
    copying novfs.ko to /lib/modules/2.6.22.12-0.1-debug/kernel/fs/novfs
    Generate modules.dep and map files
    kernel-source-2.6.22.12-0.1
    Building novfs.ko for 2.6.22.12-0.1-default
    make: Entering directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/default'
    make -C ../../../linux-2.6.22.12-0.1
    O=../linux-2.6.22.12-0.1-obj/x86_64/default modules
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1fa): Section
    mismatch: reference to .init.text:init_novfs (between
    '__cyg_profile_func_enter' and 'profile_task_exit_callback')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section
    mismatch: reference to .init.text:init_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0ff): Section
    mismatch: reference to .exit.text:exit_novfs (between
    '__cyg_profile_func_exit' and '__cyg_profile_func_enter')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section
    mismatch: reference to .exit.text:exit_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    WARNING: "kdb_register" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    WARNING: "__rwlock_init" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    WARNING: "__might_sleep" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    WARNING: "__spin_lock_init" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    WARNING: "kdb_unregister" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    WARNING: "kdb_printf" [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
    CC /opt/novell/ncl/src/novfs/novfs.mod.o
    LD [M] /opt/novell/ncl/src/novfs/novfs.ko
    make: Leaving directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/default'
    copying novfs.ko to /lib/modules/2.6.22.12-0.1-default/weak-updates
    Generate modules.dep and map files
    kernel-source-2.6.22.12-0.1
    Building novfs.ko for 2.6.22.12-0.1-xen
    make: Entering directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/xen'
    make -C ../../../linux-2.6.22.12-0.1
    O=../linux-2.6.22.12-0.1-obj/x86_64/xen modules
    CC [M] /opt/novell/ncl/src/novfs/inode.o
    CC [M] /opt/novell/ncl/src/novfs/proc.o
    CC [M] /opt/novell/ncl/src/novfs/profile.o
    CC [M] /opt/novell/ncl/src/novfs/daemon.o
    /opt/novell/ncl/src/novfs/daemon.c: In function 'do_logout':
    /opt/novell/ncl/src/novfs/daemon.c:1058: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_getpwuid':
    /opt/novell/ncl/src/novfs/daemon.c:1125: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_getversion':
    /opt/novell/ncl/src/novfs/daemon.c:1176: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/daemon.c: In function 'Daemon_SendDebugCmd':
    /opt/novell/ncl/src/novfs/daemon.c:1551: warning: cast from pointer to
    integer of different size
    CC [M] /opt/novell/ncl/src/novfs/file.o
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_verify_file':
    /opt/novell/ncl/src/novfs/file.c:137: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Info':
    /opt/novell/ncl/src/novfs/file.c:537: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Info2':
    /opt/novell/ncl/src/novfs/file.c:666: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_GetX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:765: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_SetX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:868: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_ListX_File_Info':
    /opt/novell/ncl/src/novfs/file.c:947: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'begin_directory_enumerate':
    /opt/novell/ncl/src/novfs/file.c:1033: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'directory_enumerate_ex':
    /opt/novell/ncl/src/novfs/file.c:1261: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1262: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Open_File':
    /opt/novell/ncl/src/novfs/file.c:1451: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Create':
    /opt/novell/ncl/src/novfs/file.c:1570: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_File':
    /opt/novell/ncl/src/novfs/file.c:1669: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1671: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1702: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_Pages':
    /opt/novell/ncl/src/novfs/file.c:1763: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:1788: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_File':
    /opt/novell/ncl/src/novfs/file.c:1831: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Page':
    /opt/novell/ncl/src/novfs/file.c:2046: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Pages':
    /opt/novell/ncl/src/novfs/file.c:2125: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Read_Stream':
    /opt/novell/ncl/src/novfs/file.c:2198: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2200: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2226: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Write_Stream':
    /opt/novell/ncl/src/novfs/file.c:2272: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c:2278: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Delete':
    /opt/novell/ncl/src/novfs/file.c:2404: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Truncate_File':
    /opt/novell/ncl/src/novfs/file.c:2467: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Truncate_File_Ex':
    /opt/novell/ncl/src/novfs/file.c:2519: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Set_Attr':
    /opt/novell/ncl/src/novfs/file.c:2658: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/file.c: In function 'Novfs_Get_File_Cache_Flag':
    /opt/novell/ncl/src/novfs/file.c:2745: warning: cast from pointer to
    integer of different size
    CC [M] /opt/novell/ncl/src/novfs/scope.o
    /opt/novell/ncl/src/novfs/scope.c: In function 'Scope_Search4Scope':
    /opt/novell/ncl/src/novfs/scope.c:211: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/scope.c:215: warning: cast from pointer to
    integer of different size
    CC [M] /opt/novell/ncl/src/novfs/nwcapi.o
    /opt/novell/ncl/src/novfs/nwcapi.c: In function 'NwcGetBroadcastMessage':
    /opt/novell/ncl/src/novfs/nwcapi.c:2305: warning: cast from pointer to
    integer of different size
    /opt/novell/ncl/src/novfs/nwcapi.c:2314: warning: cast from pointer to
    integer of different size
    LD [M] /opt/novell/ncl/src/novfs/novfs.o
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xaee8): Section
    mismatch: reference to .init.text:init_novfs (between
    '__cyg_profile_func_enter' and 'profile_task_exit_callback')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x1060): Section
    mismatch: reference to .init.text:init_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xae53): Section
    mismatch: reference to .exit.text:exit_novfs (between
    '__cyg_profile_func_exit' and '__cyg_profile_func_enter')
    WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xdd0): Section
    mismatch: reference to .exit.text:exit_novfs (between 'SymbolTable' and
    'Malloc_Lock')
    CC /opt/novell/ncl/src/novfs/novfs.mod.o
    LD [M] /opt/novell/ncl/src/novfs/novfs.ko
    make: Leaving directory `/usr/src/linux-2.6.22.12-0.1-obj/x86_64/xen'
    copying novfs.ko to /lib/modules/2.6.22.12-0.1-xen/kernel/fs/novfs
    Generate modules.dep and map files
    FATAL: Error inserting novfs
    (/lib/modules/2.6.22.12-0.1-default/weak-updates/novfs.ko): Unknown
    symbol in module, or unknown parameter (see dmesg)
    mount: unknown filesystem type 'novfs'
    Unable to Open novfs Interface
    start_daemon: exit status of parent of /opt/novell/ncl/bin/novfsd: 255
    failed

    I know that
    but people are reporting succesfull install...
    i know all of us are doing their best, but here's my two cents.....
    why each time we upgrade our linux OS, we have to wait 6 months to get
    software from the same provider ? NCL for linux, ifolder was a mess in
    the past (thanks god, now it's ok), novell iprint client, groupwise
    client, etc.etc.etc
    sorry for flaiming, i had a bad day.. :~
    Joseph Marton wrote:
    > NCL 2.0 isn't supported on openSUSE 10.3. Novell is working on an updated
    > client for 10.3 but I don't have an ETA at this time.
    >

  • 2.3.11 and 2.4.13 fail tests on OpenSuse 10.3 x86_64

    I am trying to get php and perl API of BDBXML 2.3.11 and 2.4.13 running on OpenSuse 10.3 x86_64
    when using --enable-perl the perl tests fail so i tried to run the test suite and compare it against 32bit builds.
    2.3.11
    after changing dbxml/dist/configure.ac like this:
    367c367
    <       LIBTSO_MODSUFFIX=@MODSUFFIX@
    LIBTSO_MODSUFFIX=$MODSUFFIX'make test' in dbxml/build_unix produces a ALL.OUT
    using:
    grep "^FAIL" -A 1 -B 1 dbxml-2.3.11/dbxml/build_unix/ALL.OUTstill produces lots of output. Since the 32bit version is working I compared the output produced on a 32bit ubuntu 07.10 with 64bit OpenSuse 10.3 which showed that following errors only occured on the 64bit system:
                            Xml003.3.1c: Put/get on both DB's
    FAIL:10:16:44 (00:00:00) dbxml_dump/dbxml_load(3.3.1.dbxml:unexpected hexadecimal value ' '
    load 3.3.1.dbxml-dumpload: Error: Invalid argument): expected 0, got 1
    FAIL:10:16:44 (00:00:00) Dump/load of 3.3.1.dbxml failed.
            8.8: Query timeout
    FAIL: should not have gotten here
    FAIL:10:17:04 (00:00:00) 8.8.8 returned error value 1
    FAIL:10:17:04 (00:00:00) 8.8.8: expected "1", got "0"
            8.8: Container not found
                    12.4.1: update with duplicate index entries
    FAIL:10:21:41 (00:00:00) dbxml_dump/dbxml_load(12.4.1.dbxml:unexpected hexadecimal value ' '
    load 12.4.1.dbxml-dumpload: Error: Invalid argument): expected 0, got 1
    FAIL:10:21:41 (00:00:00) Dump/load of 12.4.1.dbxml failed.there are more errors but they are not unique to the 64bit system. The shown messages repeat for different test settings(wholedoc/node - storage ...)
    the errors occurring in 3.3.1c and 12.4.1 can also be reproduced using dbxml,dbxml_dump and dbxml_load:
    ./dbxml -h /tmp
    dbxml>createcon test.dbxml
    dbxml>putdoc phone1 '<phone/>'
    dbxml>quit
    ./dbxml_dump -h /tmp/ -f /tmp/dbxml_2.3.11_test.dbxml.dump test.dbxml
    ./dbxml_load -h /tmp/ -f /tmp/dbxml_2.3.11_test.dbxml.dump test2.dbxml
    2.4.13
    The documentation states that the test should be run from within the tclsh, but I think make test should be supported too. (make test only works after adapting pathes to new location in dbxml/test/tcl/)
    similar procedure as above shows that the bug responsible for failing 3.3.1c and 12.4.1 is fixed
    and 8.8.8 still fails.
    Having a look at 8.8.8 my assumption is that the test fails simply because the machine is too fast (2.13Ghz Core2Duo) and executes the test query before the set timeout is triggered.
    Now back to perl:
    2.3.11 tests fail with:
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/XmlManager.t
    t/XmlManager....ok 43/89BDB XML: unexpected hexadecimal value ' '           
    failed
    Error: Invalid argument in t/XmlManager.t, line 350
    # Looks like you planned 89 tests but only ran 51.
    t/XmlManager....dubious                                                     
            Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 52-89
            Failed 38/89 tests, 57.30% okay
    Failed Test    Stat Wstat Total Fail  Failed  List of Failed
    t/XmlManager.t  255 65280    89   76  85.39%  52-89
    Failed 1/1 test scripts, 0.00% okay. 38/89 subtests failed, 57.30% okay.after wrapping the call to loadContainer in test 51 in eval {} catch{}
    the output looks like this (no further failures)
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/XmlManager.t
    t/XmlManager....ok 1/89BDB XML: unexpected hexadecimal value ' '            
    failed with std exception:Error: Invalid argument in t/XmlManager.t, line 350
    #   Failed test 'dump and load failed'
    #   in t/XmlManager.t at line 363.
    t/XmlManager....ok 53/89# Looks like you failed 1 test of 89.               
    t/XmlManager....dubious                                                     
            Test returned status 1 (wstat 256, 0x100)
    DIED. FAILED test 52
            Failed 1/89 tests, 98.88% okay
    Failed Test    Stat Wstat Total Fail  Failed  List of Failed
    t/XmlManager.t    1   256    89    1   1.12%  52
    Failed 1/1 test scripts, 0.00% okay. 1/89 subtests failed, 98.88% okay.luckily this is the only test that fails:
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
    Failed Test    Stat Wstat Total Fail  Failed  List of Failed
    t/XmlManager.t    1   256    89    1   1.12%  522.4.13 tests fail with:
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
    Failed Test Stat Wstat Total Fail Failed List of Failed
    t/XmlManager.t 1 256 89 1 1.12% 43
    t/XmlQueryContext.t 255 65280 33 62 187.88% 3-33
    t/XmlValue.t 1 256 248 1 0.40% 245
    looking at XmlManager test shows that it is not the same as above but something else
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/XmlManager.t
    t/XmlManager....ok 32/89                                                    
    #   Failed test 'getIndexNodes'
    #   in t/XmlManager.t at line 275.
    t/XmlManager....ok 52/89# Looks like you failed 1 test of 89.               
    t/XmlManager....dubious                                                     
            Test returned status 1 (wstat 256, 0x100)
    DIED. FAILED test 43
            Failed 1/89 tests, 98.88% okay
    Failed Test    Stat Wstat Total Fail  Failed  List of Failed
    t/XmlManager.t    1   256    89    1   1.12%  43
    Failed 1/1 test scripts, 0.00% okay. 1/89 subtests failed, 98.88% okay.The other two tests seem to fail because the tests are not correct, but i haven't had the time to look at them yet. Here is the output:
    t/XmlQueryContext..........ok 1/33Bareword "XmlQueryContext::DeadValues" not allowed while "strict subs" in use at t/XmlQueryContext.t line 194, <DATA> line 225.
    Bareword "XmlQueryContext::DeadValues" not allowed while "strict subs" in use at t/XmlQueryContext.t line 195, <DATA> line 225.
    Execution of t/XmlQueryContext.t aborted due to compilation errors.
    # Looks like you planned 33 tests but only ran 2.
    # Looks like your test died just after 2.
    t/XmlQueryContext..........dubious                                          
            Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 3-33
            Failed 31/33 tests, 6.06% okay
    t/XmlValue.................ok 1/248                                         
    #   Failed test 'getLocalName'
    #   in t/XmlValue.t at line 410.
    #          got: ''
    #     expected: '#document'
    t/XmlValue.................NOK 245# Looks like you failed 1 test of 248.    
    t/XmlValue.................dubious                                          
            Test returned status 1 (wstat 256, 0x100)
    DIED. FAILED test 245
            Failed 1/248 tests, 99.60% okaySo my questions are:
    1. can and will the fix for dump/load be back ported to 2.3.11
    2. is my assumption about 8.8.8 correct
    3. is there a patch underway for perl on 2.4.13?
    4. were there other issues in 2.3.11 that have been fixed in 2.4.13 but not back ported. especially regarding perl and php APIs on 64bit platforms.
    I noticed that at least the patch provided in: PHP / BDB XML works fine on Red Hat Fedora 5, not on SuSE 10.2/Athlon 64 by djimenez was not incorporated into 2.3.11 (2.4.13 seems to be fixed)
    5. since there seems to be no publicly available php test suite yet, will there be one in the near future?
    all comments welcome,
    thanks
    Gordon

    for anyone interested this is a patch for 2.3.11 that backports 64bit php fixes from 2.4.13. It also contains some other changes:
    -additional php possibly wrong usage of long instead of int on 64 bit in db-4.5.20
    -perl see: Re: perl script segfaults on putDocument
    -dbxml tcl test: configure.ac LIBTSO_MODSUFFIX and setting the default tcl test to "run_all" instead of "run_xml"
    Please note: The code looks a bit strange because the [ i ] access into an array is interpreted by the forum software and converted to &lt;i&gt;. So you cannot directly copy the patch from browser but need to copy the raw html and modify it (e.g. pass it through sed).
    you'll need the &lt;pre&gt; &lt;/pre&gt; part from this post and exchange &lt;i&gt; for [ i ] (without spaces) and &lt;br&gt; for '\n'. Maybe it will work. :-)
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/db-4.5.20/php_db4/db4.cpp dbxml-2.3.11-64/db-4.5.20/php_db4/db4.cpp
    --- dbxml-2.3.11.orig/db-4.5.20/php_db4/db4.cpp     2006-09-16 03:20:58.000000000 +0200
    +++ dbxml-2.3.11-64/db-4.5.20/php_db4/db4.cpp     2008-05-30 18:35:43.000000000 +0200
    @@ -1203,7 +1203,7 @@
         DB_TXN *dbtxn = NULL;
         zval *dbtxn_obj = NULL;
         char file = NULL, database = NULL;
    -    long filelen = 0, databaselen = 0;
    +    int filelen = 0, databaselen = 0;
         DBTYPE type = DB_BTREE;
         u_int32_t flags = DB_CREATE;
         int mode = 0;
    @@ -2015,7 +2015,7 @@
         DbEnv *dbe;
         zval *self;
         char *home;
    -    long homelen;
    +    int homelen;
         u_int32_t flags = 0;
         self = getThis();
         getDbEnvFromThis(dbenv);
    @@ -2035,7 +2035,7 @@
         DB_ENV *dbenv;
         zval *self;
         char *dir;
    -    long dirlen;
    +    int dirlen;
         self = getThis();
         getDbEnvFromThis(dbenv);
         if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE)
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/dist/configure.ac dbxml-2.3.11-64/dbxml/dist/configure.ac
    --- dbxml-2.3.11.orig/dbxml/dist/configure.ac     2007-01-19 16:52:44.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/dist/configure.ac     2008-06-02 18:30:41.000000000 +0200
    @@ -364,7 +364,7 @@
         LIBJSO_LN_INSTALL="test -f \$(libjso_base)-\$(SOVERSION).dylib && \$(ln) -f -s \$(libjso_base)-\$(SOVERSION).dylib \$(libjso_base)-\$(SOVERSION).jnilib";;
         LIBTSO_MODULE="-module"
    -     LIBTSO_MODSUFFIX=@MODSUFFIX@
    +     LIBTSO_MODSUFFIX=$MODSUFFIX
         LIBJSO_LN_BUILD=""
         LIBJSO_LN_INSTALL="";;
    esac
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/dbxml/db_rdbt.c dbxml-2.3.11-64/dbxml/src/dbxml/db_rdbt.c
    --- dbxml-2.3.11.orig/dbxml/src/dbxml/db_rdbt.c     2008-04-16 17:46:53.000000000 +0200
    +++ dbxml-2.3.11-64/dbxml/src/dbxml/db_rdbt.c     2008-06-04 18:01:55.000000000 +0200
    @@ -206,7 +206,7 @@
                        break;
                   buf[linelen++] = '\0';
              } else
    -               linelen = strlen(buf) + 1;
    +               linelen = (int) strlen(buf) + 1;
              start += linelen;
              if (name != NULL) {
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/dbxml/DbWrapper.cpp dbxml-2.3.11-64/dbxml/src/dbxml/DbWrapper.cpp
    --- dbxml-2.3.11.orig/dbxml/src/dbxml/DbWrapper.cpp     2008-04-16 17:46:53.000000000 +0200
    +++ dbxml-2.3.11-64/dbxml/src/dbxml/DbWrapper.cpp     2008-06-04 20:33:18.000000000 +0200
    @@ -219,7 +219,7 @@
         int version, ret, t_ret;
         DBTYPE dbtype;
         char *subdb;
    -     u_int32_t read_flags;
    +     u_int32_t read_flags, tflags;
         Dbt key, data;
         db_recno_t recno, datarecno;
         DB_ENV *dbenv = environment_ ? environment_->get_DB_ENV() : 0;
    @@ -252,11 +252,14 @@
              db_.err(ENOMEM, NULL);
              goto err;
    +     
    +     // work around gcc optimizer issue that seems to modify
    +     // read_flags (4.1.1 on 64-bit linux)
    +     tflags = read_flags;
         /* Get each key/data pair and add them to the database. */
         for (recno = 1;; ++recno) {
              if ((ret = __db_rdbt(dbenv, key.get_DBT(), data.get_DBT(),
    -                         read_flags, read_callback, in, lineno)) != 0) {
    +                         tflags, read_callback, in, lineno)) != 0) {
                   if (ret == EOF)
                        ret = 0;
                   break;
    @@ -267,7 +270,7 @@
                   break;
              case DB_KEYEXIST:
                   db_.errx("line %d: key already exists, not loaded:", *lineno);
    -               dbenv->prdbt(key.get_DBT(), read_flags & DB_READ_PRINTABLE,
    +               dbenv->prdbt(key.get_DBT(), tflags & DB_READ_PRINTABLE,
                             0, &std::cerr, pr_callback, 0);
                   break;
              default:
    @@ -602,9 +605,9 @@
         // but if incrementing the last byte results in a carry
         // (value overflows and goes back to zero), then we have
         // to increment the last-but-one byte - and so on.
    -     char maxPtr = (char )dbt.get_data();
    +     unsigned char maxPtr = (unsigned char )dbt.get_data();
         u_int32_t maxSize = dbt.get_size();
    -     char *pos = maxPtr + maxSize;
    +     unsigned char *pos = maxPtr + maxSize;
         for(--pos; pos >= maxPtr; --pos) {
              ++(*pos);
              if(*pos != 0) break;
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/perl/DbXml/DbXml.xs dbxml-2.3.11-64/dbxml/src/perl/DbXml/DbXml.xs
    --- dbxml-2.3.11.orig/dbxml/src/perl/DbXml/DbXml.xs     2006-11-22 23:56:13.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/perl/DbXml/DbXml.xs     2008-06-06 17:35:46.000000000 +0200
    @@ -1313,20 +1313,20 @@
             else if (sv_derived_from(contents, "XmlInputStream"))
                 XmlInputStream *s = GetObjPointer(contents, XmlInputStream);
    +            ClearObjPointer(contents);
                 if (txn)
                     RETVAL = THIS->putDocument(*txn, name, s, *context, flags);
                 else
                     RETVAL = THIS->putDocument(name, s, *context, flags);
    -            ClearObjPointer(contents);
             else if (sv_derived_from(contents, "XmlEventReader"))
                 XmlEventReader *s = GetObjPointer(contents, XmlEventReader);
    +            ClearObjPointer(contents);
                 if (txn)
                     RETVAL = THIS->putDocument(*txn, name, s, context, flags);
                 else
                     RETVAL = THIS->putDocument(name, s, context, flags);
    -            ClearObjPointer(contents);
             else
                 croak("putDocument parameter 2 should be an XmlInputStream, XmlEventReader or a string");
    @@ -1560,7 +1560,7 @@
         INIT:
             MY_TRY
         CLEANUP:
    -        ClearObjPointer(ST(1));
    +         ClearObjPointer(ST(1));
             MY_CATCH
    string
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/perl/DbXml/t/XmlManager.t dbxml-2.3.11-64/dbxml/src/perl/DbXml/t/XmlManager.t
    --- dbxml-2.3.11.orig/dbxml/src/perl/DbXml/t/XmlManager.t     2006-11-22 17:02:31.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/perl/DbXml/t/XmlManager.t     2008-06-06 17:31:39.000000000 +0200
    @@ -346,14 +346,28 @@
         ok -e "$tmp_dir/cont", "dumped content exists";
         my $new_container_name = "$tmp_dir/new";
    +    eval {
         $mgr->loadContainer($new_container_name, "$tmp_dir/cont");
    +   
         my $c1 = $mgr->openContainer($new_container_name);
         my $doc = $c1->getDocument('x') ;
    +
         my $cont = $doc->getContent();
    +
         is $cont, $content, "getContent ok" ;
    +    };
    +    if (my $e = catch std::exception)
    +    {
    +      warn "failed with std exception:" . $e->what() . "\n";
    +      ok 0, "dump and load failed with std::exception"
    +    }
    +    elsif ($@)
    +    {
    +      warn "failed\n";
    +      warn $@ . "\n";
    +      ok 0, "dump and load failed"
    +    }
         unlink "$tmp_dir/cont";
    if (my $e = catch std::exception)
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_container.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_container.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_container.cpp     2006-10-30 18:46:02.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_container.cpp     2008-06-04 13:35:09.000000000 +0200
    @@ -36,7 +36,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       std::string buffer = This.getName();
    -  RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    +  DBXML_RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    PHP_DBXML_METHOD_END()
    @@ -97,7 +97,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
       char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  int urilen, namelen, indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sss|O",
           &uri, &urilen, &name, &namelen, &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -125,7 +125,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
       char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  int urilen, namelen, indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sss|O",
           &uri, &urilen, &name, &namelen, &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -153,7 +153,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
       char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  int urilen, namelen, indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sss|O",
           &uri, &urilen, &name, &namelen, &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -180,8 +180,8 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
    -  char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  char *index;
    +  int indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|O",
           &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -208,8 +208,8 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
    -  char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  char *index;
    +  int indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|O",
           &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -236,8 +236,8 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval zctx = NULL, ztxn = NULL;
    -  char uri, name, *index;
    -  long urilen, namelen, indexlen;
    +  char *index;
    +  int indexlen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|O",
           &index, &indexlen,
           &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -270,7 +270,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval *ztxn = NULL;
       char *name;
    -  long namelen;
    +  int namelen;
       long flags = 0;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|l",
           &name, &namelen, &flags)) {
    @@ -299,7 +299,7 @@
         PHP_DBXML_STUFFED_THIS(XmlContainer);
         zval *ztxn = NULL;
         char *handle;
    -     long handleLen;
    +     int handleLen;
         long flags = 0;
         if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|l",
                                    &handle, &handleLen, &flags)) {
    @@ -325,7 +325,8 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zdoc = NULL, zstream = NULL, zctx = NULL;
       char name, contents;
    -  long namelen, contentslen, flags = 0;
    +  int namelen, contentslen;
    +  long flags = 0;
       /* XmlDocument */
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O|Ol",
         &zdoc, php_dbxml_XmlDocument_ce,
    @@ -389,8 +390,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zdoc = NULL, zstream = NULL, zctx = NULL;
    -  char name, contents;
    -  long namelen, contentslen, flags = 0;
    +  long flags = 0;
       /* XmlDocument */
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O|Ol",
         &zdoc, php_dbxml_XmlDocument_ce,
    @@ -421,7 +421,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zdoc = NULL, *zctx = NULL;
       char *name;
    -  long namelen, contentslen;
    +  int namelen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O|O",
         &zdoc, php_dbxml_XmlDocument_ce,
         &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -462,8 +462,6 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zdoc = NULL, *zctx = NULL;
    -  char *name;
    -  long namelen, contentslen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O|O",
         &zdoc, php_dbxml_XmlDocument_ce,
         &zctx, php_dbxml_XmlUpdateContext_ce)) {
    @@ -489,9 +487,9 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zctx = NULL, *zvl = NULL;
       char uri, name, *index;
    -  long urilen, namelen, indexlen;
    -  char puri, pname, *pindex;
    -  long purilen, pnamelen, pindexlen;
    +  int urilen, namelen, indexlen;
    +  char puri, pname;
    +  int purilen, pnamelen;
       long flags = 0;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "Osss|Ol",
           &zctx, php_dbxml_XmlQueryContext_ce,
    @@ -582,9 +580,9 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       zval ztxn = NULL, zctx = NULL, *zvl = NULL;
       char uri, name, *index;
    -  long urilen, namelen, indexlen;
    -  char puri, pname, *pindex;
    -  long purilen, pnamelen, pindexlen;
    +  int urilen, namelen, indexlen;
    +  char puri, pname;
    +  int purilen, pnamelen;
       if(SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sss|O",
           &uri, &urilen, &name, &namelen, &index, &indexlen,
           &zvl, php_dbxml_XmlValue_ce))
    @@ -660,7 +658,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       char *name;
    -  long namelen;
    +  int namelen;
       if(FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen)) {
         return;
    @@ -672,7 +670,7 @@
       PHP_DBXML_STUFFED_THIS(XmlContainer);
       char *name;
    -  long namelen;
    +  int namelen;
       if(FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen)) {
         return;
    @@ -712,9 +710,9 @@
       if(ztxn) {
         XmlTransaction txn = php_dbxml_get_XmlTransaction_object_pointer(ztxn TSRMLS_CC);
    -    RETURN_LONG(This.getNumDocuments(txn));
    +    DBXML_RETURN_LONG(This.getNumDocuments(txn));
       } else {
    -    RETURN_LONG(This.getNumDocuments());
    +    DBXML_RETURN_LONG(This.getNumDocuments());
    PHP_DBXML_METHOD_END()
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml.cpp     2006-11-22 17:45:05.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml.cpp     2008-06-04 14:52:22.000000000 +0200
    @@ -50,7 +50,7 @@
         return;
    -  RETVAL_STRING((char*)dbxml_version(&M, &m, &p), 1);
    +  RETVAL_STRING((char*)dbxml_version(&M, &m, &p), (int)1);
       if (ZEND_NUM_ARGS()) {
         convert_to_long(maj);
    @@ -70,7 +70,7 @@
         return;
    -  DbXml::setLogLevel((DbXml::LogLevel)level, on);
    +  DbXml::setLogLevel((DbXml::LogLevel)level, (on != 0));
    static PHP_FUNCTION(dbxml_set_log_category)
    @@ -81,7 +81,7 @@
         return;
    -  DbXml::setLogCategory((DbXml::LogCategory)level, on);
    +  DbXml::setLogCategory((DbXml::LogCategory)level, (on != 0));
    function_entry dbxml_functions[] = {
    @@ -96,7 +96,7 @@
       zend_class_entry ce;
    #ifdef PHP_DBXML_EXCEPTIONS
    -  php_dbxml_init_exceptions();
    +  php_dbxml_init_exceptions(TSRMLS_C);
    #endif
       PHP_DBXML_REGISTER_CLASS(XmlData, php_dbxml_XmlData_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlValue, php_dbxml_XmlValue_dtor);
    @@ -108,6 +108,7 @@
       PHP_DBXML_REGISTER_CLASS(XmlEventReader, php_dbxml_XmlEventReader_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlEventReaderToWriter, php_dbxml_XmlEventReaderToWriter_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlEventWriter, php_dbxml_XmlEventWriter_dtor);
    +  PHP_DBXML_REGISTER_CLASS(XmlIndexLookup, php_dbxml_XmlIndexLookup_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlIndexSpecification, php_dbxml_XmlIndexSpecification_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlModify, php_dbxml_XmlModify_dtor);
       PHP_DBXML_REGISTER_CLASS(XmlQueryContext, php_dbxml_XmlQueryContext_dtor);
    @@ -141,9 +142,14 @@
       REGISTER_LONG_CONSTANT( "DBXML_ENCRYPT", DBXML_ENCRYPT, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "DBXML_GEN_NAME", DBXML_GEN_NAME, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "DBXML_LAZY_DOCS", DBXML_LAZY_DOCS, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT( "DBXML_DOCUMENT_PROJECTION", DBXML_DOCUMENT_PROJECTION, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT( "DBXML_NO_AUTO_COMMIT", DBXML_NO_AUTO_COMMIT, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "DBXML_CACHE_DOCUMENTS", DBXML_CACHE_DOCUMENTS, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "DBXML_NO_INDEX_NODES", DBXML_NO_INDEX_NODES, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "DBXML_INDEX_NODES", DBXML_INDEX_NODES, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT( "DBXML_NO_STATISTICS", DBXML_NO_STATISTICS, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT( "DBXML_STATISTICS", DBXML_STATISTICS, CONST_CS | CONST_PERSISTENT);
    +  REGISTER_LONG_CONSTANT( "DBXML_WELL_FORMED_ONLY", DBXML_WELL_FORMED_ONLY, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "LEVEL_NONE", LEVEL_NONE, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "LEVEL_DEBUG", LEVEL_DEBUG, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT( "LEVEL_INFO", LEVEL_INFO, CONST_CS | CONST_PERSISTENT);
    @@ -237,6 +243,8 @@
       REGISTER_LONG_CONSTANT("XmlException_NULL_POINTER", XmlException::NULL_POINTER, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT("XmlException_INDEXER_PARSER_ERROR", XmlException::INDEXER_PARSER_ERROR, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT("XmlException_DATABASE_ERROR", XmlException::DATABASE_ERROR, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT("XmlException_QUERY_PARSER_ERROR", XmlException::QUERY_PARSER_ERROR, CONST_CS | CONST_PERSISTENT);
    +  //REGISTER_LONG_CONSTANT("XmlException_QUERY_EVALUATION_ERROR", XmlException::QUERY_EVALUATION_ERROR, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT("XmlException_XPATH_PARSER_ERROR", XmlException::XPATH_PARSER_ERROR, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT("XmlException_DOM_PARSER_ERROR", XmlException::DOM_PARSER_ERROR, CONST_CS | CONST_PERSISTENT);
       REGISTER_LONG_CONSTANT("XmlException_XPATH_EVALUATION_ERROR", XmlException::XPATH_EVALUATION_ERROR, CONST_CS | CONST_PERSISTENT);
    @@ -302,6 +310,9 @@
    #if COMPILE_DL_DBXML
    +#ifdef PHP_WIN32
    +#include "zend_arg_defs.c"
    +#endif
    BEGIN_EXTERN_C()
    ZEND_GET_MODULE(dbxml)
    END_EXTERN_C()
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_data.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_data.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_data.cpp     2006-10-30 18:46:02.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_data.cpp     2008-06-04 14:58:27.000000000 +0200
    @@ -39,7 +39,7 @@
         WRONG_PARAM_COUNT;
    -  RETURN_STRINGL((char*)This.get_data(), This.get_size(), 1);
    +  DBXML_RETURN_STRINGL((char*)This.get_data(), This.get_size(), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlData, set_data)
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_document.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_document.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_document.cpp     2006-10-30 18:46:02.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_document.cpp     2008-06-04 15:00:30.000000000 +0200
    @@ -32,24 +32,6 @@
       RETURN_BOOL(This == other);
    } PHP_DBXML_METHOD_END()
    -PHP_DBXML_METHOD_BEGIN(XmlDocument, getName)
    -  PHP_DBXML_STUFFED_THIS(XmlDocument);
    -  std::string buffer = This.getName();
    -  RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    -} PHP_DBXML_METHOD_END()
    -PHP_DBXML_METHOD_BEGIN(XmlDocument, setName)
    -  PHP_DBXML_STUFFED_THIS(XmlDocument);
    -  char *name;
    -  long namelen;
    -  if(FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen)) {
    -    return;
    -  This.setName(std::string(name, namelen));
    -} PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlDocument, getContent)
       PHP_DBXML_STUFFED_THIS(XmlDocument);
    @@ -62,7 +44,7 @@
       PHP_DBXML_STUFFED_THIS(XmlDocument);
       std::string buffer;
       This.getContent(buffer);
    -  RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    +  DBXML_RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlDocument, getContentAsEventReader)
    @@ -77,7 +59,7 @@
       PHP_DBXML_STUFFED_THIS(XmlDocument);
       zval *zv = NULL;
       if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &zv, php_dbxml_XmlEventWriter_ce)) {
    -    XmlEventWriter &writer = php_dbxml_get_XmlEventWriter_object_pointer(zv TSRMLS_DC);
    +    XmlEventWriter &writer = php_dbxml_get_XmlEventWriter_object_ref(zv TSRMLS_CC);
         This.getContentAsEventWriter(writer);
    } PHP_DBXML_METHOD_END()
    @@ -87,7 +69,7 @@
       PHP_DBXML_STUFFED_THIS(XmlDocument);
       zval zstr = NULL, zdat = NULL;
       char *content;
    -  long contentlen;
    +  int contentlen;
       if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &content, &contentlen)) {
         This.setContent(std::string(content, contentlen));
    @@ -100,7 +82,7 @@
         This.setContentAsXmlInputStream(str);
       else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &zstr, php_dbxml_XmlEventReader_ce)) {
    -    XmlEventReader &reader = php_dbxml_get_XmlEventReader_object_pointer(zstr TSRMLS_DC);
    +    XmlEventReader &reader = php_dbxml_get_XmlEventReader_object_ref(zstr TSRMLS_CC);
         This.setContentAsEventReader(reader);
       else {
    @@ -123,7 +105,7 @@
       PHP_DBXML_STUFFED_THIS(XmlDocument);
       zval zvl = NULL, zdat = NULL;
       char uri, name;
    -  long urilen, namelen;
    +  int urilen, namelen;
       if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss",
           &uri, &urilen, &name, &namelen)) {
         XmlValue vl;
    @@ -140,7 +122,7 @@
       PHP_DBXML_STUFFED_THIS(XmlDocument);
       zval zvl = NULL, zdat = NULL;
       char uri, name;
    -  long urilen, namelen;
    +  int urilen, namelen;
       if(SUCCESS == zend_parse_parameters(
              ZEND_NUM_ARGS() TSRMLS_CC, "ssO",
              &uri, &urilen, &name, &namelen,&zvl, php_dbxml_XmlValue_ce)) {
    @@ -150,11 +132,11 @@
    } PHP_DBXML_METHOD_END()
    +PHP_DBXML_STRING_GETTER_AND_SETTER(XmlDocument, Name);
    +
    function_entry php_dbxml_XmlDocument_methods[] = {
    PHP_ME(XmlDocument, XmlDocument, NULL, 0)
    -PHP_ME(XmlDocument, getName, NULL, 0)
    PHP_ME(XmlDocument, equals, NULL, 0)
    -PHP_ME(XmlDocument, setName, NULL, 0)
    PHP_ME(XmlDocument, getContent, NULL, 0)
    PHP_ME(XmlDocument, getContentAsString, NULL, 0)
    PHP_ME(XmlDocument, getContentAsEventReader, NULL, 0)
    @@ -163,6 +145,7 @@
    PHP_ME(XmlDocument, fetchAllData, NULL, 0)
    PHP_ME(XmlDocument, getMetaData, NULL, 0)
    PHP_ME(XmlDocument, setMetaData, NULL, 0)
    +PHP_DBXML_ME_GETTER_AND_SETTER(XmlDocument, Name)
    {NULL, NULL, NULL}
    /*  vim: set sts=2 ts=2 expandtab ai bs=2 : */
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventreader.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventreader.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventreader.cpp     2006-11-15 17:53:11.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventreader.cpp     2008-06-04 15:01:44.000000000 +0200
    @@ -59,15 +59,15 @@
         PHP_DBXML_STUFFED_REF(XmlEventReader);
         int len;
         const unsigned char *val = This.getValue(len);
    -     RETURN_STRINGL((char *)val, len, 1);
    +     DBXML_RETURN_STRINGL((char *)val, len, 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, getValueLen)
         PHP_DBXML_STUFFED_REF(XmlEventReader);
    -     int len;
    +        int len;
         (void) This.getValue(len);
    -     RETURN_LONG(len);
    +     DBXML_RETURN_LONG(len);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, isAttributeSpecified)
    @@ -86,7 +86,7 @@
         if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index)) {
              RETURN_FALSE;
    -     RETURN_STRING((char *)This.getAttributeLocalName(index), 1);
    +     DBXML_RETURN_STRING((char *)This.getAttributeLocalName(index), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, getAttributeNamespaceURI)
    @@ -96,7 +96,7 @@
         if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index)) {
              RETURN_FALSE;
    -     RETURN_STRING((char *)This.getAttributeNamespaceURI(index), 1);
    +     DBXML_RETURN_STRING((char *)This.getAttributeNamespaceURI(index), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, getAttributePrefix)
    @@ -106,7 +106,7 @@
         if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index)) {
              RETURN_FALSE;
    -     RETURN_STRING((char *)This.getAttributePrefix(index), 1);
    +     DBXML_RETURN_STRING((char *)This.getAttributePrefix(index), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, getAttributeValue)
    @@ -116,7 +116,7 @@
         if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index)) {
              RETURN_FALSE;
    -     RETURN_STRING((char *)This.getAttributeValue(index), 1);
    +     DBXML_RETURN_STRING((char *)This.getAttributeValue(index), 1);
    } PHP_DBXML_METHOD_END()
    PHP_DBXML_METHOD_BEGIN(XmlEventReader, needsEntityEscape)
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventreadertowriter.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventreadertowriter.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventreadertowriter.cpp     2006-10-30 18:46:03.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventreadertowriter.cpp     2008-06-03 18:02:40.000000000 +0200
    @@ -24,9 +24,9 @@
                  &wval, php_dbxml_XmlEventWriter_ce,
                  &ownsReader)) {
              XmlEventReader &reader =
    -               php_dbxml_get_XmlEventReader_object_pointer(rval TSRMLS_DC);
    +               php_dbxml_get_XmlEventReader_object_ref(rval TSRMLS_CC);
              XmlEventWriter &writer =
    -               php_dbxml_get_XmlEventWriter_object_pointer(wval TSRMLS_DC);
    +               php_dbxml_get_XmlEventWriter_object_ref(wval TSRMLS_CC);
              XmlEventReaderToWriter r2w(reader, writer, ownsReader);
              php_dbxml_set_XmlEventReaderToWriter_object_factory(
                   getThis(), r2w TSRMLS_CC);
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventwriter.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventwriter.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_eventwriter.cpp     2006-11-15 17:53:11.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_eventwriter.cpp     2008-06-03 18:06:06.000000000 +0200
    @@ -29,7 +29,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char lname, prefix, uri, value;
    -     long lLen, pLen, uLen, vLen;
    +     int lLen, pLen, uLen, vLen;
         bool specified = true; // optional in PHP interface
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssss|b",
    @@ -46,10 +46,10 @@
    PHP_DBXML_METHOD_BEGIN(XmlEventWriter, writeText)
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
    -     long type;
    +     int type;
         char *text;
    -     long unused; // length is ignored if passed to PHP's writeText
    -     long tLen;
    +     int unused; // length is ignored if passed to PHP's writeText
    +     int tLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls|l", &type,
                          &text, &tLen, &unused))
    @@ -61,7 +61,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char target, data;
    -     long tLen, dLen;
    +     int tLen, dLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &target,
                          &tLen, &data, &dLen))
    @@ -73,7 +73,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char lname, prefix, *uri;
    -     long lLen, pLen, uLen, nattrs;
    +     int lLen, pLen, uLen, nattrs;
         bool empty = false; // default in PHP
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sssl|b",
    @@ -90,7 +90,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char lname, prefix, *uri;
    -     long lLen, pLen, uLen;
    +     int lLen, pLen, uLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss",
                          &lname, &lLen, &prefix, &pLen, &uri, &uLen)) {
    @@ -104,8 +104,8 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char *text;
    -     long unused; // length is ignored if passed
    -     long tLen;
    +     int unused; // length is ignored if passed
    +     int tLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l",
                          &text, &tLen, &unused))
    @@ -119,7 +119,7 @@
         char *version = 0;
         char *encoding = 0;
         char *standalone = 0;
    -     long vLen, eLen, sLen;
    +     int vLen, eLen, sLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss",
                          &version, &vLen, &encoding, &eLen,
    @@ -140,7 +140,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char *name;
    -     long tLen;
    +     int tLen;
         bool expandedInfoFollows = true; // default this
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b",
    @@ -153,7 +153,7 @@
         PHP_DBXML_STUFFED_REF(XmlEventWriter);
         char *name;
    -     long tLen;
    +     int tLen;
         if (SUCCESS ==
             zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s",
                          &name, &tLen))
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_exception.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_exception.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_exception.cpp     2006-11-15 18:21:45.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_exception.cpp     2008-06-04 15:03:30.000000000 +0200
    @@ -19,10 +19,14 @@
    PHP_DBXML_DECLARE_CLASS(XmlException);
    -void php_dbxml_init_exceptions()
    +void php_dbxml_init_exceptions(TSRMLS_D)
         zend_class_entry ce;
    +#if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION < 2)
         PHP_DBXML_REGISTER_CLASS_WITH_PARENT(XmlException, zend_exception_get_default(), php_dbxml_XmlException_dtor);
    +#else
    +     PHP_DBXML_REGISTER_CLASS_WITH_PARENT(XmlException, zend_exception_get_default(TSRMLS_C), php_dbxml_XmlException_dtor);
    +#endif
         zend_declare_property_long(php_dbxml_XmlException_ce, "code",
                           sizeof("code")-1, 0,
                           ZEND_ACC_PROTECTED TSRMLS_CC);
    @@ -43,7 +47,7 @@
                           ZEND_ACC_PROTECTED TSRMLS_CC);
    -void php_dbxml_throw_exception(const XmlException &xe)
    +void php_dbxml_throw_exception(const XmlException &xe TSRMLS_DC)
         zval *xml_ex;
         MAKE_STD_ZVAL(xml_ex);
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml.h dbxml-2.3.11-64/dbxml/src/php/php_dbxml.h
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml.h     2006-11-15 17:53:11.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml.h     2008-06-04 15:04:22.000000000 +0200
    @@ -20,7 +20,6 @@
    #ifndef PHP_DBXML_H
    #define PHP_DBXML_H
    extern zend_module_entry dbxml_module_entry;
    #define phpext_dbxml_ptr &dbxml_module_entry
    @@ -39,9 +38,7 @@
    #endif
    #ifdef PHP_DBXML_EXCEPTIONS
    -extern "C" {
    #include "zend_exceptions.h"
    #endif
    PHP_MINIT_FUNCTION(dbxml);
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_indexlookup.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_indexlookup.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_indexlookup.cpp     2006-10-30 18:46:03.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_indexlookup.cpp     2008-06-04 15:08:05.000000000 +0200
    @@ -34,7 +34,7 @@
       index = This.getIndex();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -65,7 +65,7 @@
       index = This.getNodeURI();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -81,7 +81,7 @@
       index = This.getNodeName();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -112,7 +112,7 @@
       index = This.getParentURI();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -143,7 +143,7 @@
       index = This.getParentName();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -183,7 +183,7 @@
       zval *zv;
       long op;
       PHP_DBXML_STUFFED_THIS(XmlIndexLookup);
    -  if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &zv, php_dbxml_XmlValue_ce, &op))
    +  if (FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &zv, php_dbxml_XmlValue_ce, &op))
         WRONG_PARAM_COUNT;
    @@ -228,7 +228,7 @@
       zval *zv;
       long op;
       PHP_DBXML_STUFFED_THIS(XmlIndexLookup);
    -  if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &zv, php_dbxml_XmlValue_ce, &op))
    +  if (FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &zv, php_dbxml_XmlValue_ce, &op))
         WRONG_PARAM_COUNT;
    @@ -257,9 +257,8 @@
    PHP_DBXML_METHOD_BEGIN(XmlIndexLookup, setContainer)
       zval *zv;
    -  long op;
       PHP_DBXML_STUFFED_THIS(XmlIndexLookup);
    -  if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O", &zv, php_dbxml_XmlContainer_ce))
    +  if (FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "O", &zv, php_dbxml_XmlContainer_ce))
         WRONG_PARAM_COUNT;
    @@ -276,19 +275,22 @@
       long flags = 0;
       PHP_DBXML_STUFFED_THIS(XmlIndexLookup);
    +#define SET_PTR(expr)  \
    +  XmlQueryContext c = php_dbxml_get_XmlQueryContext_object_pointer(zqc TSRMLS_CC); \
    +  XmlResults r = expr; \
    +  object_init_ex(return_value, php_dbxml_XmlResults_ce); \
    +  php_dbxml_set_XmlResults_object_pointer(return_value, r TSRMLS_CC);
    +
       if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
           "O|l", &zqc, php_dbxml_XmlQueryContext_ce, &flags)) {
    -    XmlQueryContext c = php_dbxml_get_XmlQueryContext_object_pointer(zqc TSRMLS_CC);
    -    XmlResults r = This.execute(c, flags);
    +    SET_PTR(This.execute(c, flags));
         php_dbxml_set_XmlResults_object_pointer(return_value, r TSRMLS_CC);
       } else if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
           "OO", &zt, php_dbxml_XmlTransaction_ce, &zqc, php_dbxml_XmlQueryContext_ce, &flags)) {
         XmlTransaction t = php_dbxml_get_XmlTransaction_object_pointer(zt TSRMLS_CC);
    -    XmlQueryContext c = php_dbxml_get_XmlQueryContext_object_pointer(zqc TSRMLS_CC);
    -    XmlResults r = This.execute(t,c,flags);
    -    php_dbxml_set_XmlResults_object_pointer(return_value, r TSRMLS_CC);
    +    SET_PTR(This.execute(t, c, flags));      
       } else {
         WRONG_PARAM_COUNT;
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_indexspecification.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_indexspecification.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_indexspecification.cpp     2006-10-30 18:46:03.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_indexspecification.cpp     2008-06-04 15:08:49.000000000 +0200
    @@ -156,7 +156,7 @@
       if (This.find(std::string(uri, uri_len), std::string(name, name_len), index)) {
    -    RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +    DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
       } else {
         RETURN_FALSE;
    @@ -175,7 +175,7 @@
       index = This.getDefaultIndex();
    -  RETURN_STRINGL((char*)index.data(), index.length(), 1);
    +  DBXML_RETURN_STRINGL((char*)index.data(), index.length(), 1);
    } PHP_DBXML_METHOD_END()
    @@ -191,9 +191,9 @@
           zval *el;
           MAKE_STD_ZVAL(el);
           array_init(el);
    -      add_assoc_stringl(el, "uri", (char *) uri.data(), uri.length(), 1);
    -      add_assoc_stringl(el, "name", (char *) name.data(), name.length(), 1);
    -      add_assoc_stringl(el, "index", (char *) index.data(), index.length(), 1);
    +      add_assoc_stringl(el, "uri", (char *) uri.data(), (int)uri.length(), (int)1);
    +      add_assoc_stringl(el, "name", (char *) name.data(), (int)name.length(), (int)1);
    +      add_assoc_stringl(el, "index", (char *) index.data(), (int)index.length(), (int)1);
           add_next_index_zval(return_value, el);
         return;
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_inputstream.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_inputstream.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_inputstream.cpp     2006-10-30 18:46:03.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_inputstream.cpp     2008-06-03 18:12:07.000000000 +0200
    @@ -37,7 +37,7 @@
        Read a number of bytes and return them as a string */
    PHP_DBXML_METHOD_BEGIN(XmlInputStream, readBytes)
    -  long toread;
    +  int toread;
       PHP_DBXML_GETTHIS(XmlInputStream);
       if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &toread)) {
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_int.hpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_int.hpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_int.hpp     2006-11-15 17:53:11.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_int.hpp     2008-06-04 15:57:38.000000000 +0200
    @@ -11,14 +11,21 @@
    # include "config.h"
    #endif
    +// this is here to work around a PHP build issue on Windows
    +#include <iostream>
    +
    extern "C" {
    #include "php.h"
    #include "php_ini.h"
    #include "ext/standard/info.h"
    +#ifdef PHP_WIN32
    +#include "php_db4.h"
    +#else
    #include "ext/db4/php_db4.h"
    +#endif
    +#include "php_dbxml.h"
    #include <exception>
    -#include "php_dbxml.h"
    #include "dbxml/DbXml.hpp"
    using namespace DbXml;
    @@ -34,7 +41,7 @@
    #define PHP_DBXML_METHOD_END()           \
    } catch(XmlException &xe) {           \
    -  php_dbxml_throw_exception(xe);         \
    +  php_dbxml_throw_exception(xe TSRMLS_CC);         \
    catch(std::exception &e) {                     \
       php_error_docref(NULL TSRMLS_CC, E_WARNING, e.what()); \
    @@ -53,6 +60,15 @@
    #endif
    +// encapsulate calls to RETURN_STRINGL macro in PHP
    +#define DBXML_RETURN_STRINGL(d, l, s) \
    +    RETURN_STRINGL((char*)(d),(int)(l), (s))
    +
    +#define DBXML_RETURN_STRING(d, s) \
    +    RETURN_STRING((char*)(d),(int)(s))
    +
    +#define DBXML_RETURN_LONG(l) RETURN_LONG((long)(l))
    +
    static inline void php_dbxml_set_object_pointer(zval object, int type, void ptr TSRMLS_DC)
       zval *z;
    @@ -120,10 +136,13 @@
         zend_list_addref(Z_RESVAL_PP(prop));
    -/* fun with those on-the-stack-only style object (XmlContainer) that have their own magic refcounts */
    +/*
    + * macros to handle the Xml* objects
    + * "object_pointer" really means object reference (e.g. XmlDocument &)
    + */
    #define PHP_DBXML_STUFFED_INSTANCES(class_type) \
    -  class php_dbxml_stuffed_##class_type { \
    +  struct php_dbxml_stuffed_##class_type { \
       public: class_type stuffed; \
       php_dbxml_stuffed_##class_type(class_type &s): stuffed(s) {} \
    @@ -136,7 +155,7 @@
         struct php_dbxml_stuffed_##class_type *s = new struct php_dbxml_stuffed_##class_type(instance); \
         php_dbxml_set_object_pointer(object, le_##class_type, s TSRMLS_CC); \
    -  static inline class_type php_dbxml_get_##class_type##_object_pointer(zval *object TSRMLS_DC) { \
    +  static inline class_type & php_dbxml_get_##class_type##_object_pointer(zval *object TSRMLS_DC) { \
         struct php_dbxml_stuffed_##class_type s = (struct php_dbxml_stuffed_##class_type ) \
             php_dbxml_get_object_pointer(object, le_##class_type, php_dbxml_##class_type##_ce, #class_type TSRMLS_CC); \
         if (s) { return s->stuffed; } /* does internal addref */ \
    @@ -147,12 +166,14 @@
         delete s; \
    -// this is nearly identical to STUFFED_INSTANCES, above, with the exception
    -// that it stores an object reference, not an actual instance, which
    -// changes the member variable to a reference, along with the
    -// accessor's return value.  Everything else is identical.
    +/*
    + * this is nearly identical to STUFFED_INSTANCES, above, with the exception
    + * that it stores an object reference, not an actual instance, which
    + * changes the member variable to a reference, along with the
    + * accessor's return value.  Everything else is identical.
    + */
    #define PHP_DBXML_STUFFED_REFERENCES(class_type) \
    -  class php_dbxml_stuffed_##class_type { \
    +  struct php_dbxml_stuffed_##class_type { \
       public: class_type &stuffed; \
       php_dbxml_stuffed_##class_type(class_type &s): stuffed(s) {} \
    @@ -165,7 +186,7 @@
         struct php_dbxml_stuffed_##class_type *s = new struct php_dbxml_stuffed_##class_type(instance); \
         php_dbxml_set_object_pointer(object, le_##class_type, s TSRMLS_CC); \
    -  static inline class_type &php_dbxml_get_##class_type##_object_pointer(zval *object TSRMLS_DC) { \
    +  static inline class_type &php_dbxml_get_##class_type##_object_ref(zval *object TSRMLS_DC) { \
         struct php_dbxml_stuffed_##class_type s = (struct php_dbxml_stuffed_##class_type ) \
             php_dbxml_get_object_pointer(object, le_##class_type, php_dbxml_##class_type##_ce, #class_type TSRMLS_CC); \
         if (s) { return s->stuffed; } /* does internal addref */ \
    @@ -177,10 +198,10 @@
    #define PHP_DBXML_STUFFED_THIS(class_type)  \
    -  class_type This = php_dbxml_get_##class_type##_object_pointer(getThis() TSRMLS_CC);
    +  class_type &This = php_dbxml_get_##class_type##_object_pointer(getThis() TSRMLS_CC);
    #define PHP_DBXML_STUFFED_REF(class_type)                    \
    -  class_type &This = php_dbxml_get_##class_type##_object_pointer(getThis() TSRMLS_CC);
    +  class_type &This = php_dbxml_get_##class_type##_object_ref(getThis() TSRMLS_CC);
    #define PHP_DBXML_DECLARE_CLASS(class_type) \
       int le_##class_type; \
    @@ -197,7 +218,7 @@
         int i;
         for(i = 0; fe.handler; i++) {
    fe[i].fname = strdup(fe[i].fname);
    - zend_str_tolower(fe[i].fname, strlen(fe[i].fname));
    + zend_str_tolower(fe[i].fname, (unsigned int)strlen(fe[i].fname));
    @@ -241,6 +262,27 @@
    This->set##propname((proptype)val); \
    +#define PHP_DBXML_STRING_GETTER_AND_SETTER(class_type, propname) \
    +PHP_METHOD(class_type, get##propname)  \
    +{                                      \
    + PHP_DBXML_GETTHIS(class_type); \
    + if (ZEND_NUM_ARGS()) {               \
    + WRONG_PARAM_COUNT; \
    + } \
    + std::string str = This->get##propname(); \
    + DBXML_RETURN_STRINGL((char*)str.data(), str.length(), 1); \
    +} \
    +PHP_METHOD(class_type, set##propname)  \
    +{                                      \
    + char *val;                           \
    + int val_len; \
    + PHP_DBXML_GETTHIS(class_type); \
    + if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &val, &val_len)) { \
    + RETURN_FALSE; \
    + } \
    + This->set##propname(std::string(val, val_len)); \
    +}
    +
    PHP_DBXML_EXTERN_CLASS(XmlContainer);
    PHP_DBXML_EXTERN_CLASS(XmlData);
    PHP_DBXML_EXTERN_CLASS(XmlManager);
    @@ -261,8 +303,8 @@
    PHP_DBXML_EXTERN_CLASS(XmlInputStream);
    PHP_DBXML_EXTERN_CLASS(XmlValue);
    #ifdef PHP_DBXML_EXCEPTIONS
    -extern void php_dbxml_init_exceptions();
    -extern void php_dbxml_throw_exception(const XmlException &xe);
    +extern void php_dbxml_init_exceptions(TSRMLS_D);
    +extern void php_dbxml_throw_exception(const XmlException &xe TSRMLS_DC);
    PHP_DBXML_EXTERN_CLASS(XmlException);
    PHP_DBXML_STUFFED_INSTANCES(XmlException);
    #endif
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_manager.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_manager.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_manager.cpp     2006-10-30 18:46:04.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_manager.cpp     2008-06-04 15:13:37.000000000 +0200
    @@ -8,7 +8,6 @@
    #include "php_dbxml_int.hpp"
    -#include "ext/db4/php_db4.h"
    ZEND_RSRC_DTOR_FUNC(php_dbxml_XmlManager_dtor)
    @@ -35,7 +34,7 @@
    if (dbenv_obj) {
    - dbenv = php_db4_getDbEnvFromObj(dbenv_obj);
    + dbenv = php_db4_getDbEnvFromObj(dbenv_obj TSRMLS_CC);
    This = new XmlManager(DbEnv::get_DbEnv(dbenv), (unsigned int)flags);
    } else {
    This = new XmlManager((unsigned int)flags);
    @@ -63,7 +62,7 @@
    PHP_DBXML_GETTHIS(XmlManager);
    char *name;
    - long namelen;
    + int namelen;
    int ret = 0;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen)) {
         ret = This->existsContainer(std::string(name, namelen));
    @@ -76,7 +75,8 @@
    char *name;
    // these must be the same as BDB XML defaults
    - long namelen, flags = 0, mode = 0;
    + int namelen;
    + long flags = 0, mode = 0;
    XmlContainer::ContainerType type = XmlContainer::NodeContainer;
    zval *ztxn = NULL;
    PHP_DBXML_GETTHIS(XmlManager);
    @@ -108,7 +108,8 @@
    PHP_DBXML_METHOD_BEGIN(XmlManager, openContainer)
    char *name;
    - long namelen, flags = 0, mode = 0;
    + int namelen;
    + long flags = 0, mode = 0;
    XmlContainer::ContainerType type = XmlContainer::NodeContainer;
    zval *ztxn = NULL;
    PHP_DBXML_GETTHIS(XmlManager);
    @@ -138,7 +139,7 @@
    PHP_DBXML_GETTHIS(XmlManager);
    zval *ztxn = NULL;
    char *name;
    - long namelen;
    + int namelen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen)) {
    This->removeContainer(std::string(name, namelen));
    } else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &ztxn, php_dbxml_XmlTransaction_ce, &name, &namelen)) {
    @@ -156,7 +157,7 @@
    zval *ztxn = NULL;
    XmlTransaction *txn = NULL;
    char name, newname;
    - long namelen, newnamelen;
    + int namelen, newnamelen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &namelen, &newname, &newnamelen)) {
    This->renameContainer(std::string(name, namelen), std::string(newname, newnamelen));
    } else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &ztxn, php_dbxml_XmlTransaction_ce, &name, &namelen, &newname, &newnamelen)) {
    @@ -174,7 +175,7 @@
    PHP_DBXML_METHOD_BEGIN(XmlManager, createMemBufInputStream)
    char buffer, bufID;
    - long bufferlen, bufIDlen;
    + int bufferlen, bufIDlen;
    PHP_DBXML_GETTHIS(XmlManager);
    if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &buffer, &bufferlen, &bufID, &bufIDlen)) {
    return;
    @@ -200,7 +201,7 @@
    PHP_DBXML_METHOD_BEGIN(XmlManager, createQueryContext)
    PHP_DBXML_GETTHIS(XmlManager);
    - long rt = (long) XmlQueryContext::LiveValues, et = (long) XmlQueryContext::Eager;
    + int rt = (int) XmlQueryContext::LiveValues, et = (int) XmlQueryContext::Eager;
    if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &rt, &et)) {
    return;
    @@ -228,8 +229,7 @@
    zval *ztxn = NULL;
    zval *zctx = NULL;
    char *query;
    - long querylen;
    - XmlQueryContext *context;
    + int querylen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|O", &query, &querylen, &zctx, php_dbxml_XmlQueryContext_ce)) {
    if(zctx) {
    @@ -264,7 +264,8 @@
    zval *ztxn = NULL;
    zval *zctx = NULL;
    char *query;
    - long querylen, flags = 0;
    + int querylen;
    + long flags = 0;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|Ol", &query, &querylen, &zctx, php_dbxml_XmlQueryContext_ce, &flags)) {
    if(zctx) {
    @@ -346,14 +347,15 @@
    return;
    XmlContainer cont = php_dbxml_get_XmlContainer_object_pointer(zc TSRMLS_CC);
    + XmlIndexLookup lu;
    if(zv == NULL) {
    XmlValue value = XmlValue();
    - XmlIndexLookup lookup = This->createIndexLookup(cont, std::string(uri, uri_len), std::string(name, name_len), std::string(index, index_len), value, (XmlIndexLookup::Operation) flags);
    - php_dbxml_set_XmlIndexLookup_object_factory(return_value, lookup TSRMLS_CC);
    + lu = This->createIndexLookup(cont, std::string(uri, uri_len), std::string(name, name_len), std::string(index, index_len), value, (XmlIndexLookup::Operation) flags);
    + php_dbxml_set_XmlIndexLookup_object_factory(return_value, lu TSRMLS_CC);
    } else {
    XmlValue value = php_dbxml_get_XmlValue_object_pointer(zv TSRMLS_CC);
    - XmlIndexLookup lookup = This->createIndexLookup(cont, std::string(uri, uri_len), std::string(name, name_len), std::string(index, index_len), value, (XmlIndexLookup::Operation) flags);
    - php_dbxml_set_XmlIndexLookup_object_factory(return_value, lookup TSRMLS_CC);
    + lu = This->createIndexLookup(cont, std::string(uri, uri_len), std::string(name, name_len), std::string(index, index_len), value, (XmlIndexLookup::Operation) flags);
    + php_dbxml_set_XmlIndexLookup_object_factory(return_value, lu TSRMLS_CC);
    PHP_DBXML_ADDREF(getThis());
    @@ -383,7 +385,7 @@
    zval *zuc = NULL;
    char *name;
    long flags = 0;
    - long namelen;
    + int namelen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|Ol", &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|Ol", &ztxn, php_dbxml_XmlTransaction_ce, &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else {
    @@ -408,7 +410,7 @@
    zval *zuc = NULL;
    char *name;
    long flags = 0;
    - long namelen;
    + int namelen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|Ol", &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|Ol", &ztxn, php_dbxml_XmlTransaction_ce, &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else {
    @@ -433,7 +435,7 @@
    zval *zuc = NULL;
    char *name;
    long flags = 0;
    - long namelen;
    + int namelen;
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|Ol", &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else if(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|Ol", &ztxn, php_dbxml_XmlTransaction_ce, &name, &namelen, &zuc, php_dbxml_XmlUpdateContext_ce, &flags)) {
    } else {
    @@ -454,7 +456,7 @@
    PHP_DBXML_GETTHIS(XmlManager);
    std::string buffer = This->getHome();
    - RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    + DBXML_RETURN_STRINGL((char *)buffer.data(), buffer.length(), 1);
    PHP_DBXML_METHOD_END()
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_modify.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_modify.cpp
    --- dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_modify.cpp     2006-10-30 18:46:04.000000000 +0100
    +++ dbxml-2.3.11-64/dbxml/src/php/php_dbxml_modify.cpp     2008-06-04 15:14:42.000000000 +0200
    @@ -29,7 +29,7 @@
    zval zexp, zres;
    long type;
    char name, content;
    - long name_len, content_len;
    + int name_len, content_len;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
    @@ -66,7 +66,7 @@
    zval zexp, zres;
    long type;
    char name, content;
    - long name_len, content_len;
    + int name_len, content_len;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
    @@ -103,7 +103,7 @@
    zval zexp, zres;
    long type, location = -1;
    char name, content;
    - long name_len, content_len;
    + int name_len, content_len;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    if (SUCCESS == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
    @@ -140,7 +140,7 @@
    zval *zexp;
    char *content;
    - long content_len;
    + int content_len;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &zexp, php_dbxml_XmlQueryExpression_ce,
    @@ -159,7 +159,7 @@
    zval *zexp;
    char *content;
    - long content_len;
    + int content_len;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &zexp, php_dbxml_XmlQueryExpression_ce,
    @@ -208,8 +208,6 @@
    PHP_DBXML_METHOD_BEGIN(XmlModify, execute)
    - char *encoding;
    - int encoding_len;
    zval zv, zqc, zuc, zt;
    PHP_DBXML_STUFFED_THIS(XmlModify);
    diff -Naur -x '*xerces-c-src*' -x '*build_unix*' -x '*configure' -x '*Builder.pm' -x '*More.pm' -x'*const-c.inc' -x '*setup.py' dbxml-2.3.11.orig/dbxml/src/php/php_dbxml_querycontext.cpp dbxml-2.3.11-64/dbxml/src/php/php_dbxml_querycontext.cpp
    --- dbxml-2.3.11.orig/dbxml/

  • E-Business Suite 11.5.10.2 Procedure for OpenSuse 10.2

    I recently installed 11.5.10.2 on an OpenSuSE 10.2 machine and found considerable differences between SLES10/SuSE10.1 and OpenSuSE 10.2. The following instructions will install a fully functional E-Business Suite:
    Setup the O/S per the following guide:
    Oracle 10gR2 on openSUSE 10.2
    http://ftp.novell.com/partners/oracle/docs/10gR2_openSUSE102_introduction.pdf
    Install Suse Linux 10.2 with at least the following groups:
    Graphical Base System
    KDE Desktop Environment
    C/C++ Compiler and Tools
    Under partitioning, ensure you have 2GB minimum for swap. I recommend starting with 4 or 6 GB of swap (2x-3x physical ram).
    create dba and appl groups
    create oracle and applmgr user
    as root:
    cd /usr/lib
    ln -s libdb.so.2 libdb.so.3
    download compat-gdbm-1.8.0-7.i586.rpm from Suse 10.0 repository
    http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/compat-gdbm-1.8.0-7.i586.rpm
    rpm -Uhv compat-gdbm-1.8.0-7.i586.rpm
    download openmotif21-libs-2.1.30MLI4-143.i586.rpm from Suse 10.1 repository
    http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.1/inst-source/suse/i586/openmotif21-libs-2.1.30MLI4-143.i586.rpm
    rpm -Uhv openmotif21-libs-2.1.30MLI4-143.i586.rpm
    download openmotif22-libs-2.2.4-28.i586.rpm from Suse 10.2 repository
    http://suse.mirrors.tds.net/pub/opensuse/distribution/10.2/repo/oss/suse/i586/openmotif22-libs-2.2.4-28.i586.rpm
    rpm -Uhv openmotif22-libs-2.2.4-28.i586.rpm
    add the following installation repositories:
    http://suse.mirrors.tds.net/pub/opensuse/distribution/10.2/repo/oss/suse/
    http://suse.mirrors.tds.net/pub/opensuse/distribution/10.2/repo/non-oss/suse/
    Verify you have the following packages:
    * binutils-2.17.50.0.5-21
    * compat-2006.1.25-29
    * db1-1.85-119
    * db1-devel-1.85-119
    * dovecot-1.0.rc14-7
    * expat-2.0.0-32
    * compat-expat1-1.95.8-26
    * gcc-4.1.3-29
    * gcc-c++-4.1.3-29
    * gcc_old-2.95.3-175.2
    * glibc-2.5-25
    * gnome-libs-1.4.1.7-733
    * gnome-libs-devel-1.4.1.7-733
    * libaio-0.3.104-32
    * libaio-devel-0.3.104-32
    * libgcc41-4.1.2_20061115-5
    * libstdc++41-4.1.2_20061115-5
    * libstdc++41-devel-4.1.2_20061115-5
    * compat-libstdc++-5.0.7-41
    * make-3.81-23
    * openmotif21-libs-2.1.30MLI4
    * orarun-1.9-52
    * pdksh-5.2.14-822
    * sysstat-6.0.2-36.2
    * xscreensaver-5.01-14
    create /etc/init.d/xvfbserver
    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides: xvfb
    # Required-Start: $network $syslog $remote_fs
    # Should-Start: $time ypbind sendmail
    # Required-Stop: $network $syslog $remote_fs
    # Should-Stop: $time ypbind sendmail
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Short-Description: xvfb daemon providing virtual framebuffer support
    # Description: Start the xvfb service on host.domain:50
    ### END INIT INFO
    nohup /usr/bin/X11/Xvfb :50 -screen 0 1024x800x8 -pn -fp /usr/share/fonts/misc -sp /usr/lib/xserver/SecurityPolicy &
    export DISPLAY=host.domain:50.0
    /usr/bin/xhost +
    nohup /usr/bin/mwm &
    Once xvfbserver is saved, type insserv xvfbserver in /etc/init.d as root.
    This script provides dynamic gif generation for many self service/framework applications and Motif Window Manager for preventing REP-3000 errors running bitmapped concurrent requests. If you do not mind the square gray boxes or never run bitmapped reports, you can skip this step.
    If you want to test Workflow notifications, edit /etc/dovecot/dovecot.conf and change:
    #disable_plaintext_auth = yes
    to
    disable_plaintext_auth = no
    SSL enabled IMAP for 11i was only enabled after ATG.H RUP 3, and not really required small training environments.
    Goto Yast->System->System Services (Runlevels)
    Highlight Dovecot and enable it.
    Goto Yast->Network Services->Mail Transfer Agent
    Leave the Connection Type on Permanent and click next
    Leave Outgoing Server blank and hit next.
    Check the Accept remote SMTP connections and Open port in firewall, then hit next.
    Run Online Update for all updateable packages. This will bring the Sun Java plugin up to 1.5.0_10.
    http://ftp.novell.com/partners/oracle/sles-10/orarun.rpm
    rpm -Uhv orarun.rpm
    Run “/usr/sbin/rcoracle start“ to set kernel parameters.
    1) Setup the environment as you would for running Applications on RH 4 or SLES9
    I.E. follow Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
    2) Remove any LD_ASSUME_KERNEL references in O/S /etc/profile.d files. While in oracle and applmgr .profile, add the following:
    export LD_PRELOAD=/usr/lib/libInternalSymbols.so
    3) Comment out LD_ASSUME_KERNEL entries in $ORACLE_HOME/appsutil/bin/adgetlnxver.sh and $AD_TOP/bin/adgetlnxver.sh
    if [ ${setflag}x = "x" -a $os = "Suse" ]; then
    # LD_ASSUME_KERNEL="2.4.21"
    # export LD_ASSUME_KERNEL
    os="Suse"
    fi
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    # LD_ASSUME_KERNEL="2.4.19"
    # export LD_ASSUME_KERNEL
    os = "RH"
    fi
    If doing a rapid install, the database startup will fail and rapidwiz will prompt to ignore or retry. At this point, edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh as shown above and click on retry. It will then run to the autoconfig step at the end and error out. Just hit cancel, edit $AD_TOP/bin/adgetlnxver.sh as shown above.
    At this point, go to $APPL_TOP/admin, and in sid_host.xml,
    replace
    <sun_plugin_ver oa_var="s_sun_plugin_ver">1.4.2_04</sun_plugin_ver>
    with
    <sun_plugin_ver oa_var="s_sun_plugin_ver">1.5.0_10</sun_plugin_ver>
    Then run autoconfig.
    This will allow you to open 11i forms that require Jinitiator in Windows via the Sun Java Plugin in either Firefox or SeaMonkey (the Mozilla replacement) on your Suse 10.2 machine once allowing popups and checking always trust Oracle content on the initial java warning.
    Look at your port pool selections while running autoconfig and comment out any ports for /etc/services and reboot. Port 8201 was preventing apache web pls listener from starting.
    4) In order to relink cplex library executables (MSC, MSO, MSR, MST, WIP, etc), edit $AD_TOP/bin/adrelinknew.sh and add the following LD option (-Wl,--noinhibit-exec) in the LINUX section:
    LINUX)
    LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    DEBUG_LDFLAGS='-g -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    exe_line='ELF .*executable'
    SHRLIB_LD='gcc'
    LD='gcc'
    SHRLIB_LDFLAGS='-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -shared'
    if test -f "/etc/redhat-release"; then
    CPP_LIBS='/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so'
    elif test -f "/etc/SuSE-release"; then
    CPP_LIBS='/usr/lib/libstdc++.so.2.9'
    else
    CPP_LIBS=''
    fi
    CPP='g++'
    CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    set CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    to CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -Wl,--noinhibit-exec'
    After this chance, you can apply any MRP, ASCP patch and all executables will relink correctly. You can also use adadmin to relink all executables and it completes without error.
    5) For Discoverer 4.1.48.08, Follow Metalink Note 280598.1 Discoverer 4i On Linux: Required Patch and Configuration for Discoverer Server Stability to use JDK 1.3.1 and oadj. I updated the autoconfig template files with this change after applying 3895177. Discoverer viewer and plus standard BIS reports all open correctly on SLES-10/Suse 10.1
    6) If you want to apply Developer 6i Patchset 17 or 18 to your 11i system, edit $ORACLE_HOME/forms60/lib/cus_forms60w.mk and ins_forms60w.mk and remove the -Bstatic
    BUILD_FORMS_SO_FILE=$(SOSD_FORMS_LDSHARED_SO) \
    context.o create.o destroy.o formsapi.o iauasst.o iauexcep.o \
    ifjapi.o objlib.o persistc.o \
    $(LIBJAPI) \
    $(JAPI_PLSQL) \
    $(FDESGEN_BUILT_INS) \
    sslidtab.o \
    $(LLIBD2F) \
    $(LLIBIE) $(LLIBIL) $(LLIBIE) $(LLIBIG) $(LLIBIF_IFG) $(LLIBIG) \
    $(LLIBIM_IMG) $(LLIBIW_IWG) $(LLIBID_IDD) $(LLIBID_IDL) $(LLIBID_IDG) \
    $(LLIBID_ID2) $(LLIBID_IDG) $(LLIBID_ID1) $(LLIBIG_IGO) $(LLIBIT_ITG) \
    $(LLIBIHM) $(LLIBIB) $(LLIBIM_IMG) $(LLIBIP_IPG) $(LLIBIC_ICG) $(LLIBIP_IPC) \
    $(LLIBIM_IMC) $(LLIBIF_IFC) $(LLIBIJ_IJC) $(LLIBIW_IWC) $(LLIBIPLSD) \
    $(LLIBIO_IOD) $(LLIBIO_IOC) $(LLIBIC) $(LLIBSOSD) $(LLIBII_IIC) $(LLIBIT) \
    $(LLIBIC) $(LLIBIP_IPC) \
    $(DEPLIBSM) \
    -Bdynamic $(LLIBTHREAD) -lnsl -ldl -lm -lc
    due to:
    ar x $ORACLE_HOME/lib/libifjapi60.a context.o create.o destroy.o formsapi.o \
    iauasst.o iauexcep.o ifjapi.o objlib.o persistc.o
    /usr/bin/ld -o $ORACLE_HOME/lib/libifjapi60.so -z muldefs -G -L$ORACLE_HOME/lib/ context.o create.o destroy.o formsapi.o iauasst.o iauexcep.o ifjapi.o objlib.o persistc.o $ORACLE_HOME/lib/libifjapi60.a $ORACLE_HOME/forms60/lib/ipcpcr.o $ORACLE_HOME/forms60/lib/ipdecr.o $ORACLE_HOME/forms60/lib/ipkbu.o sslidtab.o -ld2f -lie -lil -lie -lig -lifg -lig -limg -liwg -lidd -lidl -lidg -lid2 -lidg -lid1 -ligo -litg -lihm -lib1 -limg -lipg -licg -lipc -limc -lifc -liwc -liplsd -liod -lioc -lic -lsosd -liic -lit -lic -lipc -lnn60 -lobx60 -lzrc60 -lge60 -lvgs60 -lde60 -lucol60 -lca60 -lnvu60 -lnvc60 -lnvs60 -luicc60 -lmma60 -lmmiw60 -lmmov60 -lmma60 -lmmos60 -lmmoi60 -lmmia60 -lmmft60 -lmmcm60 -luihx60 -luc60 -luipr60 -luimotif60 -lot60 -lrem60 -lree60 -lrec60 -luiimg60 -luimotif60 -luipr60 -luiimg60 -luc60 -lrem60 -luimotif60 -luia60 -ltknqap60 -luipr60 -luimotif60 -lutt60 -lix60 -lixd60 -lrod60 -lror60 -lros60 -lrod60 -lror60 -lros60 -lrod60 -luat60 -lutc60 -lutl60 -lutsl60 -lplsf -lplsb -lextp -lpsd -lplsf -lplsb -lextp -lslax -lsql $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o $ORACLE_HOME/lib/naect.o $ORACLE_HOME/lib/naedhs.o -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -ldl -lm -lpthread -ldl -lpthread -lm -L/usr/lib -lm -L/usr/X11R6/lib -lXm -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ -lXt -lX11 -lm -lix60 -lixd60 -lX11 -lnlsrtl3 -lXp -lXext -Bdynamic -lnsl -ldl -lm -lc -Bstatic
    /usr/bin/ld: -static and -shared may not be used together
    make: *** [$ORACLE_HOME/lib/libifjapi60.so] Error 1
    At this point, you can follow the 10gR2 interop note to upgrade the 11.5.10.2 9.2.0.6 database to 10.2.0.2 via dbua:
    Follow the latest 10gR2/11i Interoperability Notes (362203.1)
    Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)
    http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=362203.1
    I have relinked every Oracle Home and applications executables without errors.

    Great. The only other setup I would add is if your machine's wired ethernet is ever disconnected, the default setup for OpenSuse 10.2 is to have the interface up when the cable is plugged. In that case, you cannot ping your host if you use static IP address for wired connection and DHCP for wireless. Open YaST, Network Devices. Highlight the wired interface, and select Edit. Then on the General Tab, change the Device Activation from On Cable Connection to At Boot Time.

  • Ifolder client encounted an error while connecting to server

    Windows 7 64 bit client give me an error when i try to connect to my i folder system. An error was encountered while connecting to ifolder server. please verify the information entered and try again if the problem persists, please contact your network administrator.
    The server is a suse server that I have setup with LDAP authencation
    This server works on the web interface and on my linux client but as soon as i try to connect a windows client to it i am unable to connect.
    I have tried this with fresh install of ifolder 3.7 server & ifolder 3.8 server
    I have tried this with ifolder client 3.8.0 & 3.8.0.3
    I have tried both the fqdn and the ip to connect to the server
    I have tried both ssl and nonssl in my settings.
    I have tried running as administrator
    I have tried reinstalling the client several times
    I have rebooted the server.
    I enabled debug mode on the server interface and i see no connection errors in there.
    The questions i have is where is the log file for the windows client?
    Is there an easy fix for this issue?
    Why does my web interface and linux client work and not my windows 7 one?
    Is there any other information you will need to help me fix this issue?
    Thanks,
    Rhardy

    On Wed, 15 Dec 2010 17:36:02 GMT
    skinnyquiver <[email protected]> wrote:
    >
    > Windows 7 64 bit client give me an error when i try to connect to my i
    > folder system. An error was encountered while connecting to ifolder
    > server. please verify the information entered and try again if the
    > problem persists, please contact your network administrator.
    >
    > The server is a suse server that I have setup with LDAP authencation
    > This server works on the web interface and on my linux client but as
    > soon as i try to connect a windows client to it i am unable to
    > connect.
    >
    > I have tried this with fresh install of ifolder 3.7 server & ifolder
    > 3.8 server
    > I have tried this with ifolder client 3.8.0 & 3.8.0.3
    > I have tried both the fqdn and the ip to connect to the server
    > I have tried both ssl and nonssl in my settings.
    > I have tried running as administrator
    > I have tried reinstalling the client several times
    > I have rebooted the server.
    > I enabled debug mode on the server interface and i see no connection
    > errors in there.
    >
    > The questions i have is where is the log file for the windows client?
    > Is there an easy fix for this issue?
    > Why does my web interface and linux client work and not my windows 7
    > one?
    > Is there any other information you will need to help me fix this
    > issue?
    >
    > Thanks,
    >
    > Rhardy
    >
    >
    Hi
    When connecting via the windows client, did you get a certificate
    request? Is the LDAP(S) port open on the server?
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
    up 2 days 18:56, 2 users, load average: 0.31, 0.15, 0.10
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29

  • Installation issue on opensuse 11

    Hey All,<br /><br />Im a Windows guy still struggling with Linux set-upsso take it easy on me! :)  and Im having a hard time getting blaze installed and running.<br /><br />This is what Ive done so far.  I've successfully set-up the latest copy of openSuse11 64 bit version with: <br />  Tomcat 6.0.16 (Tested and running)<br />  ANT 1.7<br />  JAVA SDK & JDK 6<br />  Junit (ant-junit, junit, junit-javadoc, junit-manual, libcppunit-1_12-0)<br />  Downloaded both blazeds.war and blazeds_src_3-0-0-544.zip<br />  From Tomcat Manager I uploaded the blazeds.war file successfully.<br />  I unzipped the zip file into root/blazeds and from a command prompt ran     ant.  These are the errors Im getting:<br />     *  [taskdef] Could no load definitions from resource net/sf/antcontrib/antcontrib.properties.  It could not be found.  (Repeats about a dozen times)<br />     *  BUILD FAILED<br />     *  /root/blazeds/build.xml:445:  The following error occurred while executing this line:<br />     *  /root/blazeds/resources/fds-ajax-bridge/build.xml:52  Problem:  failed to create task or type if Cause:  The name is undefined.<br />     *  Action:  Check the spelling<br />     *  Action:  Check that any custom tasks/types have been declared<br />     *  Action:  Check that any <presetdef>/<mac  rodef> declarations have taken place.<br /><br />Variables:<br />env | grep _HOME<br /><br />ANT_HOME  = /usr/share/ant<br />JRE_HOME =/usr/lib64/jvm/java/jre<br />JAVA_HOME =/usr/lib64/jvm/java/jre<br />SDK_HOME =/usr/lib64/jvm/java/jre<br />JDK_HOME =/usr/lib64/jvm/java/jre<br /><br />Any ideas?<br />Brad

    Hi Alex,
    Sorry I've been away and just got back.  Presently I'm working from jrun4 and would like to use blazeds instead.  Once my projects get going I would need the ability to use my customers already made linux/tomcat boxes and just plug in blaze.
    I look forward to your answer.
    Brad
    On Fri, Aug 1, 2008 at 12:57 PM, Alex Glosband
    <
    [email protected]> wrote:
    A new message was posted by Alex Glosband in
    Configuration and Getting Started Discussion --
      Installation issue on opensuse 11
    Are you just trying to install and run BlazeDS? Why do you need to build from source?
    -Alex
    View/reply at
    Installation issue on opensuse 11
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.

  • How to install Oracle 11 R2 Client (11.2.0.1.0) on OpenSuse 12-64

    I would like to install the Oracle 11 client on OpenSuse 12-64, but when I try, the installer shows me a list of about 20 kernel parameters and packages that are incorrect. The packages required by the Oracle client are all older versions than the ones I have available.
    I tried to install the latest client version (11.2.0.2.0), hoping it would use newer packages, but it just aborts with the error .../.oui: cannot execute binary file.
    My Oracle 11g R1 database is running on OpenSuse 11.1-64 quite nicely by the way - I had no issues with packages there...
    My questions are:
    1. Can any one point me to the prerequisite list for the Oracle Client on Linux? Maybe I can find another Linux distro or OpenSuse version that works...
    2. Can anyone suggest a way out of this mess that doesn't require installing a bunch of ancient packages?
    Thanks in advance for any light you can throw on this issue...

    You find the prerequisites in the installation guide, additional remarks may be in the patchset readme files:
    http://docs.oracle.com/cd/E11882_01/install.112/e24325/toc.htm
    If you have already newer packages, you may ignore the prerequisite checks. But OpenSuse 12-64 is not supported, no guarantee that it works at the end.
    Werner

Maybe you are looking for

  • How to determine most recent date from the date column of internal table

    Dear friends would you like to tell me. how i determine the most recently changed record by looking at date and time from internal table i am not supposed to sort the table by date and time... I must check date and time with other records date and ti

  • AP_EXPENSE_REPORT_HEADERS_ALL attribute mapping to AP_INVOICES_ALL

    Hi, We need to have some values in AP_INVOICES_ALL in some DFF ( For example Attribute10 ) for invoices we import via expense express. When we update attribute10 of ap_expense_report_headers_all after import i dont see it in the ap_invoices_all table

  • Problems in the date format

    Hi, I am working on a program in which i retrieve date fields from an Oracle 8 DB & need to execute other db statements.The extracted date field's format is however different from that of Oracle format.Is there some way of obtaining the date fileld i

  • Schema error after upgrade from 4.6C to ECC 5.0

    Hi all, We have recently upgraded from 4.6C to ECC 5.0. We are having problem in payroll run. When I did a syntax check in schema, I got "UDPM" rule doesn't exist. I checked, this rule is present in 4.6C. This is the standard rule. If I am right, it

  • Databases in Recovery Pending state

    Dear all, Need your expertise to understand bit more.  Yesterday i came across databases in "Recovery Pending" state problem. Followed too many recommendations form Google but to no avail. e.g. http://dbamohsin.wordpress.com/2012/01/23/cannot-detach-