MySQL custom build from sources best practices advices

Hi,
These days I'm setting up something that could be called a home server, basically a web server with DB support.
Of course it's based on Arch Linux (probably not the best choice while everyone around is speaking about CentOS, RHLE, Debian, etc as server-oriented linuxes, anyway I hope Arch is not worse).
Every application I need is available in packages, but the idea is to build every app to a custom and better organized location.
I'm not a fan of the applications' distribuition in  /bin  /sbin  /lib  /var  /etc ...
I embrace the philosophy of "one application in one place" with a structure similar to
/appdir
|---/app1
|---/bin
|---/lib
|---/conf
|---/docs
|---/logs
|---/tmp
that's why I would like to build all my applications using the same pattern.
Now I want to build the MySQL database server, but the process it's not straightforward like for other applications.
I use the following configure inspired from --help, MySQL docs and PKGBUILD provided by the Arch mysql package:
CFLAGS="-fPIC -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
CXXFLAGS="-fPIC -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-exceptions -fno-rtti" \
./configure \
--sysconfdir=/usr/local/apps/mysql/conf \
--prefix=/usr/local/apps/mysql \
--exec-prefix=/usr/local/apps/mysql \
--sbindir=/usr/local/apps/mysql/sbin \
--docdir=/usr/local/apps/mysql/docs \
--mandir=/usr/local/apps/mysql/man \
--datarootdir=/usr/local/apps/mysql/share \
--libexecdir=/usr/local/apps/mysql/sbin \
--localstatedir=/usr/local/apps/mysql/data \
--with-mysqld-ldflags=-all-static \
--with-zlib-dir=bundled \
--enable-assembler \
--without-debug \
--without-docs \
--without-readline \
--with-mysqld-user=mysql \
--with-libwrap \
--with-charset=utf8 \
--with-collation=utf8_general_ci \
--with-extra-charsets=binary,ascii,cp1250,cp1251,koi8r,latin1,latin2,latin5,utf8 \
--with-embedded-server \
--with-unix-socket-path=/var/run/mysqld.sock \
--enable-local-infile \
--with-plugins=partition,ftexample,blackhole,csv,heap,innobase,innodb_plugin
Could someone with a deeper understanding of the process to give me some advices about optimization, plugins, etc, please?
I want to build a fast server without unnecessary stuff.
Some questions are about paths and directories:
1) is it possible to get the pattern described above without having paths like  mysql/mysql/..., mysql/lib/mysql/<files>, mysql/include/mysql/<files>  but  mysql/lib/<files>, etc  ?
2) is it OK to delete  mysql-test  and  sql-bench  directories if I don't need them ?

bigman2126 wrote:
Stebalien wrote:2. Never build wireless/wired modules into the kernel. If you use fuse, don't build that into your kernel either.
I would like to know the reason too, I tend to build my custom kernels so that the hardware and things I use are compiled into the kernel.
bangkok_manouel wrote:because the firmware is loaded later so the module is not properly initialized (or some word that sounds like this)
That *has* to depend on the specific wifi driver because I have iwlwifi-1000 built into my kernel as we speak and it loads the firmware fine.
As far as i915 and modesetting goes, I had the exact same issues.  It turned out in my case another driver was stealing control before the intel kms one could grab it (maybe FB_VESA?).  Anyways, here's the relevant part of my kernel config that does work with i915 kms built-in:
http://pastebin.com/jaCAqPjh

