Determine system architecture in pkgbuild

I would like to have different variable values based on system architecture.  For example, if arch=i686 then source=http://download_32bit_file else source=http://download_64bit_file.  I have seen this kind of thing done in some of the PKGBUILDs, but could not find them any more.  Please help.

I found it, thank you.  In case any one wants to know, the variable for system architecture is "$CARCH"

Similar Messages

  • System architecture check failed while adding a New Node in RAC

    Hi Friends,
    Environment:SUN Solris 10
    Cluster Version:10.2.0.3
    database Version:10.2.0.3.0
    Due to H/W failure one of our RAC node(prod1) got formatted.
    We have deleted the node(prod1) from RAC successfully.
    But When i am again trying to add the node and checking prerequistes i am facing the below issue.
    $ cd /software/oracle/product/crs/bin
    $ ./cluvfy stage -pre crsinst -n prod1,prod2
    Check: System architecture
      Node Name     Available                 Required                  Comment
      prod2        unknown                   64-bit                    failed
      prod1        64-bit                    64-bit                    passed
    Result: System architecture check failed.But issue is that prod2 is my active(running node), so how to resolve this issue?
    please suggest..
    Regards
    Umesh

    Resolved..
    Thanks...

  • Good site for intermediate knowledge on Mac system architecture?

    I have had up until now only a Windows-based background. My son recently got a Mac. There are plenty of guides for beginners which are aimed at the user-interface level for basic tasks. However I would like to read up on more of the Mac Operating system architecture itself eg I am fairly familiar with using Windows Control Panel, Device manager, the Windows registry itself - basically comfortable and knowledgeable about anything in windows system settings. Have had extensive training in virus removal so can interpret log files etc....I don't need or want to go to the extent of knowledge to program a Mac or anything of interest to Developers, but want to go a bit beyond understanding what the icons in the Dock represent.
    Is there a good website to start....yes, I know, playing around with the Mac is the best way to learn but I can't get near it for one thing, and I don't want to go experimenting till I know more about it. Would appreciate a pointer to any good reading material, especially if it has screen shots of various system folders or applications showing the menus available, etc.
    As an example, if I download a new device driver in Windows, I know where to look for it...we downloaded an updated printer driver the other day & it self-installed but I have no idea where it was installed....

    ozegirl wrote:
    Thanks guys, appreciate the suggestions, hope I'm not sounding picky/ungrateful for the help, but I'm not after stuff to do with developers/programmers. It's just wanting to find the Mac equivalents of things like msconfig, regedit (if there is such a thing in Mac), disk defrag, disk clean-up, tweaking settings - I guess this kind of stuff is mostly in System preferences? Things like the Administrative Tools in Windows where services can be stopped or disabled....pardon my ignorance if this is not relevant to Mac, I really know nothing about it. Maybe Confucious was right! Might need to get my own Mac The only time my son lets me near his computer is when something goes wrong & then he wants me to fix it. LOL!
    Mac OS is (un)fortunately very good at doing most of the above itself. i expect the terminal app can do some of it but i'm no good on the terminal side. i'd use 3rd party apps with a GUI such as Cocktail

  • 3-tier vs. 2-tier system architecture (DEV- QAS- PRD)

    Dear Xperts,
    I would like to know your opinion about a 3-tier (DEV->QAS->PRD) vs 2-tier (DEV/QAS->PRD) BW system architecture.
    Why should you choose for 3 instead of 2, or the other way around. Thus pro's & cons.
    Thx.
    regards,
    JvB
    ps xcuse me 4 the cross-post in the 2004s part. It should be posted in this forum.

    Hello
    2 Tier architecture will have Presentation Layer and DataBase Layer. So each and every time we have to access the Database directly and this may affect the DB Performance and if the number of concurrent users are more then it will be worser.
    in 3 Tier case another layer "Application layer" has been incorporated as an intermediate between the above said 2 layers and this prevents the direct access to the DB. The performance is not highly affected. can Manage multiple concurrent users.
    Heard about 4 tier came and installation process going in in Gulf. (not sure)
    Sankar.

  • Image of Bugzilla System Architecture

    I am looking for a high-level image/diagram that provides the Bugzilla System Architecture/Flow --Can that be provided?

    Hello,
    Currently such a document is not available. That said, you can use the Ravebrook tool to check the DB documentation [1] or check the API documentation to get an idea of what the components are [2]. Not the best solution, but something that is workable I guess.
    is there a specific need for this? Would suggest that you mail the bugzilla mailing list as they may be more helpful[3]
    #[http://www.ravenbrook.com/tool/bugzilla-schema/ Bugzilla DB schema]
    #[http://www.bugzilla.org/docs/4.4/en/html/api/ Bugzilla API docs]
    #[https://groups.google.com/forum/#!forum/mozilla.support.bugzilla Google groups for bugzilla]
    Hope that helps

  • System Architecture listed as PowerPC (it isn't)

    I have just reinstalled the CS3 suite.  In the help menu for Illustrator CS3, there's an option to run a system profiler ("System info...").  A window pops up with a report in it.  On my report, for "System Architecture," it reads "PowerPC."  But I have an iMac with an Intel chip.  Previously, until 2007, I had a PowerPC Mac.
    The software runs, but I'm puzzled that the profiler doesn't know what kind of machine I have.  Can anyone explain this oddness?
    Thanks.

    The software runs, but I'm puzzled that the profiler doesn't know what kind of machine I have.  Can anyone explain this oddness?
    It simply detects the Rosetta emulation which in CS3 was still used heavily for soem things.
    Mylenium

  • Determine system folder

    The point is: I need to get some *.dll. It stores in system folder (usually windows/system). But this folder can be installed on disk C:, D:, etc. Besides it some user can install windows not in "window" folder but in any folder he wants.
    Thus I want to determine system directory. Is it possible to do by means of java. And how it can be done - if possible.
    Thanks.

    So you want to say that it's impossible to determine
    from an applet users system folder?
    I'm not going to write anything to HDD. I just want to
    know where is system folder situated.An Applet cannot read or write files on the client system, without being signed and getting permissions to do so. Therefore, not only you can't get the name of Windows folder, even if you knew it, you had nothing to do with it.
    You can't get a list of files in a directory, you can't check for existense of a file, and you certainly can't open a file.
    - Noam.

  • SRM system architecture queries

    Hi Gurus,
    We are on SRM5.0 using classic scenario. Our backend system is ECC6.0 and we are using CCM2.0. Can you enlighten us from the following:
    1. SRM system architecture
    2. Inbound/outbound interfaces
    3. SRM system document
    4. Cross-client configurations
    5. RFC setting
    6. Number of objects/programs
    Your inputs are very much appreciated.
    Thank you.

    Hi - you should find what you are looking for here:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000660282&_SCENARIO=01100035870000000202&
    Requires login to the SAP Service Marketplace
    brgs Ziggy

  • System Architecture Question

    I'm trying to figure out the current system architecture of a potiential client.
    All I know is that they're running a JSP web application on Apache Tomcat against a MySQL database.
    1. If they're running Apache Tomcat does this mean they are not using EJB?
    2. Is it true they could be using an application server as well as Apache Tomcat?
    3. What is the best possible system architecture if running only Apache Tomcat against an MySQL database?
    I know these questions are vague, but I'm trying to understand the best possible JSP design without using EJB.
    4. Will there still be a layered approach?
    Thank you,
    Todd

    1. If they're running Apache Tomcat does this mean
    they are not using EJB?According to your information, it seems that they are not using EJBs. Tomcat does not handle that part of the J2EE specification.
    2. Is it true they could be using an application
    server as well as Apache Tomcat?A "full" J2EE application server would furnish the same functionality.
    3. What is the best possible system architecture if
    running only Apache Tomcat against an MySQL database?JSP, servlets, and POJC (Plain Ol' Java Classes). Possibly a Singleton or two to act as database "handlers" for connection pooling, etc.
    I know these questions are vague, but I'm trying to
    understand the best possible JSP design without using
    EJB.Don't use JSPs for anything except display logic (View). Use Servlets for processing (Controller) and POJC for data access (Model).
    4. Will there still be a layered approach?In my opinion, kind of - you're still operating in the Servlet container, which has it's own rules regarding class behavior.

  • How to determine application architecture in terminal

    I'm wondering how Finder determines on which architecture an application is able to run.
    Using ditto --arch it is possible to extract PPC, PPC64 and i386 from a Mach-O application.
    But HOW can Finder tell that an application ist Classic ? Or is it also possible to determine Motorla 68000 architecture in old classic fat binarys ?
    I'm interested in that because I've got an iMac Core Duo that does not support classic any more and I want to find all classic apps on all my Fire Wire harddrives.
    thanks in advance
    Michael
    iMac Core Duo 20"   Mac OS X (10.4.5)  

    Hi Michael,
       The UNIX utility, "file" can distinguish between Cocoa and Carbon apps in many cases. Carbon apps usually return "header for PowerPC PEF executable". Compiled objective C, C++, and C executables return "Mach-O executable <Architecture>". Compiled Java classes return "compiled Java class data". Carbon apps for MacOS X return the same thing as classic applications. While they are almost the same thing, there are differences and I don't know how to spot them.
       Of course Cocoa applications are usually inside application bundles and if you apply the "file" utility to the containing directory, you will of course get an answer of "directory". You must apply file to the executable inside the bundle. The main one is always inside the Contents/MacOS subdirectory and always has the same name as the bundle, minus the ".app" suffix.
    Gary
    ~~~~
       I worked in a health food store once. A guy came in and
       asked me, "If I melt dry ice, can I take a bath without getting
       wet?"
             -- Steven Wright

  • Determine System Entities in a XML File

    Hello,
    i have some xml Files with the following content:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="style/webstyle.xsl"?>
    <!DOCTYPE contentobject PUBLIC "-//Test//DTD Content v1.1 20021018//EN"
    "dtd/content.dtd" [
    <!ENTITY test1 SYSTEM "images/photo.gif">
    <!ENTITY test2 SYSTEM "texts/hello.doc">
    ]>
    <content>
    </content>
    Now I want to determine which Entities in the dtd are integrated.
    The result should be:
    test1, SYSTEM, "images/photo.gif">
    test2, SYSTEM, "texts/hello.doc">.
    I write the following code (JDK 1.4 Parser):
    public static void getDocumentEntities(File xmlFile)
    Document document = null;
    try
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    factory.setExpandEntityReferences(false);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse(xmlFile);
    DocumentType dtd = document.getDoctype();
    if (dtd != null)
    NamedNodeMap ent = dtd.getEntities(); // ????
    for (int i = 0; i < ent.getLength(); i++)
    Node node = ent.item(i);
    System.out.print("Ent: " + node.getNodeName());
    // System.out.print("NotationName: " + node.getn);
    System.out.print(" PublicId: " + node.getNodeName());
    System.out.println(" SystemID: " + node.getNodeName());
    catch (Exception ex)
    ex.printStackTrace();
    The result is dissatisfactory.
    First I get hundreds of Entities (probably from the dtd) and not only the two above.
    Second I can`t get the path of the files for example "images/photo.gif"> .
    Have anyone code for this problem? Should I use the DOM or SAX Parser for this?
    I would be very happy, can anybody help me with this problem.
    Much greetings, Theodore

    Too difficult???
    Please helped me.
    Thank you, Theo

  • Determining system load

    Is it possible for the Java RTS to return information about the load the threads it manages are putting on the CPU? I have developed a number of alternative schedulers using the priority scheduler as my base (using some of the ideas brought up on this forum and some ideas from Dr. Andy Welling's book), and I would like to test them.
    Specifically, since the algorithms are really simulations of other scheduling policies using priority scheduling, I am interested in determining the execution magnitudes at which the overhead associated with the simulation becomes neglectable i.e. at what execution magnitudes do the developed schedulers begin to approach the ideal system load before missing deadlines. For example, for the EDF scheduler I am interested in knowing the thread execution magnitudes at which the system load at which a deadline is first missed is 1.

    If you're running Java RTS on Solaris, DTrace is able to provide you all the details about the time each thread is running on each processor. You could also download the tool called Thread Scheduling Visualizer (TSV) on Java RTS download page. This tool is using DTrace to record this kind of information and provides a graphical view of the scheduling of the different threads. The TSV bundle also contains a directory called DTraceToolBox with several DTrace scripts. The script named thread_cpu_prio.sh should do something close to what you're looking for.
    Frederic Parain

  • Basics of PXI system architecture

    Hi
    Can anyone suggest some links wher i would have the information about the PXI systems, its bus architecture and how this is useful in instrumentation.

    Hi Gops,
    This links should give you a good starting point:
    http://www.ni.com/swf/pxi/us/launch.htm
    http://volt.ni.com/niwc/common.jsp?page=pxi_what_is&node=1525
    http://volt.ni.com/niwc/common.jsp?page=pxi_right_choice&node=1525&node=1525
    Regards,
    Luca
    Regards,
    Luca

  • I use MacIntosh, system 10.5.8. But I keep getting pop-ups . I have tried to install Firefox and it responds saying it is not compatible with my systems architecture. What should I do to stop the pop-up?

    I use G4 MacIntosh, System 10.5.8. I keep getting pop-ups asking me to upgrade my version of Firefox. But when I try to install I get the message that Firefox cannot operate with my computers architecture. How can I stop the pop-ups?

    I believe Firefox 4 is Intel only. That means it will not install on a PPC Mac. You can get TenFourFox, which is made for PPCs.
    http://www.floodgap.com/software/tenfourfox/

  • Effectively Determining System Statistics

    I've done a number of runs of DBMS.GATHER_SYSTEM_STATS against our production system in preparation of putting system statistics into effect. (OLTP system for web services).
    I'm trying to determine which "run" would be best. I have runs during our heaviest load that run for 45 minutes every hour.
    I also have runs that span multiple hours starting during peak times and going into less intense periods.
    Total of 26 runs.
    CPU avg = 1107, median = 1115, Max = 1154, Min = 998
    Single read I/O avg = 0.81, median = 0.84, Max = 1.49, Min 0.15
    Multi-block I/O avg = 0.16, median = 0.14, Max = 0.34, Min = 0.07
    Max thruput avg = 50M, median = 48.6M, Max =85.5M, Min = 31.5M
    Avg MB Read Count avg = 5.7, median = 6, max = 7, min = 4
    Should I use the values closest to the averages/median? Or the "longest" run? Or the runs at peak load?
    How critical are the settings for the I/O values?
    Does the CBO look at the Max Throughput or Average MB Read Count?

    I like the answer, but naturally it's effectively impossible in our environment. No real ability to generate a representative workload (we're on 9i); the resource just aren't there.
    I took the results and gave it to our system performance expert/statistician, who did a very nice job of statistical analysis, (which also basically matched my more instinctive selection). There was one run that fell within a 95% confidence level for all factors, so we'll go with that one.
    But it would be nice if someone has some guidelines about how to effectively gather statistics; I haven't found any and I'm sure it would useful to a great many people.

Maybe you are looking for