LLL - building Linux with LLVM/Clang [Solved]

Hi all
I have attempted to package the LLL tool chain in AUR
https://aur.archlinux.org/packages/lll- … t/PKGBUILD
In a way, I find it unsatisfactory big and bulky (I am more than willing to disown it to let someone more qualified take over), since both Linux and LLVM are built in the same package.
I guess it would be nicer with a (self-hosting) LLVM package and a Linux-LLL package depending on it....
If anyone got ideas for improvements of the current package, I am all ears.
I think it would be pretty cool to test out a Clang-compiled kernel and from the latest compiler benchmarks (http://phoronix.com/forums/showthread.p … al-results), it seems like Clang is almost as good as GCC or better when optimization flags are set.
Last edited by W.F.Cody (2011-04-27 07:05:57)

This has now (thanks to the lll-project git repository) now been solved (I think)
The LLVM/Clang patched to be able to compile linux can be found at:
https://aur.archlinux.org/packages.php?ID=45733
The Linux kernel patched to be able to be compiled by LLVM/Clang can be found at:
https://aur.archlinux.org/packages.php?ID=48519
I have not yet had time to try to compile the linux kernel so there may have to be some changes to that package. Let me know if you have some suggested improvements
Have fun!

Similar Messages

  • Building mesa with OpenCl support [Solved]

    Hi,
    I am trying to use OpenCl with the current mesa drivers as it is explained in this post from freedesktop: GalliumCompute, but when I try to install my own build of mesa with OpenCl it fails due to some conflicting files.
    If we follow the post, we can see that we need:
    - LLVM with '--enable-experimental-targets=R600', but the stable repo already provides this so we are fine.
    - Libclc can be found in AUR: libclc-svn
    - Mesa with '--enable-opencl'. This has to be built manually with ABS adding the flag to the PKGBUILD.
    But when I try to install the generated packages I get an error because there are conflicting files:
    error: failed to commit transaction (conflicting files)
    mesa: /usr/include/CL/cl.h exists in filesystem
    mesa: /usr/include/CL/cl.hpp exists in filesystem
    mesa: /usr/include/CL/cl_ext.h exists in filesystem
    mesa: /usr/include/CL/cl_gl.h exists in filesystem
    mesa: /usr/include/CL/cl_gl_ext.h exists in filesystem
    mesa: /usr/include/CL/cl_platform.h exists in filesystem
    mesa: /usr/include/CL/opencl.h exists in filesystem
    mesa: /usr/lib/libOpenCL.so exists in filesystem
    mesa: /usr/lib/libOpenCL.so.1 exists in filesystem
    mesa: /usr/lib/libOpenCL.so.1.0.0 exists in filesystem
    Errors occurred, no packages were upgraded.
    Checking with 'pacman -Qo' I have found that the headers come from 'opencl-headers' and the shared objects from 'libcl'.
    So, is there a way to install mesa with OpenCl support?
    Thanks in advance.
    Last edited by Noxbru (2013-09-30 16:13:18)

    Lordheavy's git packages are setup to make switching between mesa-git and mesa easy, so include provides/conflicts/replaces lines in the PKGBUILDs to ease substiution.
    No need to uninstall mesa.
    Mesa is a split package, and you should replace all parts of it.
    If you run pacman -S mesa-git , there should be errors because all parts need to have been build against the same source,
    but i don't know if pacman handles that correctly.
    To be on the safe side, you should tell pacman to install ati-dri-git instead as that will pull the other necessary mesa-git subpackages.
    about the files from opencl-headers & libcl :
    mesa-git incudes opencl-mesa-git which does provide those files, but libclc-git doesn't have opencl-mesa-git as dependency.
    I think the full command you should use is : pacman -S ati-dri-git opencl-mesa-git libclc-git .
    That should pull in all needed pacakges and not give any conflicts.
    Edit :
    The PKGBUILD for LH's mesa-git are in http://pkgbuild.com/~lcarlier/mesa-git/sources/ .
    I looked directly into the sources to verify what i posted above.
    Last edited by Lone_Wolf (2013-09-30 11:57:12)

  • [solved] llvm & clang - how to combine multiple svn sources

    Hi,
    recently i created the aur package llvm-amdgpu-svn and am now looking into adding the svn clang, clang-analyzer and llvm-ocaml code also.
    Since compiling clang requires the llvm source code to be present, it makes sense to use  a split package for this, like the official llvm package.
    This page has the build instructions for clang  : http://clang.llvm.org/get_started.html
    In short i need to do 4 svn checkouts, and 3 of them have to be in a specific directory.
    All 4 checkouts share the same revision number.
    I'd like to stick with the code in the svn prototype pkgbuild, but don't know how to adapt that to do 4 checkouts.
    if [[ -d "$_svnmod/.svn" ]]; then
    (cd "$_svnmod" && svn up -r "$pkgver")
    else
    svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
    fi
    The main problem i have is whether i can use the 'svn up' part for all 4 checkouts.
    Or should i just wait until pacman 4.1 is released and use it's new method for VCS sources ?
    Last edited by Lone_Wolf (2013-03-28 14:27:41)

    Turns out it was simpler then i thought, this is what i'm using now :
    cd "$srcdir"
    msg "Connecting to llvm SVN server...."
    if [[ -d "$_svnmod/.svn" ]]; then
    (cd "$_svnmod" && svn up -r "$pkgver")
    else
    svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
    fi
    # clang
    msg "downloading clang"
    if [[ -d "$_svncfemod/.svn" ]]; then
    (cd "$_svncfemod" && svn up -r "$pkgver")
    else
    svn co "$_svncfetrunk" --config-dir ./ -r "$pkgver" "$_svncfemod"
    fi
    # compiler rt
    msg "downloading compiler-rt"
    if [[ -d "$_svncrtmod/.svn" ]]; then
    (cd "$_svncrtmod" && svn up -r "$pkgver")
    else
    svn co "$_svncrttrunk" --config-dir ./ -r "$pkgver" "$_svncrtmod"
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting build..."
    rm -rf "$srcdir/$_svnmod-build"
    msg "copying llvm"
    svn export "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
    msg "copying clang"
    svn export "$srcdir/$_svncfemod" "$srcdir/$_svnmod-build/tools/clang"
    msg "copying compiler-rt"
    svn export "$srcdir/$_svncrtmod" "$srcdir/$_svnmod-build/projects/compiler-rt"
    Using the correct vars and giving them the correct value was the hardest part.
    Now it's onwards to creating the rest of the PKGBUILD.

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [Solved] Building vboxdrv with custom kernel

    I noticed a Loading Modules     [FAIL] during boot yesterday so I decided to investigate it.
    [siegemachine@Siege-LapLinux ~]$ sudo modprobe vboxdrv
    Password:
    FATAL: Module vboxdrv not found.
    [siegemachine@Siege-LapLinux ~]$ sudo /etc/rc.d/vboxdrv setup
    :: Removing VirtualBox kernel modules [DONE]
    :: Compiling VirtualBox kernel modules [BUSY] Look at /tmp/vbox-install.log to find out what went wrong
    Look at /tmp/vbox-install.log to find out what went wrong
    Look at /tmp/vbox-install.log to find out what went wrong
    [siegemachine@Siege-LapLinux ~]$ yaourt -S kernel26-headers
    warning: kernel26-headers-2.6.39.1-1 is up to date -- reinstalling
    Now I read in this forum
    https://bbs.archlinux.org/viewtopic.php?id=107733
    that if I have a custom kernel then I have to have the custom kernel-headers to go with it in order to build the virtualbox driver module.  The problem is the kernel I got is from the AUR
    [siegemachine@Siege-LapLinux ~]$ yaourt -Qi kernel26-kamal
    Name : kernel26-kamal
    Version : 2.6.39.1-1
    And I've tried searching the AUR and there doesn't appear to be any kernel-headers to match the kernel.  When I build the kernel should I build it with the regular name and not with -kamal on the end of the kernel and see if that would work for building the virtualbox modules? Or should I boot off the regular kernel (I have both) and build it there, then reboot on this kernel and see if it works? Or finally, do I need to somehow build the kernel-headers for this kernel myself, install them, and then build the modules?
    Last edited by SiegeMachine (2011-06-24 03:47:57)

    Aha well my friend noticed in the PKGBUILD for kernel26-kamal actually builds the kernel headers for that kernel but it doesn't isntall them so I just downloaded the PKGBUILD and built it myself again with makepkg instead of using yaourt then I could install the header package and built the module after.  In the end all is good.

  • Install problem JDeveloper 12c (12.1.2.0.0) (Build 6668) with Generic Installer on windows

    Hi,
    I am trying to install JDeveloper 12c (12.1.2.0.0) (Build 6668) with Generic Installer on windows .
    C:\Program Files\Java\jdk1.7.0_25\bin>java -jar C:\jdev_suite_121200.jar
    I get the following error :
    Extracting files................................................................
    Unsupported platform (unable to determine the startup directory location).
    The Oracle Universal Installer failed.  Exiting.
    When I try with windows install ( right click jdev_suite_121200_win32.exe and "run as administrator") , I get the following error:
    ERROR Launch:No such file or directory
    In the discussion (https://forums.oracle.com/thread/2573396?start=0&tstart=0) , it is said to be solved by "running as administrator" but it didn't work for me ...
    Thanks ...

    Hi,
      Can you please tell whether you are using 32-bit or 64-bit windows.
      If it is 64-bit then you must run as administrator. In Windows 7x64, just right click on the jDeveloper exe and choose "run as administrator..."
      Remove the existing Oracle folder and restart the system.
      Try to install in new drive.
      Oracle Fusion Middleware Installation Guide for Oracle JDeveloper - 11g Release 2 (11.1.2.4.0) Hope this link will give you more idea in installation.
    Thanks
    Pramila
    Message was edited by: d6866663-7e0d-4497-89df-99f670c41872

  • Building Emacs with Xft on Arch64

    When I try do build Emacs with Xft (I tried both the source and AUR) I get the following error:
    make[2]: *** No rule to make target `/usr/lib64/crt1.o', needed by `temacs'.  Stop.
    On my machine crt1.o is in /usr/lib not in /usr/lib64.
    Probably there is an easy way to solve this.
    Thanks for any help,
    Markus.

    try adding --libdir=/usr/lib to the configure options.

  • Microsoft Virtual Academy - Building Linux-Based Solutions on Azure, Jump Start

    Building Linux-Based Solutions on Azure Jump StartJuly 14, 2015 9am‒1pm PDT4pm-8pm GMT (5pm-9pm UK BST)
    Do you run an open-source infrastructure? Want a public cloud solution that fits your environment? Join Senior Technical Evangelist Rick Claus and four engineers from the Azure Compute team for this live event, and see how easy and efficient it is to build Linux-based solutions on Microsoft Azure. (In fact, 20% of virtual machines that run on Azure run Linux!)
    Explore options you can use to build, deploy, and manage your Linux infrastructure on Azure. Learn how they work and how to support, build, and scale them, along with how to make them available to Devs. See technical demos, and examine open-source tools, such as Docker containers, to manage DevOps pipelines on Azure and to dramatically increase productivity. Plus, walk through...
    This topic first appeared in the Spiceworks Community

    This is the second Flash Player zero-day in a week and cyber-criminals are going to once again capitalize on it.Categories: ExploitsTags: 0dayFlash Playerhacking teamzero dayzeroday(Read more...)
    Read More

  • Problem in linux with flex

    Hi,
                 I'm new to linux with flex,am using Eclipse 3.5 flex builder 3 installing perfectly but when i'am  creating flex application it is showin Assertion failed error.
    org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
        at org.eclipse.jface.util.Assert.isTrue(Assert.java:179)
        at org.eclipse.jface.util.Assert.isTrue(Assert.java:164)
        at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.setActivePage(FlexMu ltiPageEditorPart.java:569)
        at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.setActivePage(CodeAndDesi gnEditor.java:647)
        at com.adobe.flexbuilder.editors.mxml.MXMLEditor.setActivePage(MXMLEditor.java:487)
        at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.createPartControl(Fl exMultiPageEditorPart.java:235)
        at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.createPartControl(CodeAnd DesignEditor.java:162)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180 )
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFo lder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder .java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStack Presentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
        at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
        at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
        at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
        at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:133)
        at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:330)
        at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:787)
        at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:499)
        at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHel per.java:48)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.core.runtime.Platform.run(Platform.java:888)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    am unable understand this error

    Mario,
    Open Source drivers for our DAQ products are developed by the Comedi project. It should be noted that these drivers may not contain the full functionality of the NI-DAQ driver available for E Series devices under the various Windows and Mac operating systems.
    For information regarding the Comedi Project please see http://stm.lbl.gov/comedi. Support for the Comedi drivers is available through the Comedi mailing list. Please contact the Comedi mailing list for questions regarding this Open Source driver.
    For more information on National Instruments Measurement and Automation products for linux, see http://www.ni.com/linux.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Can i build rac with the fallowing hardware

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

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

  • A problem happened when building dimensions with Rule File

    Hi All,
    I was trying to build dimensions with the rule file. But it showed the error 1030100, which means "cannot open file".
    I can load data with a data source (.txt). Thus, I assumed that it's a problem to open a rule file.
    I don't think it's the problem about the rule files I wrote since I cannot even build dimensions with rule files in the Sample/Basic database.
    Anyone knows how to solve the problem? Thanks for the help.
    Best Regards,
    Anderson

    854285 wrote:
    Hi Prebhas,
    Here are the error messages:
    Object [Basic] is locked by user [admin]
    Building Dimensions Elapsed Time: [0.016] seconds
    Cannot open file: [E:\Hyperion\products\Essbase\eas\Client\dataload.err]
    Unexpected Essbase error 1030100
    Object [Basic] is unlocked by user [admin]
    p.s. Even I re-install my system is English, the word "Client" is shown in Chinese. Is it possible this is the reason? If so, how I change the folder?
    After I saw this message, I checked the folder and there is no such file. I tried to created one, but it disappear after I tried to build dimensions.
    Best Regards,
    Anderson
    Edited by: 854285 on 2011/4/25 上午 3:27HI,
    E:\Hyperion\products\Essbase\eas\Client\dataload.err
    This path is referred to error message .... it will show the errors in that file...
    and one more thing...
    while adding data source to rule file it will ask you provide a path for the error message...there you can see this path...
    Just check dataload.err file after running the rule file...
    have you associated the out line to the rule file ???
    is that rule file validate fine?
    if not associate it and try...
    Regards,
    Prabhas
    Edited by: P on Apr 25, 2011 4:43 PM

  • PROBLEM BUILDING CDC WITH RED HAT 9.0

    HI, i'm trying to build CDC with the following command:
    make CVM_JAVABIN=/usr/java/jdk1.3/bin CVM_GNU_TOOLS_PATH=/usr/bin CVM_DEBUG=true
    It start to make some new direcotries, but later the following error occurs:
    ... mkdir ../../build/linux-i686/obj
    ... mkdir ../../build/linux-i686/btclasses
    ... mkdir ../../build/linux-i686/testclasses
    ... mkdir ../../build/linux-i686/cdc_classes
    Checking for build-time classes to compile ...
    Compiling build-time classes...
    error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null,
    null, null
    100 errors
    make: *** [.compile.btclasses] Error 1
    Do you know what can i do? I'm using jdse1.3.1 and red hat linux 9.0.Thanks very much.

    Hi,
    I ran into the same problem with RH 9.0. To fix this problem you have two options:
    1. Use jdk 1.4.x - if you use this jdk to perform the compile, you'll won't receive this error.
    2. Modify your make file that performs the javac and make the following change: javac -encoding "ISO-8859-1"
    Both of those approaches should get rid of that error.
    Hope this helps?
    Cheers,
    Jeff

  • Problem building kernel with makepkg

    I tried several times building a custom 2.6.8.1 kernel with makepkg and the PKGBUILD file obtained from http://wiki.archlinux.org/index.php/Ker … with%20ABS. Unfortionately, the process allways ends with the following error:
    ln: when making multiple links, last argument must be a directory
    make: *** [_modinst_] Error 1
    ==> ERROR: Build Failed.  Aborting...
    Is there something wrong with the build file posted on the wiki or am I doing something stupid?

    Err... I might have done a small mistake in my previous post.
    I didn't try to build the kernel using the Wiki page above.
    I've used http://wiki.archlinux.org/index.php/Bui … with%20ABS
    You can find below the revised PKGBUILD for that page. It might look weird, but it's very functional. It should also work with the stock kernels.
    This PKGBUILD includes kernel version/revision autodetection. This helps when you apply patches which change those variables (such as ck, mm etc.). The changes I've made automatically change the package details (pkgname, pkgver, pkgdesc) to reflect the kernel changes.
    Please test because I've made some cosmetic changes lately which might have scrambled something around there. If you find it working, please post here and I'll put it in the Wiki page above. Maybe it could also be used as a base for building kernels with the ABS.
    Any feedback is welcomed. Enjoy.
    # ChangeLog
    # v0.3 2004/08/19 - Mircea Ionut Bardac (IceRAM)
    # Updated the PKGBUILD for autodetection of the kernel version and kernel revision
    # v0.2 2004/07/23 - Wojciech Szlachta
    # Modified from official PKGBUILD for kernel26-scsi by judd <[email protected]>
    # and from custom PKGBUILD to support multiple installed kernels by jea.
    # you can leave kerrev empty if you don't want to name the kernel in any way
    kerrev=
    pkgname=kernel26
    pkgver=2.6.7
    pkgrel=1
    pkgdesc="Custom Linux Kernel and modules"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config
    md5sums=('a74671ea68b0e3c609e8785ed8497c14'
    '4da09ca74deafb3c6769b8de895e089b'
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    # apply patches here
    # patch -p1 < ../patch1
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    # make changes in kernel configuration
    make oldconfig || return 1
    cp ./.config ../../config.new
    #use the following line instead of the 2 lines above for default config
    #yes "" | make config || return 1
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    _ker_extraversion=$(getvar "EXTRAVERSION")
    # update EXTRAVERSION in the Makefile
    _oldline=$(cat Makefile | grep "^EXTRAVERSION")
    if [ $kerrev != "" ]; then
    _ker_extraversion="$_ker_extraversion-$kerrev"
    cat Makefile | sed "s|$_oldline|EXTRAVERSION = $_ker_extraversion|" > tmpMake
    mv tmpMake Makefile
    fi
    kerrev=$_ker_extraversion
    kerver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
    # update the package information from the kernel Makefile
    pkgver=$kerver$(echo $_ker_extraversion | sed -e 's/-/./g')
    # removing patches versions from the revision string
    _n1=$(expr match $kerrev '([.][0-9]*)')
    _n21=$(expr match $q '[.][0-9]*(.*)')
    _n2=$(echo $_n21 | sed -e "s/[0-9]*-/-/g")
    pkgname=kernel26$_n1$_n2
    pkgdesc="Custom Linux Kernel ($kerver) and modules - revision $kerrev / package version: $pkgver build: $pkgrel"
    echo "- Package information ----------------"
    echo " Package name: $pkgname"
    echo " Package version: $pkgver"
    echo " Package release: $pkgrel"
    echo " Kernel version: $kerver"
    echo " Kernel revision: $kerrev"
    echo "--------------------------------------"
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map26$kerrev
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26$kerrev
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$kerver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$kerver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26$kerrev
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/include
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$kerver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$kerver/
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$kerver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$kerver/$i
    done
    cd $startdir/pkg/usr/src/linux-$kerver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kerver
    # create a unique subdirectory under /usr/src/
    cd $startdir/pkg/usr/src
    mv linux-$kerver linux-$kerver$kerrev
    cd $startdir/pkg/lib/modules/$kerver$kerrev &&
    (rm -f build; ln -sf /usr/src/linux-$kerver$kerrev build)

  • A VERY Easy Tutorial on doing a clean install of Arch Linux with Gnome

    is there anyone who could help me test Arch Linux with Gnome DE?

    The pacman bit is new, and has already been solved: [SOLVED] pacman update fails: gcc requires gcc-libs=4.7.0-3
    Just press "N" and you'll see that pacman will be on the list.
    Welcome to the forums.
    Edit:
    Shahe1993 wrote:is there anyone who cou...
    Oh. Feeling a bit busy there, huh? Nevermind.
    Last edited by DSpider (2012-04-12 17:28:18)

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

Maybe you are looking for

  • ITunes wont open,as WebKit.dll was not found?

    iTunes wont open as, error message says "The application has failed to start because WebKit.dll was not found". Does anyone have any suggestions? I've tried to remove iTunes but come up with another error "can't find iTunes.msi"

  • How to restrict Manual entry in G/L with automatic Postings

    Dear Gurus We have a house bank account and have its three subsidiary account incoming, PDC and outgoing account. now whenever a user enter an incoming entry he has to do incoming debit and customer credit but some times as there is no blockage they

  • Crystal reports and adobe workflows server

    Hi, Is there a way to integrate crystal reports and adobe workflow server Regards Raja

  • WebDynpro and J2EE Engine

    Hi If we develop a WebDynpro application, Is it possible to deploy it in any other web server. Or SAP Web App server 6.40 is the only J2EE engine under which it has to run . Regards Bhanu

  • Help with setting a 2nd Standby Database

    Hi, I have an active DataGuard 11gR2 with a physical standby actively running on Linux. Now, I need to add a 2nd physical Standby database (for reads only) to this environment, can someone please point to a resource/document which discusses the steps