Similar Messages

  • Building complex flash game in Flash Builder 4 - Workflow/Best Practices

    I'm investigating switching to Flash Builder 4 for building a complex game that currently lives purely inside Flash CS4.  CS4 is a pretty terrible source code editor and debugger.  It's also quite unstable.  Many crashes caused by bad behavior in the SWF will take out the entire IDE so are almost impossible to debug.  And I've heard other horror stories.  To be clear, for this project I'm not interested in the Flex API, just the IDE.
    Surprisingly, it seems Flash Builder 4 isn't really set up for this type of development.  I was hoping for an "Import FLA" option that would import my Document Class, set it as the main entry point, and figure out where other assets live and construct a new project.  What is the best workflow for developing a project like this?
    What I tried:
    -Create a new Actionscript Project in the same directory where my CS4  lives
    -Set the primary source file to match the original project's source file and location
    -Set my main FLA as "export to SWC", and added "SWC PATH" to my flash builder 4 project.
    -Compile and run.. received many errors due to references to stage instance. I changed these to GetChildByName("stagename").  Instead, should I declare them as members of the main class?  (this would mimic what flash CS4 does).
    -My project already streams in several external SWF's.  I set these to "Export SWC" to get compile-time access to classes and varaibles. This works fine in cs4, the loaded SWF's behave as if they were in the native project.  Is the same recommended with FB4?
    -Should I also be setting the primary FLA as "export to swc"?  If not, how do I reference it from flex, and how does flex know which fla it should construct the main stage with?
    Problems:
    -I'm getting a crash inside a class that is compiled in one of the external SWF's (with SWC).  I cannot see source code for the stack inside this class at all.  I CAN see member variables of the class, so symbol information exists.  And I do see the stack with correct function names.  I even see local variables and function parameters in the watch window! But no source.  Is this a known bug, or "by design"? Is there a workaround?  The class is compiled into the main project, but I still cannot see source.  If FLEX doesn't support source level debugging of SWC's, then it's pretty useless to me.   The project cannot live as a single SWF.  It needs to be streaming and modular for performance and also work flow. I can see source just fine when debugging the exact same SWC/SWF through CS4.
    -What is the expected workflow with artists/designers working on the project?  Currently they just have access to all the latest source, and to test changes they run right through flash.  Will they be required to license Flash Builder as well so they can test changes?  Or should I be distributing the main "engine" as a SWF, and having it reference other SWF files that artists can work on?  They they compile their SWF in CS4, and to test the game, they can load the SWF I distribute.
    A whitepaper on this would be awesome, since I think a lot of folks are trying to go this direction.  I spent a long time searching the web and there is quite a bit of confusion on this issue, and various hacks/tricks to make things work.  Most of the information is stale from old releases (AS2!).
    If a clean workflow I would happily adopt Flash Builder 4 as the new development tool for all the programmers.  It's a really impressive IDE with solid performance, functional intellisense, a rich and configurable interface, a responsive debugger..I could go on and on.  One request is shipping with "visual studio keyboard layout" for us C++ nerds.
    Thanks very much for reading this novel!

    Flash builder debugging is a go!  Boy, I feel a bit stupid, you nailed the problem Jason - I didn't have "Permit Debugging set".  I didn't catch it because debugging worked fine in CS4 because, well, CS4 doesn't obey this flag, even for externally loaded SWF files (I think as long as it has direct access to the SWC). Ugh.
    I can now run my entire, multi SWF, complex project through FB with minimal changes.  One question I do have:
    In order to instantiate stage instances and call the constructor of the document class, I currently load the SWF file with LoaderContext.  I'm not even exporting an SWC for the main FLA (though I may, to get better intellisense).  Is this the correct way of doing it?  Or should I be using , or some other method to pull it into flex?  They seem to do the same thing.
    The one awful part about this workflow is that since almost all of my code is currently tied to symbols, and lives in the SWF, any change i make to code must first be recompiled in CS4, then I have to switch back to FB.  I'm going to over time restructure the whole code base to remove the dependency of having library symbols derive from my own custom classes.  It's just a terrible work flow for both programmers and artists alike.  CS5 will make this better, but still not great.  Having a clean code base and abstracted away assets that hold no dependencies on the code  seems like the way to go with flash.  Realistically, in a complex project, artists/designers don't know how to correctly set up symbols to drive from classes anyway, it must be done by a programmer.  This will allow for tighter error checking and less guess work.  Any thoughts on this?
    Would love to beta test CS5 FYI seeing as it solves some of these issues.
    Date: Thu, 21 Jan 2010 15:06:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Building complex flash game in Flash Builder 4 - Workflow/Best Practices
    How are you launching the debug session from Flash Builder? Which SWF are you pointing to?
    Here's what I did:
    1) I imported your project (File > Import > General > Existing project...)
    2) Create a launch configuration (Run > Debug Configuration) as a Web Application pointing to the FlexSwcBug project
    3) In the launch config, under "URL or path to launch" I unchecked "use default" and selected the SWF you built (I assume from Flash Pro C:\Users\labuser\Documents\FLAs\FlexSwcBug\FlexSwcBugCopy\src\AdobeBugExample_M ain.swf)
    4) Running that SWF, I get a warning "SWF Not Compiled for Debugging"
    5) No problem here. I opened Flash Professional to re-publish the SWF with "Permit debugging" on
    6) Back In Flash Builder, I re-ran my launch configuration and I hit the breakpoint just fine
    It's possible that you launched the wrong SWF here. It looks like you setup DocumentClass as a runnable application. This creates a DocumentClass.swf in the bin-debug folder and by default, that's what Flash Builder will create a run config for. That's not the SWF you want.
    In AdobeBugExample_Main.swc, I don't see where classCrashExternal is defined. I see that classCrashMainExample is the class and symbol name for the blue pentagon. Flash Builder reads the SWC fine for me. I'm able to get code hinting for both classes in the SWC.
    Jason San Jose
    Quality Engineer, Flash Builder
    >

  • Building from source -- how to remove installation?

    Greetings.
    I am relatively new to the world of Linux, and while google has helped me thus far, I can't seem to solve this one: How do I effectively keep record of all the files being installed, when building from source?
    When everything is done through Pacman or the AUR, it's all in a system; however, not when building it manually..
    Some sourcefiles has an "make uninstall"-function, but not all.
    I kinda feel that I don't have control over what's happening on my system, how do I solve this?
    Thanks.

    I only recently learned how to create my own packages. It was so easy! You can read about it here: http://wiki.archlinux.org/index.php/Building_Packages That link also provides a simple example "PKGBUILD" file.
    As you can see, the "build" function in the PKGBUILD file is nothing more than what you would do to build the package by yourself. But, by creating a PKGBUILD file, using the "makepkg" command, and then installing it with "pacman -U package.pkg.tar.gz", you can easily uninstall it in the future.
    If you want, you can then upload your PKGBUILD file to the AUR, and feel good as an Arch Linux contributor.
    I found it interesting that Arch Linux doesn't even setup "/usr/local/bin" in the PATH by default. It's probably for the best. It keeps me from being naughty.

  • Oracle Identity Manager - automated builds and deployment/Best practice

    Is there a best practice as for directory structure for repository in version control system?
    Do you recommend to keep the whole xellerate folder + separate structure for xml files and java code? (Considering fact that multiple upgrades can occur over the time)
    How custom code is merged to the main application?
    How deployment to Weblogic application server occur? (Do you create your own script or there is an out of the box script that can be reused)
    I would appreciate any guidance regarding this matter.
    Thank you for your help.

    Hi,
    You can use any IDE (Eclipse, Netbeans) for development.
    For, Getting started with OIM API's using Eclipse, please follow these steps
    1. Creating the working folder structure
    2. Adding the jar/configuration files needed
    3. Creating a java project in Eclipse
    4. Writing a sample java class that will call the API's
    5. Debugging the code with Eclipse debugger
    6. API Reference
    1. Creating the working folder structure
    The following structure must be created in the home directory of your project (Separate project home for each project):
    <PROJECT_HOME>
    \ bin
    \ config
    \ ext
    \ lib
    \ log
    \ src
    The folders will store:
    src - source code of your project
    bin - compiled code of your project
    config - configuration files for the API and any of your custom configuration files
    ext - external libraries (3'rd party)
    lib - OIM API libraries
    log - local logging folder
    2. Adding the jar/configuration files needed
    The easiest way to perform this task is to copy all the files from the OIM Design Console
    folders respectively in the <PROJECT_HOME> folders.
    That is:
    <XEL_DESIGN_CONSOLE_HOME>/config -> <PROJECT_HOME>/config
    <XEL_DESIGN_CONSOLE_HOME>/ext -> <PROJECT_HOME>/ext
    <XEL_DESIGN_CONSOLE_HOME>/lib -> <PROJECT_HOME>/lib
    3. Creating a java project in Eclipse
    + Start Eclipse platform
    + Select File->New->Project from the menu on top
    + Select Java Project and click Next
    + Type in a project name (For example OIM_API_TEST)
    + In the Contents panel select "Create project from existing source",
    click Browse and select your <PROJECT_HOME> folder
    + Click Finish to exit the wizard
    At this point the project is created and you should be able to browse
    trough it in Package Explorer.
    Setting src in the build path:
    + In Package Explorer right click on project name and select Properties
    + Select Java Build Path in the left and Source tab in the right
    + Click Add Folder and select your src folder
    + Click OK
    4. Writing a sample Java class that will call the API's
    + In Package Explorer, right click on src and select New->Class.
    + Type the name of the class as FirstAPITest
    + Click Finish
    Put the following sample code in the class:
    import java.util.Hashtable;
    import com.thortech.xl.util.config.ConfigurationClient;
    import Thor.API.tcResultSet;
    import Thor.API.tcUtilityFactory;
    import Thor.API.Operations.tcUserOperationsIntf;
    public class FirstAPITest {
    public static void main(String[] args) {
    try{
    System.out.println("Startup...");
    System.out.println("Getting configuration...");
    ConfigurationClient.ComplexSetting config =
    ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    System.out.println("Login...");
    Hashtable env = config.getAllSettings();
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","welcome1");
    System.out.println("Getting utility interfaces...");
    tcUserOperationsIntf moUserUtility =
    (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.First Name", "System");
    tcResultSet moResultSet = moUserUtility.findUsers(mhSearchCriteria);
    for (int i=0; i<moResultSet.getRowCount(); i++){
    moResultSet.goToRow(i);
    System.out.println(moResultSet.getStringValue("Users.Key"));
    System.out.println("Done");
    }catch (Exception e){
    e.printStackTrace();
    Replace the "welcome1" with your own password.
    + save the class
    To run the example class perform the following steps:
    + Click in the menu on top Run, and run "Create, Manage, and run Configurations" wizard. (In the menu, this can be either "run..." or "Open Run Dialog...", depending on the version of Eclipse used).
    + Right click on Java Application and select New
    + Click on arguments tab
    + Paste the following in VM arguments box:
    -Djava.security.manager -DXL.HomeDir=.
    -Djava.security.policy=config\xl.policy
    -Djava.security.auth.login.config=config\authwl.conf
    -DXL.ClientClassName=%CLIENT_CLASS%
    (please replace the URL, in ./config/xlconfig.xml, to your application server if not running on localhost or not using the default port)
    + Click Apply
    + Click Run
    At this point your class is executed. If everything is correct, you will see the following output in the Eclipse console:
    Startup...
    Getting configuration...
    Login...
    log4j:WARN No appenders could be found for logger (com.opensymphony.oscache.base.Config).
    log4j:WARN Please initialize the log4j system properly.
    Getting utility interfaces...
    1
    Done
    Regards,
    Sunny Ajmera

  • Building Resource Groups Best Practices

    Hi. I'm looking for some advice on best practices when building resource groups to support sales/telesales.
    Any information would be very helpful.
    Thanks,
    Monica

    Based on the organization sales structure customer maintains,you create sales groups.Use territories for geography based customer ,lead accesses etc...please post if you find any alternatives and other good practices..
    Edited by: user638250 on Oct 3, 2008 5:41 AM

  • Best Practice Advice - Using ARD for Inventorying System Resources Info

    Hello All,
    I hope this is the place I can post a question like this. If not please direct me if there is another location for a topic of this nature.
    We are in the process of utilizing ARD reporting for all the Macs in our district (3500 +/- a few here and there). I am looking for advice and would like some best practices ideas for a project like this. ANY and ALL advice is welcome. Scheduling reports, utilizing a task server as opposed to the Admin workstation, etc. I figured I could always learn from those with experience rather than trying to reinvent the wheel. Thanks for your time.

    hey, i am also intrested in any tips. we are gearing up to use ARD for all of our macs current and future.
    i am having a hard time with entering the user/pass for each machine, is there and eaiser way to do so? we dont have nearly as many macs running as you do but its still a pain to do each one over and over. any hints? or am i doing it wrong?
    thanks
    -wilt

  • Rules Best Practice Advice Required

    I find that I'm fighting with the Business Rules in my BPM project, so I'd thought I throw the scenario out here and see what best practices anyone might propose.
    The Example*:
    Assume I have people, and each of them is assigned a list/array of "aspects" from an enumerated set: TALL; SPORTY; TALKATIVE; TRAVELER; STUDIOUS; GREGARIOUS; CLAUSTROPHOBIC.
    Also assume I have several Marketing campaigns, and as part of one or more processes, I need to occasionally determine whether a person fits the criteria for a particular campaign, which is based on the presence of a one or more aspects. The definitions of the campaigns may change, so the thought is to define them as business rules; if they change, the rule changes, without impacting the processes themselves (assume the set of campaigns doesn't change, just the rules for matching aspects to a particular campaign).
    My initial take is to to define each campaign as a bucketset, containing aspects, the presence of which indicates inclusion in the campaign. If a person has ANY of the aspects, they are considered a member.
    Campaigns (each perhaps defined as a LOV bucketset):
    DEODORANT: SPORTY, TRAVELER, GREGARIOUS
    E_READER:STUDIOUS,TRAVELER
    BREATH_MINT:TALKATIVE, GREGARIOUS
    HELMET:TALL, CLAUSTROPHOBIC
    So we want to create a service to check: Does a person belong to the BREATH_MINT campaign? We extract their aspects and check to see if ANY of them are in the BREATH_MINT campaign. If so, we return true. Basically: return ( intersection( BREATH_MINT.elements(), person.aspects() ) ).size() > 0
    The problem is: what's the best way to implement this using Business Rules? Functions? Decision Functions? Decision Tables? Stright IF/THEN? Some combination of the above? I find I'm fighting the tool, which means that, although this is a fairly simple problem, I don't understand the purpose of the various parts of the tool well.
    Things to consider:
    Purpose: test a person for inclusion in a specific campaign
    Input - the person's aspects, either directly, or extracted from the person
    Output - a boolean
    There can be a separate service for each campaign, or it could be specifed by an enumerated value as a parameter.
    Many thanks in advance!
    ~*Completely Fabricated~
    Edited by: 842765 on Mar 8, 2011 12:07 PM - typos

    hey, i am also intrested in any tips. we are gearing up to use ARD for all of our macs current and future.
    i am having a hard time with entering the user/pass for each machine, is there and eaiser way to do so? we dont have nearly as many macs running as you do but its still a pain to do each one over and over. any hints? or am i doing it wrong?
    thanks
    -wilt

  • SubFlow best practice advice please

    I am new to IPCCX scripting and would like some advice on whether multiple SubFlows are a good idea.
    We have 16 small Call Centers that all have very basic scripts. I plan on adding a Holiday/Emergency Closure SubFlow to all of them and I would like to add a few additional features as well.
    I plan on adding:
    ·         Position in Queue
    ·         Expected Wait Time
    ·         If more than X number of callers in queue, inform the caller that they cannot be helped at this time and to call back later.
    ·         If Expected Wait Time exceeds closing time, inform the caller that they cannot be helped at this time and to call back later.
    (I know the last two sound pretty harsh, but it’s government, and there is no budget to hire more operators. I think it is better to let the callers know early that they need to call back, than to have them wait for two hours just to be disconnected. And no, this is NOT the 911 call center!!!   LOL)
    My questions are:
    Would it be ok to add each feature as a SubFlow? Or could there possibly be performance or other issues by having so many SubFlows in one script.
    My other option is to add each item internal to each script, but that would be a lot to tackle 16 times…
    Lastly, is there a best practice on how short a script should be for performance? I know you can’t have one that is longer than 1000 steps, but should I try to keep the step count below a certain number?
    Any advice or insights would be greatly appreciated…
    Thanks,
    Doug.

    Doug,
    Most of the items your list are included natively in UCCX.  Use the Get Reporting Statistic step to obtain the expected wait time, position in queue, and total queue time information. The current time-of-day can be had using a Time variable.  You'll need to do some work to convert the values into something you can play to the calling party as a prompt, a subflow is great for that, but you shouldn't need to reinvent the wheel.
    Take the time to draw out the call flow for each of the 16 contact centers on paper or in MS Visio. If your 16 call flows are very similar in the way they operate, consider a master script that just changes the prompts/menus based on the number dialed.  Leverage XML or a database (if you have premium licensing) to pull in the relevant information you need for each DNIS.  You may find you can streamline the entire system, or at least a good portion of it, without it becoming 16 unwieldy applications.
    Steven

  • Resources for from design - best practices for layout?

    Hi,
    I have made a number of forms fo the past few years.  I feel like they look dated and are somewhat stale...   I have found a few resources out there on Javascript best practices and more mechanical focused articles, but nothing really specific design as it relates to usability and "feel".  I realized some of this is subjective and varies depending on the form's purpose, but I am just looking for some new ideas.
    Does anyone have a resource or listing of froms they think are outstanidng from a design perspective?
    Is anyone willing to share forms they think are outstanding? Just that baisics like information collection?
    How much color and line type objects become to much?
    What are some design elements used in "web 2.0" (whatver that really means) that we sould be using in our forms.  tempered with what can be done.
    I am looking for this to be an open disucssion and am curious to hear what works for others.  I hope others will find this interesting and helpful.
    Cheers,
    Tom

    And the second snippet code validates any form to check every fields if values are not null, if a value is null it will setFocus on the first null field
    2. Validate Form and Focus on First Field that Fails Validation
         2.1 Create a script Object with two small methods to return a table of fields that have null values
    Script Object :
    form1.#variables[0].myForm - (JavaScript, client)
    //Tab for field's expressions and field's exceptions
    var tabExpression;
    var tabException;
    function validateAllFields(rootObject){
              //If a field is null, stop everything
              if (tabExpression.length > 0)
                             return;
              //If the 'presence' property is by default 'visible' in the form and the object value is 'visible', the 'presence' property doesn't exist
              //If its default value is "hidden", the property always exist
                   if (!rootObject.isPropertySpecified("presence") || rootObject.presence == "visible"){
                                  //Verify if the object contains an interface 'button'
                                  //The button is considered as a 'field', so if it's not a button the statement is true
                                  if (!(rootObject.isPropertySpecified("ui") && rootObject.ui.nodes.item(0).className == "button")){
                                                 //If the object contains nodes and if it's not a 'field' or a RadioButtonList
                                                 if (rootObject.nodes.length > 0 && (rootObject.className != "field" && rootObject.className != "exclGroup")){
                                                                //Recall this method for each nodes in the object to find every fields (Recursive Method)
                                                          for (var i = 0; i < rootObject.nodes.length; i++){
                                                                                    validateAllFields(rootObject.nodes.item(i));
                                                 //Verify to add the object in the list if the object is a field and if it contains a value
                                                 if (rootObject.className == "field" || rootObject.className == "exclGroup"){
                                                                if (rootObject.rawValue == null || rootObject.rawValue == 0){
                                                                               //Variable to determines if the object is an exception field
                                                                               var boValidate = true;
                                                                               //If there's exception fields
                                                                               if (tabException.length > 0){
                                                                                              //Verify if the field is in the exception list
                                                                                              if (tabException.indexOf(rootObject.name) != -1){
                                                                                                       boValidate = false;
                                                      //Add if the object is not in the exception table
                                                      if (boValidate)
                                                                tabExpression[tabExpression.length] = rootObject.somExpression;
         2.2 Create this method in your object as well, and will be called on a click_event
    function getValExpressions(rootObject, tabExcption){
         //Create new table
         tabExpression = new Array();
         //Put the exceptions fields value in the exception table
         tabException = tabExcption
         //Validation
         validateAllFields(rootObject);
         //Return a null field
         return tabExpression;
         2.3 The click event is where you write the special validation for different forms
    //Create a table with exception fields, can be used for special validation fields or no validation
    var tabExceptionFields = new Array("dateField1", "txtComments", "txtTotal");
    //Call the validation
    var tab = myForm.getValExpressions(Main, tabExceptionFields);
    if (tab.length > ){
         xfa.host.setFocus(tab[0]);
    } else{
         var boValidate = false;
         var strExpression;
         //write your validation according to the fields you need special validation.
         if (statement == false){
              strExpression = Reference_Syntax.Field.somExpression;
              boValidate = false;
          if (boValidate){
              xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
         } else{
              xfa.host.setFocus(strExpression);
    I will post a form template as an exemple for these function
    Enjoy!
    Message was edited by: Magus069

  • [SOLVED] Building from source?

    I'm new - quite new to Linux, totally new to Arch - thus this newbie question.
    I can't seem to understand how to properly compile from source in Arch.
    And before you ask, I have read the Wiki. A lot.
    The way I understand it, normally one would use pacman and rely on it to find, download and install the package. I have not yet got a proper internet connection set up, and will therefore have to download the package(s) from my Win XP computer I'm sitting at.
    I want to download wvdial - for getting dialup up and running. wvdial seems to depend on ppp, wvstreams and xplc, so I have to download those as well.
    After searching, I found them all, but only the source code, as gzipped tarballs.
    I understood that one was then supposed to use makepkg to make a package from the source code, and then install the resulting package using pacman.
    Sounds OK, but it looks like I need a so-called PKGBUILD file for each package, a script used by makepkg to build the package correctly.
    Did those tarballs contain any PKBUILD files? No. There were makefiles, but no such thing as a PKGBUILD file.
    What am I supposed to do, then? Did I get the wrong tarballs?
    I got wvdial from this page: http://www.archlinux.org/packages/extra/i686/wvdial/ which took me here: http://alumnit.ca/wiki/index.php?page=WvDial which again lead me here: http://alumnit.ca/wiki/index.php?page=DownloadReleases
    This last page also included wvstreams.
    For ppp: http://www.archlinux.org/packages/core/i686/ppp/
    For xplc: http://www.archlinux.org/packages/extra/i686/xplc/
    Last edited by Mzg (2009-09-06 18:13:28)

    the binary package have to be downloaded from a mirror. here is a list with them: http://wiki.archlinux.org/index.php/Mirrors
    note: http://www.archlinux.org/packages/extra/i686/wvdial
    looking at the link you can find out where to look. is in extra repository, i686
    http://linkmirror/extra/os/i686/

  • Wombat (Arch 0.7) Kernal build from source problem

    Using the large Arch 0.7 ISO and selecting build Kernel 2.6 from source, the command "make menuconfig" fails because the ncurses library is not present.
    I am able to start the build of the kernel using the default .config file. There were a number of warnings for configuration variables no longer being used, and a number of features had been deprecated. Its not finished yet, but I suspect it will work ok.
    I may install the pre-built kernels just in case the config file is incorrect.
    Should I put this in as a problem, or is it already fixed in 0.8?

    Actually, the instructions are quite good and I did follow them 
    It's pretty easy, since you can alt between F1 and F2 and check what you have to type.
    I going through the whole process again, since I did not like the error messages I was getting. As in the earlier case, I am only installing base (which includes ncurses.)
    I am not going to build the kernel from source this time, but wait until the system is up before doing that.
    I have never seen this problem before with the beta's of 0.7, so I am going to assume its a fluke. I have used beta's of Wombat on 9 machines and this was the first time it happened.
    If no one else has had this problem, I am going to assume its my fault.
    No big deal.

  • Importing SECTIONS (not Styles) from ePub Best Practices Sample Doc

    I have successfully imported STYLES from the ePub Best Practices Sample Document (http://support.apple.com/kb/HT4168) into an existing Pages document. However, the Best Practices doc also has defined SECTIONS which you can see by clicking on the sections button in the toolbar.
    How can I get those defined Section types (i.e. Table of Contents, Index, etc.) into my other document which does not included those?
    Thanks,
    Jeff

    Hi Jeff,
    With the sample document and your new Pages document, View > Page Thumnails. Click on a thumbnail in the sample doc, Edit > Copy. Click in the thumbnail pane in the new doc and Edit > Paste. I guess this does the same as selecting and copying the text in the doc window.
    Regards,
    Ian.

  • Capturing deletes in the source -best practices

    What are best practices to capture deletes in the source (10g)? I need to bring the data into the data warehouse. Asynchronous CDC can do the job, but is there anything I should be aware of? Can somebody speak of the best practices of how to implement this? Other options?
    Thanks in advance.
    Edited by: Rinne on Sep 23, 2010 11:05 AM

    Rinne wrote:
    Deletes don't happen often at all. Just about 10 records in a month. But I do need to track them daily. I have a daily job that goes against the source and gets the data out. Currently, I'm relying on a timestamp, but I need to change this to get the deletes.If you can afford (i.e. you have control over the application that uses the source database), you may want to only mark the records as "DELETED" (for e.g. add a flag to the table that is set to indicate that record is deleted). That way you change a DELETE to an UPDATE.

  • TEM Building Block in Best Practices

    Dear Team,
    I am not able find any building block and doc relating to TEM (Training and Event Management) in SAP Best practices
    Please guide me? Where i can find out more abt this.

    Dear Team,
    Please reply for my issue.
    Regs,
    Brahma

  • Swtich with 2 wireless routers (configuration for best practice/advice?)

    HI folks,
    I have a gigabit switch, and 2 wireless G routers.  I'll leave the model numbers out as it's fairly irrelevant - all linksys.
    Router 1 is used as a router only (due to location in basement)
    Router 2 is used for wireless only
    My current network setup:
    DSL MODEM (accessed on 192.168.2.1 - can not be changed) > Router 1(192.168.1.1)
    Router 1 > Switch (i believe it can't be changed 192.168.2.12 - no webgui)
    Switch > everything else including Router 2
    Everything works except Router 2 - can't connect to it wired or wirelessly until connected directly to a pc.
    Is my setup wrong
    and/or is there a best practice?
    Many thanks!!!

    What is the model number of the switch?
    Normally a switch that cannot be changed does not have an IP address.  So if your switch has an address (you said it was 192.168.2.12)  I would assume that it can be changed and that it must support either a gui or have some way to set or reset the switch.
    Since Router1 is using the 192.168.1.x  subnet , then the switch would need to have a 192.168.1.x  address (assuming that it even has an IP address), otherwise Router1 will not be able to access the switch.
    I would suggest that initially, you setup your two routers without the switch, and make sure they are working properly, then add the switch.  Normally you should not need to change any settings in your routers when you add the switch.
    To setup your two routers, see my post at this URL:
    http://forums.linksys.com/linksys/board/message?board.id=Wireless_Routers&message.id=108928
    Message Edited by toomanydonuts on 04-07-2009 02:39 AM

Maybe you are looking for

  • How can I map a network drive on an iPad once a VPN is established?

    I have a new iPad and I am trying to access a network drive once I establish a VPN on my company's network. I can establish the VPN, but I am not sure of how to map a network drive like I do on my MacBook using smb.

  • CS4 error 1603

    It's really crazy, I contact support center by phone and posting, several days ago, but they don't give any answer about how to install CS4 when you get error 1603. I have reading in the KB from adobe but anything posted there works. Scenary: - Windo

  • Adding a call event in calendar

    Hi, is it possible to schedule a phone call in calendar application? Or add an event that is related to a contact? I have looked in the user guide but not found anything like it Ideas? Thanks

  • Leopard didn't migrate all mailboxes from Tiger

    My new Leopard mailboxes (2) look good, but it didn't migrate my old MSN HTTP mail account or 2 saved email mailboxes where all pending messages are stored. Also no junk mail is being received. You may think that's good, but many messages are initial

  • Reversing a post goods receipt

    Hi, It seems we have completed multiple return deliveries using the post goods receipt button, This movement was completed using 651. Trying to cancel / reverse and hopefully return this to it's original SLOC, it errors and saying that movement 654 1