Compiling gtk+ and gtkmm with suncc

Hello! I just did download, install and check the sunstudioIDE for Linux (Debian GNU Linux 4.0 (etch)). So far everything went fine. But as I tried to build the gtk+ and gtkmm libraries with the cc and CC compiler, the build went wrong. Which options can I supply to the configure script for compiling the libraries with suncc?

You don't say what went wrong, so it's impossible to suggest a solution. Here are a two points to consider:
1. Sun C++ is not binary compatible with g++. If you compile C++ code with Sun C++, you cannot link with libraries or other binaries built with g++. We plan to provide g++ binary compatibility in a future release. The Sun C and gcc compilers are compatible for C code.
2. Not all Open Source applications have a suitable configuration for Sun Studio. I don't know about gtk/gtkmm specifically. You could check the web sites to see whether a Sun Studio configuration is available.
If you are not linking g++ binaries and if a Sun Studio configuration is available for gtk/gtkmm, then you need to be more specific about what problems you are having. At minimum, show the following:
- compiler version. Run the command "CC -V"
- the command that failed (show the entire command line)
- error messages (in full)

Similar Messages

  • How can I compile all functions, procedures and packages with a script?

    I need to compile all functions, procedures and packages of 5 schemas (users) with a script.
    How can I do it?
    Thanks!

    you can create a script to select all invalid objects in those schemas Since Oracle 8 introduced NDS this approach has struck me as a trifle old fashioned. It's much simpler to loop round the query in PL/SQL and use EXECUTE IMMEDIATE to fire off the DDL statements. No scripts, no muss, no fuss.
    Having said that, the problem with this approach and also with using DBMS_UTILITY.COMPILE_SCHEMA is that they do not compile all the invalid objects in dependency order. This may result in programs being invalidated by the subsequent compilation of dependencies. This is due to the introduction of Java into the database.
    The UTLRP script is much better, because it (usually) avoids cyclic references. But you still may need to run it more than once.
    In general it is better to avoid sledgehammer recompilations (like DBMS_UTILITY.COMPILE_SCHEMA, which starts by invalidating all the objects). If we have twenty invalid objects, nineteen of which are dependencies of the twentieth, we actually only need to recompile the master object, as recompiling it will trigger the recompilation of all the others.
    Cheers, APC

  • Getting errors and LabView with ARM project won't compile

    Hello there, I am currently turning to make a project run on a STM32f103C8 chip using LabView with ARM. I am currently trying to compile a ARM project but I have no been successful.
    I have tried using the STM32F10x template uploaded by Joshua, and it tries to compile. At first I was getting the "stm32f10x_tim1.c" file missing error, but that was solved by downloading the file from firmware v1 and adding it to the includes folder. but now i am getting a new error saying "profile_timer.h" is missing.
    I am using:
    Windows 7
    LabView 2010 evaluation
    NI ARM module
    and I am trying to compile a empty project
    Here is the error code message, any hepl will be useful, thanks:
    [12:39:37 PM] Status: Error
    Build target 'LabVIEW'
    compiling RTX_Config.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling Retarget.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling TargetInit.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling ARM_Serial.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling LVTree.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling Pict.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling arrresize.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\platdefines.h(321): error:  #35: #error directive:
    Target not created
    Status: Build failed.

    blank projects using other included boards seem to compile fine
    and i have added a mock "profile_timer" to the keil library (just as a quick fix) and it seems to have stopped a lot of the errors, however i am still getting a few
    these seem to be:
    compiling CCGDatalogSupport.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGDatalogSupport.c(23): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGFileSupport.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGFileSupport.c(22): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGFileSupport2.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGFileSupport2.c(22): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGIrDASupport.c...
    compiling CCGNetConnRefNum.c...
    compiling CCGSerial.c...
    compiling LVTree.c...
    compiling Pict.c...
    compiling arrresize.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\platdefines.h(321): error:  #35: #error directive:
    Target not created
    Status: Build failed.
    i'll see if i can find a file for the ccgfilesupportpriv.h but the error directive worries me a bit

  • Ostringstream 10; hangs when compiled and build with -mt option.

    I've written a very simple program to test the use of the stl class ostringstream. The program write an integer to the ostringstream object. In a multithreaded environment (compiled and build with the -mt option), that operation hangs and never returns, whilst it works fine if the program is compiled and build without the -mt option.
    Here is the program :
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <sstream>
    int main() {
    std::ostringstream buffer;
    printf("before writing integer to ostringstream\n"); fflush(stdout);
    buffer<< 10;
    printf("after writing integer to ostringstream.\n"); fflush(stdout);
    printf("exiting.\n"); fflush(stdout);
    return 0;
    Compilation and build :
    CC -mt test.cpp -o test
    Do you any idea why the program hangs at buffer << 10; in a multithreaded environment ?
    (I have tried to write a string instead of a integer, then it works).
    Thanks a lot

    Hi, I've tried your code with Solaris 7 with Forte Developer 6.2, and it seems to work fine. I get the following output:
    before writing integer to ostringstream
    after writing integer to ostringstream.
    exiting.
    My compiler version is:
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-03 2001/10/19
    -Moazam

  • [SOLVED] Can't compile hdjmod and hdjcpl from AUR.

    Hello,
    I've bought a Hercules DJ Console MK2, and I would like to use it with Mixxx.
    It doesn't seem to be recognized by Mixxx, probably because no drivers are installed.
    So I decide to install hdjmod from AUR.
    It also gets hdjcpl (dependency), but while compiling, it fails.
    Here's the error message :
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c ghelpers.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gbutton.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcheckbox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcombobox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gslider.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatic.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatictext.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps gcc -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -c binreloc.c
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    g++ -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -pthread -o hdjcpl hdjcpl.o alsainterface.o bulkinterface.o drivernotification.o hidnotification.o dmanager.o localization.o devnulldlg.o devdjcdlg.o devmk2dlg.o devmp3dlg.o devrmxdlg.o devsteeldlg.o gcontrol.o gdialog.o ghelpers.o gbutton.o gcheckbox.o gcombobox.o gslider.o gstatic.o gstatictext.o binreloc.o -L../../wxWidgets-2.8.10/buildgtk/lib -lz -lm -lasound -pthread -lSM -lgtk-x11-2.0 -lgthread-2.0 -lglib-2.0 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base-2.8 -lwxpng-2.8
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::ChangeMode(wxVideoMode const&)':
    displayx11.cpp:(.text+0x20f): undefined reference to `XF86VidModeGetAllModeLines'
    displayx11.cpp:(.text+0x2f1): undefined reference to `XF86VidModeSwitchToMode'
    displayx11.cpp:(.text+0x3bd): undefined reference to `XF86VidModeSwitchToMode'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetCurrentMode() const':
    displayx11.cpp:(.text+0x462): undefined reference to `XF86VidModeGetModeLine'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetModes(wxVideoMode const&) const':
    displayx11.cpp:(.text+0x6b7): undefined reference to `XF86VidModeGetAllModeLines'
    collect2: ld returned 1 exit status
    make[2]: *** [hdjcpl] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build hdjcpl package.
    Do you have any idea about the reason I got this error ?
    What are the prerequisite to install these drivers (I mean, is there any other dependency that isn't asked in the PKGBUILD ?) ?
    Sorry for my bad english.
    Thanks for future answers.
    skYzer
    Last edited by skYzer (2009-09-23 10:32:20)

    Welcome to the forum skYzer!
    makepkg can show you if there are some dependencies that you didn't installed, and makepkg with -s option does it for you automatically, so it installs all the dependencies.
    If the author missed this dependencies from the PKGBUILD, you can see on the url address in the PKGBUILD (so on the author site) what do they write about dependencies, in last case try it manually, and see config.log, or similar outputs.
    Btw, it can be built by  me without any problem.
    Last case you could build it manually, without using fakeroot environment, and the PKGBUILD from maintainer.

  • Trouble compiling GTK

    Hi everyone,
    I'm trying to compile gtk+ 2.13.7, but Make fails with an error about libcairo.
    As far as I know, I've successfully compiled all of gtk's dependencies, but for
    some reason gtk is looking for libcairo in my X11 directory instead of in my
    /usr/local/lib directory. This is on OS X 10.5.4, and I've compiled everything
    myself (not using fink or darwin ports). Here's the last part of the Make output:
    <pre>
    Extracting /Users/jeff/Desktop/gtk+-2.13.7/gdk/x11/.libs/libgdk-x11.a
    (cd .libs/libgdk-x11-2.0.lax/libgdk-x11.a && ar x /Users/jberman/Downloads/forPan/gtk+-2.13.7/gdk/x11/.libs/libgdk-x11.a)
    sed 's,^,_,' < .libs/libgdk-x11-2.0.exp > .libs/libgdk-x11-2.0-symbols.expsym
    gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgdk-x11-2.0.0.1307.0.dylib .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkapplaunchcontext-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkasync.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcolor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcursor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdisplay-x11.o
    .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdnd-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdrawable-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkevents-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkfont-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgc-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgeometry-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkglobals-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkim-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkimage-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-none.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkkeys-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkmain-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkpixmap-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkproperty-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkscreen-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkselection-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkspawn-x11.o
    .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdktestutils-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkvisual-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkwindow-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxftdefaults.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-client.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-common.o -L/usr/X11/lib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libX11.6.2.0.dylib -L/usr/local/lib /usr/local/lib/libpangocairo-1.0.dylib /usr/local/lib/libcairo.dylib /usr/local/lib/libpng12.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /usr/local/lib/libpixman-1.dylib /usr/local/lib/libpangoft2-1.0.dylib /usr/local/lib/libfontconfig.dylib /usr/lib/libiconv.dylib /usr/local/lib/libfreetype.dylib /usr/lib/libz.dylib
    /usr/lib/libexpat.dylib /usr/local/lib/libpango-1.0.dylib /usr/lib/libc.dylib /usr/lib/libm.dylib /usr/X11/lib/libcairo.2.17.5.dylib /usr/X11/lib/libfreetype.dylib /usr/local/lib/libgio-2.0.dylib /usr/local/lib/libgobject-2.0.dylib /usr/local/lib/libgmodule-2.0.dylib /usr/local/lib/libglib-2.0.dylib /usr/local/lib/libintl.dylib /usr/X11/lib/libfontconfig.dylib -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -install_name /usr/local/lib/libgdk-x11-2.0.0.dylib -compatibility_version 1308 -current_version 1308.0 -Wl,-single_module -Wl,-exportedsymbolslist,.libs/libgdk-x11-2.0-symbols.expsym
    i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libcairo.2.17.5.dylib: No such file or directory
    make[4]: * [libgdk-x11-2.0.la] Error 1
    make[3]: * [all-recursive] Error 1
    make[2]: * [all] Error 2
    make[1]: * [all-recursive] Error 1
    make: * [all] Error 2
    </pre>
    Does anyone have any idea why it would suddenly look for libcairo in
    /usr/X11/lib when pango found the correct libcairo? Any ideas on how to get
    around this? A few months ago I actually successfully compiled GTK on a
    different Mac, so I know it can be done. Help!
    Thanks!

    I think you just need to do that for whatever library (or libraries) you want to explicitly direct it to.
    It might be easier first to try
    LDFLAGS="-L/path/to/your/lib"
    configure --help
    will tell you more about how explicitly to feed in the information.
    Nobody "needs" to use fink, but I find with stuff like gtk+2, which I care about only because I need it to run programs I am interested in, it is far easier to let an expert worry about how to make it work.
    What works or does not work out of the box is highly package-dependent. As time goes on, more and more developers try to make their stuff work out of the box for OS X.
    Here's the version of gtk+2 I have installed with fink, fwiw:
    fink list gtk+2
    Information about 7126 packages read in 1 seconds.
    i gtk+2 2.12.11-2 The Gimp Toolkit
    Not quite as new as 2.14, but a lot closer. (I use fink "unstable", which more accurately translates to "current.")
    There are several vocal people who post here who think no one should use fink or darwinports. It is simply a matter of personal preference. But if you want to roll your own, sometimes it is worth peaking to see how the packages are tweaked by the fink maintainers (browse the .info files).

  • Checking Account and help with code ?

    Hi all..my computer hung up on me, so I'm not sure if my last post went through. First of all thank you all for helping me out the other day with my question on the Bank Account. It continues :)
    I'm trying to work on each class one by one..when I test my Checking Account, it isn't printing out the correct balance. The string method to print this is coming from the Withdrawal class...so I know it has to be somewhere in there but I can't seem to figure out why it isn't totalling the balance...or how to get it too.
    Then when I test my MyBank class, it hangs up on line 63..which I could swear I have written correctly. Again I am getting a NullPointerException and I honestly think I have the line of code written right, but I'm guessing I dont.
    Any help would be appreciated.
    public abstract class BankAccount {
        public static final String bankName = "BrianBank";
        protected String custName;
        protected String pin;
        protected Transaction[] history;
        private double balance;
        private double amt, amount;
        private double bal, initBal;
        private int transactions;
        private final int MAX_HISTORY = 100;
        private int acct;
        protected BankAccount(String cname, String cpin, double initBal) {
         custName = cname;
         pin = cpin;
         balance = initBal;
         history = new Transaction[MAX_HISTORY];
         transactions =0;
        public double getBalance() {
         return balance;
        public void withdraw(double amt) {
         history [transactions] = new Withdrawal (bal, amt);
       balance = bal;
         amount = amt;
         balance -= amt;
       transactions = transactions + 1;     
        public void deposit(double amt) {     
         history [transactions] = new Deposit (bal, amt);
         balance = bal;
         amount = amt;
         balance += amt;
         transactions = transactions +1;
        // abstract method to return account number
        public abstract int getAcctNum();
        // abstract method to return a summary of transactions as a string
        public abstract String getStatement();
    public class CheckingAccount extends BankAccount implements IncursFee
          private int transactions;
          private double balance, initBal, amt;
          private static final int NOFEE_WITHDRAWALS = 10;
          private static final double TRANSACTION_FEE = 5.00;
          public static final String bankName = "iBank";
          public static final int STARTING_ACCOUNT_NUMBER = 10000;
          private int checkingAccountNumber = STARTING_ACCOUNT_NUMBER;
          private static int accountNumberCounter = STARTING_ACCOUNT_NUMBER;
          private String custName;
          private String pin;
          public CheckingAccount (String cname, String cpin, double initBal)
             super (cname, cpin, initBal);
              custName = cname;
              pin = cpin;
             balance = initBal;
             accountNumberCounter++; 
             checkingAccountNumber = accountNumberCounter;
          //initialize a count of transactions
             transactions = 0;          
           public double getBalance()
             return balance;
           public void withdraw(double amt)
            super.withdraw (amt);
             transactions ++;
           public void deposit(double amt)
           super.deposit (amt);
             transactions ++;
           public int getAcctNum ()
             return checkingAccountNumber;     
           public String getStatement ()
             int i = 0;
             String output = "";
             while ( i < history.length && history[i] != null )
                output += history.toString () + "\n";
    i++;
    return output;     
    public void deductFee(double fee)
    if (transactions > NOFEE_WITHDRAWALS)
    {  fee = TRANSACTION_FEE *(transactions - NOFEE_WITHDRAWALS);
    super.withdraw(fee);
    balance -=fee;
    transactions = 0;
    public interface IncursFee {
    public abstract void deductFee(double fee);
    public abstract class Transaction {
    protected double initBal;
    protected double tranAmt;
    // constructor
    protected Transaction(double bal, double amt) {
         initBal = bal;
         tranAmt = amt;
    abstract public String toString();
    public class Withdrawal extends Transaction
         private double initBal;
         private double amount;
         private static NumberFormat fmt = NumberFormat.getCurrencyInstance();
         public Withdrawal (double bal, double amt)
              super (bal, amt);
              initBal = bal;
              amount = amt;
         public String toString ()
         return "Balance : " + fmt.format(initBal) + "\n" + "Withdrawal : " + fmt.format(amount);
    import java.text.NumberFormat;
    public class Deposit extends Transaction
         private double initbal, balance;
         private double amount;
         private static NumberFormat fmt = NumberFormat.getCurrencyInstance();
         public Deposit (double bal, double amt)
         super (bal, amt);
         initbal = bal;
         amount = amt;
         public String toString ()
         return "Balance : " + fmt.format(initbal) + "\n" + "Deposit : " + fmt.format(amount);
    public class TestCheckingAcct {
    public static void main(String[] args) {
         BankAccount b1 = new CheckingAccount("Harry", "1234", 500.0);
         System.out.println (b1.getBalance ());
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(50);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(10);
         b1.withdraw(1);
         System.out.println(b1.getStatement());
    // This interface specifies the functionality requirements of a bank
    public interface Bank {
    public abstract int openNewAccount(String customerName, String customerPIN, String accType, double initDepAmount);
    public abstract void processWithdrawal(int accNum, String pin, double amount);
    // executes a deposit on the specified acct by the amount
    public abstract void processDeposit(int accNum, String pin, double amount);
    // returns the balance of acct
    public abstract double processBalanceInquiry(int accNum, String pin);
    // returns summary of transactions
    public abstract String processStatementInquiry(int accNum, String pin);
    import java.util.ArrayList;
    public class MyBank implements Bank
    private ArrayList<BankAccount> savAccounts = new ArrayList<BankAccount>(); //dynamically grows
    private ArrayList<BankAccount> chkAccounts = new ArrayList<BankAccount>(); //dynamically grows
    private SavingsAccount sav;
    private CheckingAccount chk;
    private int accNum;
    private String customerName, customerPIN, accType, pin;
    private double initDepAmount, amount, balance;
    public int openNewAccount(String customerName, String customerPIN, String accType, double initDepAmount)
    this.customerName = customerName;
    this.customerPIN = customerPIN;
    this.accType = accType;
    this.initDepAmount = initDepAmount;
    if ( accType.equals("Savings"))
    BankAccount savAcct = new SavingsAccount(customerName, customerPIN, initDepAmount);
    try
    savAccounts.add(savAcct);
    catch (ArrayIndexOutOfBoundsException savAccounts)
    return savAcct.getAcctNum();
    else
    CheckingAccount chkAcct = new CheckingAccount(customerName, customerPIN, initDepAmount);
         try
    chkAccounts.add(chkAcct);
    catch (ArrayIndexOutOfBoundsException chkAccounts)
    return chkAcct.getAcctNum();
    public void processWithdrawal (int accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.withdraw (amount);
    if (accNum >50000 && accNum <60000)
         sav.withdraw (amount);
    public void processDeposit (int accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.deposit (amount);
    if (accNum >50000 && accNum <60000)
         sav.deposit (amount);
    public double processBalanceInquiry (int accNum, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.balance = 0;
    if (accNum >10000 && accNum <20000)
         balance = chk.getBalance ();
    if (accNum >50000 && accNum <60000)
         balance = sav.getBalance ();
    return balance;
    public String processStatementInquiry(int accNum, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.statement = "";
    if (accNum >10000 && accNum <20000)
    statement = chk.getStatement ();
    if (accNum >50000 && accNum <60000)
    statement= sav.getStatement ();
         return statement;

    Here's some quick code review:
    public abstract class BankAccount {
    public static final String bankName =
    me = "BrianBank";
    protected String custName;
    protected String pin;
    protected Transaction[] history;
    private double balance;
    private double amt, amount;
    private double bal, initBal;
    private int transactions;// make MAX_HISTORY private static final, too.
    private final int MAX_HISTORY = 100;
    private int acct;
    protected BankAccount(String cname, String cpin,
    pin, double initBal) {
         custName = cname;
         pin = cpin;
         balance = initBal;
         history = new Transaction[MAX_HISTORY];
         transactions =0;
    public double getBalance() {
         return balance;
    public void withdraw(double amt) {
         history [transactions] = new Withdrawal (bal, amt);
    balance = bal;
         amount = amt;
         balance -= amt;// ++transactions above would be elegant.
    transactions = transactions + 1;     
    public void deposit(double amt) {     
         history [transactions] = new Deposit (bal, amt);
         balance = bal;
         amount = amt;
         balance += amt;
         transactions = transactions +1;
    // abstract method to return account number// why abstract?
    public abstract int getAcctNum();
    // abstract method to return a summary of
    y of transactions as a string// why abstract?
    public abstract String getStatement();
    public class CheckingAccount extends BankAccount
    implements IncursFee
    private int transactions;
    private double balance, initBal, amt;
    private static final int NOFEE_WITHDRAWALS =
    WALS = 10;
    private static final double TRANSACTION_FEE =
    _FEE = 5.00;
    public static final String bankName = "iBank";
    public static final int STARTING_ACCOUNT_NUMBER
    NUMBER = 10000;
    private int checkingAccountNumber =
    mber = STARTING_ACCOUNT_NUMBER;
    private static int accountNumberCounter =
    nter = STARTING_ACCOUNT_NUMBER;// BankAccount has a custName attribute; why does CheckingAccount need
    // one if it extends BankAccount?
    private String custName;
    private String pin;
    public CheckingAccount (String cname, String
    String cpin, double initBal)
    super (cname, cpin, initBal);
    custName = cname;
    pin = cpin;
    balance = initBal;
    accountNumberCounter++;
    checkingAccountNumber =
    tNumber = accountNumberCounter;
    //initialize a count of transactions
    transactions = 0;          
    // same as BankAccount - why rewrite it?
    public double getBalance()
    return balance;
    // same as BankAccount - why rewrite it?
    public void withdraw(double amt)
    super.withdraw (amt);
    transactions ++;
    // same as BankAccount - why rewrite it?
    public void deposit(double amt)
    super.deposit (amt);
    transactions ++;
              // same as BankAccount - why rewrite it?
    public int getAcctNum ()
    return checkingAccountNumber;     
    public String getStatement ()
    int i = 0;
    String output = "";
    while ( i < history.length && history[i] !=
    ory[i] != null )
    output += history.toString () + "\n";
    i++;
    return output;     
    public void deductFee(double fee)
    if (transactions > NOFEE_WITHDRAWALS)
    {  fee = TRANSACTION_FEE *(transactions -
    ansactions - NOFEE_WITHDRAWALS);
    super.withdraw(fee);
    balance -=fee;
    transactions = 0;
    public interface IncursFee {
    public abstract void deductFee(double fee);
    public abstract class Transaction {
    protected double initBal;
    protected double tranAmt;
    // constructor
    // why protected? make it public.
    protected Transaction(double bal, double amt) {
         initBal = bal;
         tranAmt = amt;
    abstract public String toString();
    public class Withdrawal extends Transaction
         private double initBal;
         private double amount;
    private static NumberFormat fmt =
    = NumberFormat.getCurrencyInstance();
         public Withdrawal (double bal, double amt)
              super (bal, amt);
              initBal = bal;
              amount = amt;
         public String toString ()
    return "Balance : " + fmt.format(initBal) + "\n" +
    + "Withdrawal : " + fmt.format(amount);
    import java.text.NumberFormat;
    public class Deposit extends Transaction
         private double initbal, balance;
         private double amount;
    private static NumberFormat fmt =
    = NumberFormat.getCurrencyInstance();
         public Deposit (double bal, double amt)
         super (bal, amt);
         initbal = bal;
         amount = amt;
         public String toString ()
    return "Balance : " + fmt.format(initbal) + "\n" +
    + "Deposit : " + fmt.format(amount);
    public class TestCheckingAcct {
    public static void main(String[] args) {
    BankAccount b1 = new CheckingAccount("Harry",
    , "1234", 500.0);
         System.out.println (b1.getBalance ());
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(50);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(10);
         b1.withdraw(1);
         System.out.println(b1.getStatement());
    // This interface specifies the functionality
    requirements of a bank
    public interface Bank {
    public abstract int openNewAccount(String
    String customerName, String customerPIN, String
    accType, double initDepAmount);
    public abstract void processWithdrawal(int
    (int accNum, String pin, double amount);
    // executes a deposit on the specified acct by
    t by the amount
    public abstract void processDeposit(int accNum,
    Num, String pin, double amount);
    // returns the balance of acct
    public abstract double processBalanceInquiry(int
    (int accNum, String pin);
    // returns summary of transactions
    public abstract String
    ring processStatementInquiry(int accNum, String
    pin);
    import java.util.ArrayList;
    public class MyBank implements Bank
    private ArrayList<BankAccount> savAccounts =
    unts = new ArrayList<BankAccount>(); //dynamically
    grows
    private ArrayList<BankAccount> chkAccounts =
    unts = new ArrayList<BankAccount>(); //dynamically
    grows
    private SavingsAccount sav;
    private CheckingAccount chk;
    private int accNum;
    private String customerName, customerPIN,
    erPIN, accType, pin;
    private double initDepAmount, amount, balance;
    public int openNewAccount(String customerName,
    erName, String customerPIN, String accType, double
    initDepAmount)
    this.customerName = customerName;
    this.customerPIN = customerPIN;
    this.accType = accType;
    this.initDepAmount = initDepAmount;
    if ( accType.equals("Savings"))
    BankAccount savAcct = new
    vAcct = new SavingsAccount(customerName, customerPIN,
    initDepAmount);
    try
    savAccounts.add(savAcct);
    catch (ArrayIndexOutOfBoundsException
    Exception savAccounts)
    return savAcct.getAcctNum();
    else
    CheckingAccount chkAcct = new
    hkAcct = new CheckingAccount(customerName,
    customerPIN, initDepAmount);
         try
    chkAccounts.add(chkAcct);
    catch (ArrayIndexOutOfBoundsException
    Exception chkAccounts)
    return chkAcct.getAcctNum();
    public void processWithdrawal (int accNum,
    accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.withdraw (amount);
    if (accNum >50000 && accNum <60000)
         sav.withdraw (amount);
    public void processDeposit (int accNum, String
    String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.deposit (amount);
    if (accNum >50000 && accNum <60000)
         sav.deposit (amount);
    public double processBalanceInquiry (int accNum,
    String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.balance = 0;
    if (accNum >10000 && accNum <20000)
         balance = chk.getBalance ();
    if (accNum >50000 && accNum <60000)
         balance = sav.getBalance ();
    return balance;
    public String processStatementInquiry(int accNum,
    m, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.statement = "";
    if (accNum >10000 && accNum <20000)
    statement = chk.getStatement ();
    if (accNum >50000 && accNum <60000)
    statement= sav.getStatement ();
         return statement;
    Very bad style with those brace placements. Pick a style and stick with it. Consistency is the key.
    Your code isn't very readable.
    You don't have a SavingsAccount here anywhere, even though your MyBank uses one.
    You use JDK 1.5 generics yet you've got ArrayList as the static type on those declarations. Better to use the interface type List as the compile time type on the LHS.
    You have a lot of compile time problems, and some incomprehensible stuff, but I was able to change it enough to my TestCheckingAcct run to completion. No NPE exceptions.
    I'm not sure I agree with your design.
    No SavingsAccount. The accounts I have ALL incur fees - no need for a special interface there. Savings accounts are usually interest bearing. That's the way they behave differently from checking accounts. Where do you have that?
    You rewrite too much code. If you put behavior in the abstract BankingAccount class (a good idea), the whole idea is that concrete classes that extend BankingAccount don't need to overload any methods whose default behavior is correct for them.
    I don't know that I'd have separate Deposit and Withdrawal to implement Transaction. I'd make Transaction concrete and have starting balance, ending balance, and a transaction type String (e.g., "DEPOSIT", "WITHDRAWAL")
    It'd be good to see some thought put into exception handling. I don't see an OverdrawnException anywhere. Seems appropriate.
    No transfer methods from one account to another. I often do that with my bank.
    That's enough to get started.

  • In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity

    [The title of this forum is "Labview Ideas". Although this is NOT a direct suggestion for a change or addition to Labview, it seems appropriate to me to post it in this forum.]
    In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity
    I'd like to see NI actually start a round-table discussion about VI references, Data Value references, local variables, compiler optimizations, etc. I'm a C programmer; I'm used to pointers. They are simple, functional, and well defined. If you know the data type of an object and have a pointer to it, you have the object. I am used to compilers that optimize without the user having to go to weird lengths to arrange it. 
    The 'reference' you get when you right click and "Create Reference" on a control or indicator seems to be merely a shorthand read/write version of the Value property that can't be wired into a flow-of-control (like the error wire) and so causes synchronization issues and race conditions. I try not to use local variables.
    I use references a lot like C pointers; I pass items to SubVIs using references. But the use of references (as compared to C pointers) is really limited, and the implementation is insconsistent, not factorial in capabilites, and buggy. For instance, why can you pass an array by reference and NOT be able to determine the size of the array EXCEPT by dereferencing it and using the "Size Array" VI? I can even get references for all array elements; but I don't know how many there are...! Since arrays are represented internally in Labview as handles, and consist of basically a C-style pointer to the data, and array sizing information, why is the array handle opaque? Why doesn't the reference include operators to look at the referenced handle without instantiating a copy of the array? Why isn't there a "Size Array From Reference" VI in the library that doesn't instantiate a copy of the array locally, but just looks at the array handle?
    Data Value references seem to have been invented solely for the "In-Place Element Structure". Having to write the code to obtain the Data Value Reference before using the In-Place Element Structure simply points out how different a Labview reference is from a C pointer. The Labview help page for Data Value References simply says "Creates a reference to data that you can use to transfer and access the data in a serialized way.".  I've had programmers ask me if this means that the data must be accessed sequentially (serially)...!!!  What exactly does that mean? For those of use who can read between the lines, it means that Labview obtains a semaphore protecting the data references so that only one thread can modify it at a time. Is that the only reason for Data Value References? To provide something that implements the semaphore???
    The In-Place Element Structure talks about minimizing copying of data and compiler optimization. Those kind of optimizations are built in to the compiler in virtually every other language... with no special 'construct' needing to be placed around the code to identify that it can be performed without a local copy. Are you telling me that the Labview compiler is so stupid that it can't identify certain code threads as needing to be single-threaded when optimizing? That the USER has to wrap the code in semaphores before the compiler can figure out it should optimize??? That the compiler cannot implement single threading of parts of the user's code to improve execution efficiency?
    Instead of depending on the user base to send in suggestions one-at-a-time it would be nice if NI would actually host discussions aimed at coming up with a coherent and comprehensive way to handle pointers/references/optimization etc. One of the reasons Labview is so scattered is because individual ideas are evaluated and included without any group discussion about the total environment. How about a MODERATED group, available by invitation only (based on NI interactions with users in person, via support, and on the web) to try and get discussions about Labview evolution going?
    Based solely on the number of Labview bugs I've encountered and reported, I'd guess this has never been done, with the user community, or within NI itself.....

    Here are some articles that can help provide some insights into LabVIEW programming and the LabVIEW compiler. They are both interesting and recommended reading for all intermediate-to-advanced LabVIEW programmers.
    NI LabVIEW Compiler: Under the Hood
    VI Memory Usage
    The second article is a little out-of-date, as it doesn't discuss some of the newer technologies available such as the In-Place Element Structure you were referring to. However, many of the general concepts still apply. Some general notes from your post:
    1. I think part of your confusion is that you are trying to use control references and local variables like you would use variables in a C program. This is not a good analogy. Control references are references to user interface controls, and should almost always be used to control the behavior and appearance of those controls, not to store or transmit data like a pointer. LabVIEW is a dataflow language. Data is intended to be stored or transmitted through wires in most cases, not in references. It is admittedly difficult to make this transition for some text-based programmers. Programming efficiently in LabVIEW sometimes requires a different mindset.
    2. The LabVIEW compiler, while by no means perfect, is a complicated, feature-rich set of machinery that includes a large and growing set of optimizations. Many of these are described in the first link I posted. This includes optimizations you'd find in many programming environments, such as dead code elimination, inlining, and constant folding. One optimization in particular is called inplaceness, which is where LabVIEW determines when buffers can be reused. Contrary to your statement, the In-Place Element Structure is not always required for this optimization to take place. There are many circumstances (dating back years before the IPE structure) where LabVIEW can determine inplaceness and reuse buffers. The IPE structure simply helps users enforce inplaceness in some situations where it's not clear enough on the diagram for the LabVIEW compiler to make that determination.
    The more you learn about programming in LabVIEW, the more you realize that inplaceness itself is the closest analogy to pointers in C, not control references or data references or other such things. Those features have their place, but core, fundamental LabVIEW programming does not require them.
    Jarrod S.
    National Instruments

  • Getting an strange error in "PluginPrefix.pch" while compiling a plugin code with InDesign CS4 SDK.

    Hi everybody,
    Currently trying to compile/build the existing Plugin code (C++) with InDesign CS4 SDK on my Mac OS X 10.5 machine but getting following strange errors.
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:26:27: error: MemoryStatics.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:39:30: error: PluginBuildFlags.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:40:28: error: AnsiBasedTypes.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:41:26: error: ShukHeaders.cp: No such file or directory
    Though above mentioned files are present at the following directory
    /Volumes/../../../Adobe InDesign CS4 SDK/source/precomp/common/
    Note : However initially I did not find “MemoryStatics.h” and “AnsiBasedTypes.h” files in the installed SDK directory. I have downloaded them from the net and copied those into the above mentioned directory.
    I am not much familiar with Mac OS environment and compiling/building C++ code with Xcode. Can anyone help me to resolve this issue (might be very trivial and related to Xcode project configuration) ?

    Thanks for the quick response,
    Yes, current build settings include path shortcuts as mentioned below and it also contains “$(CS_SDK_PATH)/source/public/includes” path in HEADER_SEARCH_PATHS settings.  But still I am getting the same error: MemoryStatics.h: No such file or directory
    CS_SDK_PATH= /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK
    CS_SDK_PRJ_PATH=/Volumes/MAC Extended/Inbetween Extended/Visual Studio/InBetweenDev/Projects/InBetweenCS/IBClientPluginCS3/prjCS4/mac
    Just for clarification : my Plugin code /project files are not inside the InDesign SDK (build/mac/prj). All the plugin project is outside of the InDesign SDK directory. Thus above mentioned CS_SDK_PATH and CS_SDK_PRJ_PATH are completely different.
    Is it expected that the plugin code/project files should be inside the InDesign SDK/build/mac/prj  directory only ? or is it okay if we put it in the completely another directory structure and modify the  SDK_PRJ_PATH accordingly (as in my case) ?
    Please let me know if you want me to elaborate the situation further.

  • [FIXED] Compiz runs only with emerald and crashes with metacity

    Hey,
    I currently try to use a metacity theme and have compiz enabled but apparently that's something compiz doesn't really like.
    One think i noticed in fusion-icon is that the entire metacity option under: "Select Window Devorator" is just not there.. (or was that always the case?)
    Oke, things i have done so far:
    - Search this forum (obviously) nothing found with a solution
    - Searched the wiki (same results)
    - in gconf-editor /desktop/gnome/session/required_components/windowmanager set to compiz (like said in the Compiz wiki page on archlinux.org
    - disabled metacity as compositing manager (tried with enabled as well but the same results)
    - right now i have the compiz bash script from ubuntu (tweaked a little) and that starts up compiz just fine but not with metacity
    And incase you want the script:
    #!/bin/sh
    # Compiz Manager wrapper script
    # Copyright (c) 2007 Kristian Lyngstøl <[email protected]>
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    # Contributions by: Treviño (3v1n0) <[email protected]>, Ubuntu Packages
    # Much of this code is based on Beryl code, also licensed under the GPL.
    # This script will detect what options we need to pass to compiz to get it
    # started, and start a default plugin and possibly window decorator.
    COMPIZ_BIN_PATH="/usr/bin/" # For window decorators and compiz
    PLUGIN_PATH="/usr/lib/compiz/"
    GLXINFO="/usr/bin/glxinfo"
    KWIN="/usr/bin/kwin"
    METACITY="/usr/bin/metacity"
    XFWM="/usr/bin/xfwm"
    COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)
    # For Xgl LD_PRELOAD
    LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
    LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"
    # Minimum amount of memory (in kilo bytes) that nVidia cards need
    # to be allowed to start
    # Set to 262144 to require 256MB
    NVIDIA_MEMORY="65536" # 64MB
    NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
    # For detecting what driver is in use, the + is for one or more /'s
    XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
    FALLBACKWM="xterm"
    if [ x"$KDE_FULL_SESSION" = x"true" ]; then
    FALLBACKWM="${KWIN}";
    elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then
    FALLBACKWM="${METACITY}"
    elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then
    FALLBACKWM="${XFWM}"
    fi
    FALLBACKWM_OPTIONS="--replace $@"
    # Driver whitelist
    WHITELIST="nvidia intel ati radeon i810 fglrx"
    # blacklist based on the pci ids
    # See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
    #T=" 1002:5954 1002:5854 1002:5955" # ati rs480
    #T="$T 1002:4153" # ATI Rv350
    #T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
    T="$T 8086:2a02 " # Intel GM965
    T="$T 8086:3577 8086:2562 " # Intel 830MG, 845G (LP: #259385)
    BLACKLIST_PCIIDS="$T"
    unset T
    COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
    COMPIZ_PLUGINS="core"
    ENV=""
    # Use emerald by default if it exist
    USE_EMERALD="yes"
    # No indirect by default
    INDIRECT="no"
    # Default X.org log if xset q doesn't reveal it
    XORG_DEFAULT_LOG="/var/log/Xorg.0.log"
    # Set to yes to enable verbose
    VERBOSE="yes"
    # Echos the arguments if verbose
    verbose()
    if [ "x$VERBOSE" = "xyes" ]; then
    printf "$*"
    fi
    # abort script and run fallback windowmanager
    abort_with_fallback_wm()
    if [ "x$SKIP_CHECKS" = "xyes" ]; then
    verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
    return 0;
    fi
    if [ "x$CM_DRY" = "xyes" ]; then
    verbose "Dry run failed: Problems detected with 3D support.'n"
    exit 1;
    fi
    verbose "aborting and using fallback: $FALLBACKWM \n"
    if [ -x $FALLBACKWM ]; then
    exec $FALLBACKWM $FALLBACKWM_OPTIONS
    else
    printf "no $FALLBACKWM found, exiting\n"
    exit 1
    fi
    # Check if we run with the Software Rasterizer, this happens e.g.
    # when a second screen session is opened via f-u-a on intel
    check_software_rasterizer()
    verbose "Checking for Software Rasterizer: "
    if glxinfo 2> /dev/null | egrep -q '^OpenGL renderer string: Software Rasterizer' ; then
    verbose "present. \n";
    return 0;
    else
    verbose "Not present. \n"
    return 1;
    fi
    # Check for non power of two texture support
    check_npot_texture()
    verbose "Checking for non power of two support: "
    if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' ; then
    verbose "present. \n";
    return 0;
    else
    verbose "Not present. \n"
    return 1;
    fi
    # Check for presence of FBConfig
    check_fbconfig()
    verbose "Checking for FBConfig: "
    if [ "$INDIRECT" = "yes" ]; then
    $GLXINFO -i | grep -q GLX.*fbconfig
    FB=$?
    else
    $GLXINFO | grep -q GLX.*fbconfig
    FB=$?
    fi
    if [ $FB = "0" ]; then
    unset FB
    verbose "present. \n"
    return 0;
    else
    unset FB
    verbose "not present. \n"
    return 1;
    fi
    # Check for TFP
    check_tfp()
    verbose "Checking for texture_from_pixmap: "
    if [ $($GLXINFO 2>/dev/null | grep -c GLX_EXT_texture_from_pixmap) -gt 2 ] ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    if [ "$INDIRECT" = "yes" ]; then
    unset LIBGL_ALWAYS_INDIRECT
    INDIRECT="no"
    return 1;
    else
    verbose "Trying again with indirect rendering:\n";
    INDIRECT="yes"
    export LIBGL_ALWAYS_INDIRECT=1
    check_tfp;
    return $?
    fi
    fi
    # Check wether the composite extension is present
    check_composite()
    verbose "Checking for Composite extension: "
    if xdpyinfo -queryExtensions | grep -q Composite ; then
    verbose "present. \n";
    return 0;
    else
    verbose "not present. \n";
    return 1;
    fi
    # Detects if Xgl is running
    check_xgl()
    verbose "Checking for Xgl: "
    if xvinfo | grep -q Xgl ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    return 1;
    fi
    # Check if the nVidia card has enough video ram to make sense
    check_nvidia_memory()
    if [ ! -x "$NVIDIA_SETTINGS" ]; then
    return 0
    fi
    MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
    if [ $MEM -lt $NVIDIA_MEMORY ]; then
    verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
    return 1;
    fi
    return 0;
    # Check for existence if NV-GLX
    check_nvidia()
    if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
    return $NVIDIA_INTERNAL_TEST;
    fi
    verbose "Checking for nVidia: "
    if xdpyinfo | grep -q NV-GLX ; then
    verbose "present. \n"
    NVIDIA_INTERNAL_TEST=0
    return 0;
    else
    verbose "not present. \n"
    NVIDIA_INTERNAL_TEST=1
    return 1;
    fi
    # Check if the max texture size is large enough compared to the resolution
    check_texture_size()
    # Check how many screens we've got and iterate over them
    N=$(xdpyinfo | grep -i "number of screens" | sed 's/.*[^0-9]//g')
    for i in $(seq 1 $N); do
    verbose "Checking screen $i"
    TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed -n "$i s/^.*=[^0-9]//g p")
    RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed -n -e "$i s/^ *dimensions: *\([0-9]*x[0-9]*\) pixels.*/\1/ p")
    VRES=$(echo $RESOLUTION | sed 's/.*x//')
    HRES=$(echo $RESOLUTION | sed 's/x.*//')
    verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
    if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
    verbose "Failed.\n"
    return 1;
    fi
    verbose "Passed.\n"
    done
    return 0
    # check driver whitelist
    running_under_whitelisted_driver()
    LOG=$(xset q|grep "Log file"|awk '{print $3}')
    if [ "$LOG" = "" ]; then
    verbose "xset q doesn't reveal the location of the log file. Using fallback $XORG_DEFAULT_LOG \n"
    LOG=$XORG_DEFAULT_LOG;
    fi
    if [ -z "$LOG" ];then
    verbose "AIEEEEH, no Log file found \n"
    verbose "$(xset q) \n"
    return 0
    fi
    for DRV in ${WHITELIST}; do
    if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
    ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
    then
    return 0
    fi
    done
    verbose "No whitelisted driver found\n"
    return 1
    # check pciid blacklist
    have_blacklisted_pciid()
    OUTPUT=$(lspci -n)
    for ID in ${BLACKLIST_PCIIDS}; do
    if echo "$OUTPUT" | egrep -q "$ID"; then
    verbose "Blacklisted PCIID '$ID' found \n"
    return 0
    fi
    done
    OUTPUT=$(lspci -vn | grep -i VGA)
    verbose "Detected PCI ID for VGA: $OUTPUT\n"
    return 1
    build_env()
    if check_nvidia; then
    ENV="__GL_YIELD=NOTHING "
    fi
    if [ "$INDIRECT" = "yes" ]; then
    ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
    fi
    if check_xgl; then
    if [ -f ${LIBGL_NVIDIA} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
    verbose "Enabling Xgl with nVidia drivers...\n"
    fi
    if [ -f ${LIBGL_FGLRX} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
    verbose "Enabling Xgl with fglrx ATi drivers...\n"
    fi
    fi
    ENV="$ENV FROM_WRAPPER=yes"
    if [ -n "$ENV" ]; then
    export $ENV
    fi
    build_args()
    if [ "x$INDIRECT" = "xyes" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
    fi
    if [ ! -z "$DESKTOP_AUTOSTART_ID" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --sm-client-id $DESKTOP_AUTOSTART_ID"
    fi
    if check_nvidia; then
    if [ "x$INDIRECT" != "xyes" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
    fi
    fi
    # Execution begins here.
    # Read configuration from XDG paths
    if [ -z "$XDG_CONFIG_DIRS" ]; then
    test -f /etc/xdg/compiz/compiz-manager && . /etc/xdg/compiz/compiz-manager
    for f in /etc/xdg/compiz/compiz-manager.d/*; do
    test -e $f && . $f
    done
    else
    OLD_IFS=$IFS
    IFS=:
    for CONFIG_DIR in $XDG_CONFIG_DIRS
    do
    test -f $CONFIG_DIR/compiz/compiz-manager && . $CONFIG_DIR/compiz/compiz-manager
    for f in $CONFIG_DIRS/compiz/compiz-manager.d/*; do
    test -e $f && . $f
    done
    done
    IFS=$OLD_IFS
    unset OLD_IFS
    fi
    if [ -z "$XDG_CONFIG_HOME" ]; then
    test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
    else
    test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
    fi
    # Don't use compiz when running the failsafe session
    if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
    abort_with_fallback_wm
    fi
    if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
    INDIRECT="yes";
    fi
    # if we run under Xgl, we can skip some tests here
    if ! check_xgl; then
    # if vesa or vga are in use, do not even try glxinfo (LP#119341)
    if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
    abort_with_fallback_wm
    fi
    # check if we have the required bits to run compiz and if not,
    # fallback
    if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
    abort_with_fallback_wm
    fi
    # check if we run with software rasterizer and if so, bail out
    if check_software_rasterizer; then
    verbose "Software rasterizer detected, aborting"
    abort_with_fallback_wm
    fi
    if check_nvidia && ! check_nvidia_memory; then
    abort_with_fallback_wm
    fi
    if ! check_fbconfig; then
    abort_with_fallback_wm
    fi
    fi
    # load the ccp plugin if present and fallback to plain gconf if not
    if [ -f ${PLUGIN_PATH}libccp.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
    elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
    fi
    # enable gnomecompat if we run under gnome
    if [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ] && [ ! -e ~/.compiz-gnomecompat ]; then
    verbose "running under gnome seesion, checking for gnomecompat\n"
    if ! gconftool -g /apps/compiz/general/allscreens/options/active_plugins|grep -q gnomecompat; then
    verbose "adding missing gnomecompat\n"
    V=$(gconftool -g /apps/compiz/general/allscreens/options/active_plugins|sed s/mousepoll,/mousepoll,gnomecompat,/)
    if ! echo $V|grep -q gnomecompat; then
    verbose "can not add gnomecompat, reseting\n"
    gconftool --unset /apps/compiz/general/allscreens/options/active_plugins
    else
    gconftool -s /apps/compiz/general/allscreens/options/active_plugins --type list --list-type=string $V
    fi
    touch ~/.compiz-gnomecompat
    fi
    fi
    # get environment
    build_env
    build_args
    if [ "x$CM_DRY" = "xyes" ]; then
    verbose "Dry run finished: everything should work with regards to Compiz and 3D.\n"
    verbose "Execute: ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS \n"
    exit 0;
    fi
    ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS
    That's it so far.
    So again what i try to do is running compiz with metacity decorations.
    I hope someone can help me here,
    Mark.
    Last edited by markg85 (2009-06-28 00:26:04)

    whoops wrote:
    Wait, what, I thought metacity isn't as window decorator, it is a window manager, right? I don't really get what you're trying to do... maybe install compiz-decorator-gtk and use it instead of emerald?
    edit: aaah, yes, I think you're missing compiz-decorator-gtk, try that, look at fusion icon "window decorator" option again.
    Strange.. i was under the impression that pacman -S compiz-fusion would install GTK and QT decorators... guess not.
    This issue is fixed now. Running metacity decorations now WITH compiz.

  • *Added* code to existing source file, compiled it, and class file shrunk

    Another newbie here. Fortunately, my classpath is ok, so I'm able to compile a .java file.
    I added one line of code (System.out.println) to write the value of a variable to a log. After compiling with javac, I noticed that the resulting [new] class file was smaller than the existing class file. I looked at each of the class files with Textpad. It's gibberish, but I quickly saw that a large block of code was missing in the new class file, even though the size of the source file had been increased.
    There is a difference, however, between how the two class files were created. The existing class file was compiled (along with many others) by exporting an .EAR file from a development environment (WSAD) to the WebSphere Administrator Console. Conversely, I am now compiling the same source file with javac on my machine.
    I suspect that this is the reason why I can add code to a .java file, compile it, and have the resulting class file actually lose code. Even if I am correct, I don't know what to do about it.
    Does anyone have an idea?
    Regards,
    Daniel T.

    Thank you both for your replies. I've read many posts over the past few months, and I know how important it is to provide as much info as possible, when asking a question here. That said, I have another tasty tidbit...
    After replacing the existing (larger) class file with the new (smaller) class file, my application now produces this:
    "*Error 500: LinkageError while defining class*..." [name of class]
    *"...(Unsupported major.minor version 50.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature. Dumping the current context classloader hierarchy: ==> indicates defining classloader ==>[0] com.ibm.ws.classloader.CompoundClassLoader@6bd156d5 Local ClassPath:"*
    ...[the entire classpath]...
    Original exception--- java.lang.UnsupportedClassVersionError:
    I'm guessing that my focus should mostly be on the 'Original exception', and maybe I need to revisit the JRE or JDK or JVM (these terms are somewhat nebulous to me, so please forgive me using them interchangeably) on my machine. For now, I'll just keep trying stuff. Thanks again for the replies!
    Regards,
    Daniel T.

  • The MOF Compiler could not connect with the WMI server

    I am trying to add node2 to SQL  cluster (2008)  However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI Server to start".
    I checked on the WMI services, they are started and running.renamed the WMI repository.  but nothing worked .
    Any idea what settings I need to change in order to ensure a successful instalation and add node 2 to sql cluster.

    Hi,
    Did SQL Server failed during installation and you somehow brought services online. Or it failed and next time you executed it succeeded IMO this error pops up because of remnants of failed installation on Node 1. With cluster specially if Installation on
    node 1 fails you should uninstall completely and remove all files related to SQL Server and then proceed.
    Have a look at below connect,see workaround and information posted by MS
    https://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server
    If above still not helps please post complete setup log file
    %Program files%\Microsoft sql server\100\Setup bootstrap\Log\ folder.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to compile forms and reports 6i in Application server 1.0.2.2.2.

    Hi all,
    i used oracle forms and reports 6i with oracle database 10g in client server architecture.
    now i want to make 3 tier, client-application server version 1.0.2.2.2-origin database serversystem on 3 separate machines.
    i have installed application server version 1.0.2.2.2.
    now i have my forms and reports 6i in application server computer.
    can any one please tell me how to compile forms and reports 6i in application server computer i.e do i have to write some extra code in forms and reports 6i in order to compile in application server computer successfully.
    waiting for an early reply.
    best regards
    fahad ejaz
    email:[email protected]

    ... another question would be why not upgrade those old Forms & Reports to the newest release 10.1.2.0.2 and use the latest Application Server to run them with?
    Release 6i and 1.0.2.2 is as you know desupported.
    Regards,
    Martin

  • SQL 2012 installation Error-The MOF compiler could not connect with the WMI server

    Hi all,
      I am getting below error while installing SQL 2012 Dev edition in Win 8.1 Pro.
    I am facing lot of issues while installing SQL 2012 in Win 8.1 Pro.Any other steps we need to take to install SQL 2012 in Win 8.1.
    Thanks in advance. 

    Installation:
    Installation for SQL Server 2012
    Hardware and Software Requirements for Installing SQL Server 2012
    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    About "The MOF compiler could not connected with the WMI server" error message:
      Please, verify the Windows Management Instrumentation has status "started" and is set with Startup Type "Automatic". (Alberto Morillo, SQLCoffee.com).
    José Diz     Belo Horizonte, MG - Brasil

  • MS SQL Server 2008 not getting installed properly - MOF compiler could not connect with the WMI server

    I am trying to install SQL Server 2008 in my local machine. However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?

    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?
    can you check below two links.Make sure previous failed installation is removed completely.
    http://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server#
    Solution given by Connect MS is:
    Possibly the issue was caused by uninstalling from add-remove programs - at any rate, using aaron bertrand's suggestion below fixed the issue. Also of note - I used the local admin for the install.
    http://sqlblog.com/blogs/aaron_bertrand/archive/2009/02/20/the-xp-sp3-msxml6-sp2-sql-server-debacle.aspx
    yes - remove msxml6 and any other half installed portion of sql 2008 and REBOOT and install sql
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for