[SOLVED] Different outcome running makepkg vs running the commands.

Hi all,
I'm trying to build fatback, for blackarch mainly but I'll upload to AUR too, and I'm having some weird outcomes.
If I run makepkg -sfic on this, it fails with a load of compiler errors, but if I run the configure & make separately, it works fine, only complaining about flex library missing. See here
What gives?
Makepkg log
Command output 1
Command output 2
Command output 3
EDIT: Solution was a mix of environment variables for me, and the original dev making some mistakes, see last post.
Last edited by elken (2014-05-26 14:52:04)

Thanks for the text version.
I think we missed some makepkg flags.  I just tried this PKGBUILD - I get the same error you do with makepkg.  When I build manually I also get the flex errors that you just posted *unless* I export the makepkg variables - then I get the same error as with makepkg.  But above I missed "CPPFLAGS" - so try the following in the (clean) source directory:
source /etc/makepkg.conf
export CFLAGS
export LDFLAGS
export CPPFLAGS
export CXXFLAGS
./configure
make
This produces the same error as the makepkg for me.
EDIT: and I found the problem.  The upstream source was trying to pass definitions of data types through compiler "DEF" flags (eg -Dsize_t=unsigned)  This conflicted with the internal typdefs for these types included from header files.  Removing these absurd definitions allows it to compile.  Stand by for a patch/sed command for the PKGBUILD.
EDIT: Insert this in the PKGBUILD after the configure command and before make in the build function:
sed -i 's/-Doff_t=long -Dpid_t=int -Dsize_t=unsigned//' Makefile
For explanation: the DEF flag defined "size_t" as "unsigned" so anytime the former was encountered in the code, it was replaced with the latter.  But in the code, included header files had lines like "typedef size_t unsigned;" which the preprocessor then turned into "typdedef unsigned unsigned;" which doesn't make any sense to the compiler.
Last edited by Trilby (2014-05-26 14:42:41)

Similar Messages

  • Set env using a script and run the command (dependency on the env)

    I need to set the env varaible by running a shell script with arguments as 'ksh setEnviron r6.1' and then run the command in the
    same process. the command has dependency on the previous script which sets the env variables.
    With Runtime.getRuntime().exec( cmd1); ,Runtime.getRuntime().exec( cmd2); I am not able to execute the Cmd2 as it is running in different process.
    How do solve this issue.
    Is there any other method to run the command to set env variables and run the second command.(dependent on the env) to get the output.
    Please help me out in this.

    ganesh_mak wrote:
    final String[] commands = {
                              ". setEnviron r6.1",
                                "/usr/add-on/test/Xbin/sql name from list where date.eq.05/22/08",
    Process penv = Runtime.getRuntime().exec("/bin/sh");
    BufferedReader br = new BufferedReader( new InputStreamReader( penv.getInputStream() ) );
    BufferedReader stdError = new BufferedReader(new InputStreamReader(penv.getErrorStream()));
    final OutputStream writer =  penv.getOutputStream();
    for (int i=0; i<commands.length;i++)
         writer.write(commands.getBytes("utf-8"));
         writer.write("\n".getBytes());
    String line;
    while((line = br.readLine())!=null){
    System.out.println(line);
    br.close();
    writer.close();
    I tried the above code but its not working...............
    please correct me.
    Do you think I used the '-i' argument just for fun? Did you do a 'man sh' and 'man bash' to see what the arguments do? If not then do it now.
    Do you think I used Theads to process stderr and stdout just for fun? I've shown you the basic approach. I have shown you how you need to create Threads to process stdout and stderr. If you have not understood and you have not studied http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html then do so now.
    Edited by: sabre150 on Jun 2, 2008 3:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

    I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
    to solve this problem.
    Initialization Failed
    The following error occurred while searching for the on-premises Exchange server:
    [win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
    $true -CurrentVersion 'Version 14.1 (Build 218.15)''.
    Thanks Vivek
    SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Hi,
    Please have a look at the article below:
    Troubleshooting Exchange 2010 Management Tools startup issues
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Resolving WinRM errors and Exchange 2010 Management tools startup failures
    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
    Besides, please run the cmdlet below:
     set-user alias -remotepowershellenabled$true
    Xiu Zhang
    TechNet Community Support

  • When i press "Alt" imac runs the command "duplicate" or "copy". It interferes with work, how to fix it?

    Good day!
    I have this problem: when i press "Alt" my imac runs the command "duplicate" or "copy". It interferes with work, how to fix it?
    Thank you.

    Hi, thank you!
    For example when I work in Nuke, and press "option" (for navigation), after I will release the "option", selected node will be duplicated.
    The same issue, but with copying happens when I'm working in blender and hold the "option" to navigate - I see the message "copied selected objects to buffer".
    Maybe it's some additions to the finder, which I could set a long time ago? In any case, how to fix it?
    Thanks in advance!

  • How to we run the command  Create Sdmkitjar

    Hii Ep Gurus
                Pl let me know where do i run the command createsdnmkitjar
    Thanks In Advance
    Johny

    Hi Nithya
                  Our Basis People r Migrating the ep server so before doind it they need to pack all the sdm installed components u can refer the doc in the server sdm folder
    thanks
    johny

  • Different results running the same Javascript - CC vs CS6

    I'm having some issues setting a text field's font size using Javascript. For some reason I always get 2.88 point font as opposed to what I set it at (in this case it's 12). Anyone know what is wrong here and why PS isn't recognizing the command to set the font size?
    #9740928 - Pastie
    Line 42 is where I'm setting the size.
    Line 27 is where the variable is defined. I've tried just punching in an integer with the same results.
    Thank you for any help.
    So I think there might be an issue with Adobe CC or perhaps some changes in it's developement as far as how it's handling Javascript. I've ran multiple tests today and did some reading. At the end of the line I decided to try the script out on CS6 and I got the correct results. So the script works on CS6, but not CC? I made an example script that I did my tests on for the Adobe team to take a peak at. It's at the end of this post.
    I'm no script master by any stretch of the imagination, but I find it odd that this script works properly on Adobe CS6, but does not modify the font size correctly on Adobe CC. I'd expect that same results. If any of you come up with anything please let me know. Cheers.
    //START OF THE SCRIPT
    var defaultRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    var AD = activeDocument ;
    theSize = 53;
    var TextLayer = AD.artLayers.add();
          TextLayer.kind = LayerKind.TEXT;
          TextLayer.opacity = 90;
           var txtRef = TextLayer.textItem;
                txtRef.font = "Impact";
                txtRef.contents = theSize;  //The defined size of 53 is reflected accurately in CS6 but when this script is ran on CC it is not. Sometimes it's 12, sometimes it's 2.88.
                txtRef.size = theSize;
    //END OF THE SCRIPT
    ^I'm saving this as a .JS
    Message was edited by: Clayton Krause

    The messing up of DOM font size somewhere in CC 2014 is a known issue.
    Re: Did CC 2014.2 break textItem.size?
    The alternative would be using AM code.

  • Error while running the command "maven jbi:createArchetype"

    Hi all,
    I installed maven 1.0.2 and copied the plugin maven-jbi-plugin-1.0.jar into the <maven_home>/plugin directory as said in the url http://docs.codehaus.org/display/SM/Spring+Client+Toolkit
    Then when I ran the command maven jbi:createArchetype, I am getting the following error.
    =========================================================
    Attempting to download dom4j-1.4-dev-8.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download dom4j-1.4-dev-8.jar.
    Attempting to download commons-jelly-20030902.160215.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-20030902.160215.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download commons-jelly-20030902.160215.jar.
    Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-jsl-20030211.143151.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download commons-jelly-tags-jsl-20030211.143151.jar.
    Attempting to download commons-jelly-tags-log-20030211.142821.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-log-20030211.142821.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download commons-jelly-tags-log-20030211.142821.jar.
    Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-velocity-20030303.205659.jar]: java.net.ConnectException: Connection timed out: connec
    WARNING: Failed to download commons-jelly-tags-velocity-20030303.205659.jar.
    Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-xml-20040613.030723.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download commons-jelly-tags-xml-20040613.030723.jar.
    Attempting to download commons-logging-1.0.3.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download commons-logging-1.0.3.jar.
    Attempting to download velocity-1.4-dev.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download velocity-1.4-dev.jar.
    Attempting to download velocity-dvsl-0.45.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/velocity-dvsl/jars/velocity-dvsl-0.45.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download velocity-dvsl-0.45.jar.
    Attempting to download xml-apis-1.0.b2.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar]: java.net.ConnectException: Connection timed out: connect
    WARNING: Failed to download xml-apis-1.0.b2.jar.
    The build cannot continue because of the following unsatisfied dependencies:
    dom4j-1.4-dev-8.jar
    commons-jelly-20030902.160215.jar
    commons-jelly-tags-jsl-20030211.143151.jar
    commons-jelly-tags-log-20030211.142821.jar
    commons-jelly-tags-velocity-20030303.205659.jar
    commons-jelly-tags-xml-20040613.030723.jar (try downloading from http://jakarta.apache.org/commons/jelly/libs/xml/)
    commons-logging-1.0.3.jar
    velocity-1.4-dev.jar
    velocity-dvsl-0.45.jar
    xml-apis-1.0.b2.jar
    Total time: 3 minutes 35 seconds
    Finished at: Thu Aug 25 12:12:38 IST 2005
    ========================================================
    Somebody pls help me out in solving this.
    Thanks in advance.
    Regards,
    Venkat

    Hi there -
    I inherited a project that uses Maven to compile a jar file. I have downloaded and installed V1.0.2 and have followed the steps and verified that it was installed correctly. I have even connected it to the existing repository on a share drive. When I attempt to run Maven for the first time, I get an error indicating that it can not download particular jars from www.ibilio.org/maven/***/jar/***.jar
    Below is partial output. I have verified that these files do exist already in our central repository and I'm starting to think I need to set the proxy settings. I can not find the file in which I should update. Am I crazy???
    Here is the error message:
    C:\EPS\resources>maven project.xml
    | \/ |__ Apache_ ___
    | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
    |_| |_\__,_|\_/\___|_||_| v. 1.0.2
    Attempting to download log4j-1.2.8.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.
    2.8.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download log4j-1.2.8.jar.
    Attempting to download junit-3.8.1.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/junit/jars/junit-3.
    8.1.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download junit-3.8.1.jar.
    Attempting to download ant-1.5.3-1.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-
    1.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download ant-1.5.3-1.jar.
    Attempting to download jdbc2_0-stdext.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/jdbc/jars/jdbc2_0-s
    tdext.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download jdbc2_0-stdext.jar.
    Attempting to download 8171classes12.zip.
    Error retrieving artifact from [http://www.ibiblio.org/maven/jdbc/jars/8171class
    es12.zip]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download 8171classes12.zip.
    Attempting to download pg73jdbc3.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/jdbc/jars/pg73jdbc3
    .jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download pg73jdbc3.jar.
    Attempting to download commons-digester-1.4.1.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-digester/ja
    rs/commons-digester-1.4.1.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download commons-digester-1.4.1.jar.
    Attempting to download commons-collections-2.1.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-collections
    /jars/commons-collections-2.1.jar]: java.net.UnknownHostException: www.ibiblio.o
    rg
    WARNING: Failed to download commons-collections-2.1.jar.
    Attempting to download commons-logging-1.0.3.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-logging/jar
    s/commons-logging-1.0.3.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download commons-logging-1.0.3.jar.
    Attempting to download commons-beanutils-1.6.1.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-beanutils/j
    ars/commons-beanutils-1.6.1.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download commons-beanutils-1.6.1.jar.
    Attempting to download ldap.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/novell-ldap/jars/ld
    ap.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download ldap.jar.
    Attempting to download utilities.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/novell-ldap/jars/ut
    ilities.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download utilities.jar.
    Attempting to download xerces-1.4.4.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/xerces/jars/xerces-
    1.4.4.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download xerces-1.4.4.jar.
    Attempting to download servlet-2.3.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/servlet/jars/servle
    t-2.3.jar]: java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download servlet-2.3.jar.
    Attempting to download mail.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/mail/jars/mail.jar]
    : java.net.UnknownHostException: www.ibiblio.org
    WARNING: Failed to download mail.jar.
    The build cannot continue because of the following unsatisfied dependencies:
    log4j-1.2.8.jar
    junit-3.8.1.jar
    ant-1.5.3-1.jar (try downloading from http://jakarta.apache.org/regexp/)
    jdbc2_0-stdext.jar
    8171classes12.zip
    pg73jdbc3.jar
    commons-digester-1.4.1.jar (try downloading from http://jakarta.apache.org/commons/)
    commons-collections-2.1.jar (try downloading from http://jakarta.apache.org/commons/)
    commons-logging-1.0.3.jar (try downloading from http://jakarta.apache.org/commons/)
    commons-beanutils-1.6.1.jar (try downloading from http://jakarta.apache.org/commons/)
    ldap.jar
    utilities.jar
    xerces-1.4.4.jar (try downloading from http://xml.apache.org/xerces2-j/)
    servlet-2.3.jar
    mail.jar
    Total time: 6 seconds
    Finished at: Thu Oct 27 09:46:39 EDT 2005

  • Error while running the command

    Hi all,
    i have installed xerces parser and loaded the jar files in jdk.lib. when i try to run the xml and xsd files using SchemaValidator i get an error as :
    Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
    org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lan
    g.NullPointerException
    at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
    at SchemaValidator.process(SchemaValidator.java:68)
    at SchemaValidator.main(SchemaValidator.java:44)
    Can anyone please help me in this regard

    Hi,
    Make sure the xercesImpl.jar file you got from apache site is added to your <jdkhome>/jre/lib/endorsed directory. That should solve your problem.
    cheers,
    vidyut

  • [SOLVED] Why doesn't imagemagick work off the command line?

    Hi
    I want to do some experimentation with ImageMagick.
    Pacman says it is installed and I can find various dirs called ImageMagick, but I can't find an actual binary to run commands against.
    Can anyone help please?
    Thanks
    Last edited by Bes (2007-12-20 21:40:37)

    There are different binarys for the different "jobs".
    You can read the man-pages to find out what "job" each binary can do.
    To resize a image you have to use /usr/bin/convert for example.
    "pacman -Ql imagemagick | grep bin" lists the binarys installed with imagemagick
    $ pacman -Ql imagemagick | grep bin
    imagemagick /usr/bin/Magick++-config
    imagemagick /usr/bin/Magick-config
    imagemagick /usr/bin/Wand-config
    imagemagick /usr/bin/animate
    imagemagick /usr/bin/compare
    imagemagick /usr/bin/composite
    imagemagick /usr/bin/conjure
    imagemagick /usr/bin/convert
    imagemagick /usr/bin/display
    imagemagick /usr/bin/identify
    imagemagick /usr/bin/import
    imagemagick /usr/bin/mogrify
    imagemagick /usr/bin/montage
    imagemagick /usr/bin/stream
    Last edited by SiD (2007-12-20 19:09:35)

  • [SOLVED] Vocabulary Trainer or Learning Archit. for the Command Line

    I am writing my PhD in English which actually is not my native language. So vocabulary and expression learning is an important task. When I came to Arch part of the decision was also ralted to my whish to work as close to the Command Line as possible. So I am looking everywhere to find a vocabulary trainer for the shell. Unfortunately I was not able to find even one. I looked:
    - at the Arch Wiki 'List of Applications'
    - at the Ubuntu Wiki 'Shell Applications'
    - at http://www.jaredandcoralee.com/CLIapps.html
    - searched both the Arch and Ubuntu Wiki
    - searched Google for 'Vocabulary Trainer cli', 'Vocabulary Tainer terminal emulator', 'Vocabulary Trainer Linux Shell'
    Is anyone aware of such an application for the shell or has anyone ideas for a kind of work around using a combination of existing software/shell scripts/shell commands.
    Thanky you.
    PS: Of cause I could just start something like simple Python Script working with a csv file or something comparabla. But if possible I would like to avoud this DIY solution.
    Last edited by cutuchiqueno (2013-08-30 10:12:06)

    Trilby wrote:
    I don't know of any training tools of that variety.  Generally this is a "learn by doing" situation - which fits with language learning as well: flash cards can seem handy, but to really learn a language, you just need to start using it.
    To "just start using" the shell, I'd suggest greg's wiki
    Ok, I think there is a misunderstanding. My question does not relate to learn to use the shell. Although far from being perfect I already feel quite comfortable with the shell and its ways to interact with the system.
    It's really more basic. I have to improve my English. And in this context I need a vocabulary trainer, to learn english words and english academic expressions, nothing more. And as I am feeling quite close to the shel it would have been nice to train english vocabulary on the shell and not with something like KWordQuiz, etc.
    Sorry if my description was ambiguous. So the question still is, is there a vocabulary trainer for self defined english vocabulary to train in the shell?
    PS: Of cause also learning english is something you mostly do by learning. But I will do  that anyhow as I am writing the PhD in english and as I am presenting in English. Anyhow I experienced that there is a part in foreign language learning where there is no real subsitutde for learning it with a vocabulary trainer.

  • Error while running the command "./biserverxmlgen"

    When we are trying to run "./biserverxmlgen" in the direcoty "cd /home/biadmin/obiee11g_home/Oracle_BI1/bifoundation/server/bin" we are getting the below error message.
    "error while loading shared libraries: libnqsclusterapi64.so: cannot open shared object file: No such file or directory".
    Please help us to get this resolved.

    ./biserverxmlgen: error while loading shared libraries: libnqsclusterapi64.

  • Active Directory Error 0x51 occurred when trying to check the suitability of server ' servername '. Error: 'Active directory response: The LDAP server is unavailable'. It was running the command 'Get-OwaVirtualDirectory'.

    This issue is driving us nuts - there are no issues with Domain Controllers or AD in this environment.  The server it is citing in the error has been retired - it was gracefully dcpromo'ed down and removed from the environment.  DNS has no record of it, nor is it located anywhere else.  We are not able to log into Outlook Web App either with authentication failed errors - and I can't help but expect these 2 issues are related?  I tried hard coding the Configuration Domain Controller at the org level, as well as using the -staticdomaincontrollers and -staticglobalcatalogservers with the "Set-ExchangeServer" powershell command - no luck....  System settings of the exchange 2010 servers show they are pointing to the correct DCs - but I still get this error accompanied with long delays in rendering windows in EMC.  Extremely frustrating.....  I have an issue logged with MS now, but they aren't looking at them until Nov 9.  Has anyone seen this issue at all?  More info on the OWA config - using Form based auth, and I'm not able to perform a simple test-owaconnectivity -mailboxcredential (get-credential\username) -allowuntrustedcertificate -allowinsecurelogon - please help

    Create a "global catalog" on the 2nd domain contoller, will fix this problem. 
    To create a new global catalog:
    On the domain controller where you want the new global catalog, start the Active Directory Sites and Services snap-in. To start the snap-in, click Start , point to Programs , point to Administrative Tools , and then click Active Directory Sites and Services .
    In the console tree, double-click Sites , and then double-click <var>sitename</var> .
    Double-click Servers , click your domain controller, right-click NTDS Settings , and then click Properties .
    On the General tab, click to select the Global catalog check box to assign the role of global catalog to this server.
    Restart the domain controller.

  • How to run the the impersonation permission grant command for multiple users

    I have run below command earlier to grant the impersonation for a user called user1
    get-mailbox -identity user1 | add-adpermission -user domainname\service application user -ExtendedRights ms-Exch-EPI-May-Impersonate
    Now I want to run this command for multiple users like user2, user3, user 4 together. How should I run the command.
    This is for Exchange Server 2007 SP2
    Abhijeet M. Mohite

    Hi Abhijeet
    get-mailbox -identity user1 | add-adpermission -user domainname\service application user -ExtendedRights ms-Exch-EPI-May-Impersonate
    I am little bit confused with this command so can you please help me what to right inplace of User1 and domainname\service application user
    Example: I wanted to give Impersonate rights to
    [email protected] then can you please complete command for me.      Thanks in advance.
    Warm Regards, Pramod Kumar Singh Manager-IT

  • Running the Archiving actions through the Command Line

    Hi,
    I am not able to import and export archives using command line tools. I want to directly transfer the archive and don’t want to use a shared location. I have created the scripts that I need to run. For that I have created a sequence of steps that needs to be followed. I have mentioned the steps and the command file that I run for each step.
    1)     Created a target archive on the target server and set the IsTargetable
    <?hda version="10.1.3.3.3 (080807)" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    IdcService=ADD_ARCHIVE
    IDC_Name=CS98310
    aArchiveName=TargetArchive
    aIsTargetable=1
    aArchiveDescription=This is an target archive
    aCopyWebDocuments=1
    @end
    2)     Created a source archive on the source server and set the target archive for this source archive as the target archive created in step 1.
    <?hda version="10.1.3.3.3 (080807)" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    IdcService=ADD_ARCHIVE
    IDC_Name=idc
    aArchiveName=SourceArchive
    aArchiveDescription=This is an source archive
    aCopyWebDocuments=1
    aTargetArchive=CS98310/TargetArchive
    aIsTargetable=0
    aExportQuery=Standard Query     ValuePanel      UseExportDate 0     AllowExportPublished 0     AllRevisions 1     LatestRevisions 0     NotLatestRevisions 0     MostRecentMatching 0     CurrentIndex 0     Clauses dDocName:sqlEq: 20     CustomQuery dDocName%=%'20'     IsCustom 0
    aIsAutomatedTransfer=0
    @end
    3)     Create a query for the source archive to select the content
    aExportQuery=Standard Query     ValuePanel      UseExportDate 0     AllowExportPublished 0     AllRevisions 1     LatestRevisions 0     NotLatestRevisions 0     MostRecentMatching 0     CurrentIndex 0     Clauses dDocName:sqlEq:20     CustomQuery dDocName%=%'20'     IsCustom 0
    (This is added in the previous step)
    4)     Export the source archive on the source server
    @Properties LocalData
    IdcService=EXPORT_ARCHIVE
    aArchiveName=SourceArchive
    IDC_Name=idc
    dataSource=RevisionIDs
    @end
    5)     Transfer the source archive to the target archive from the source server
    @Properties LocalData
    IdcService=TRANSFER_ARCHIVE
    aArchiveName=SourceArchive
    IDC_Name=idc
    @end
    6)     Import the target archive on the target server
    @Properties LocalData
    IdcService=IMPORT_ARCHIVE
    aArchiveName=TargetArchive
    IDC_Name=idc
    aImportDocuments=true
    @end
    The issue comes while creating the archive. I am not able to set the parameters “aIsTargetable” for the target archive and “aExportQuery and aTargetArchive” for the source archive.
    Now I create the archive with the archiver utility and tried running the commands (from step 3), but still it fails in the transfer command. The error comes that “aTargetArchive” parameter cannot be found. Now if I do the entire process through the Archiver Tool, its works fine and I am able to view the documents on the target server. I am not able to understand the reason. Is there a problem in the Command Files?
    Also I want to check if I can automate it without deleting the batch files and their associated content file.
    Thanks,
    Noel

    About dbms_output the answer from Roberto is correct.
    About other things see How to view and set current directory to run a script in sql plus.

  • I'm trying create a new firefox profile and everytime I try to start the profile manager it crashes. I'm running the latest verison of firefox and OS X 10.5.8

    The way I've been starting the profile manager is by running the command /Applications/Firefox.app/Contents/MacOS/firefox-bin -p in the terminal.

    You will need to Purchase a Disc of Snow Leopard 10 6 to upgrade...
    Mac OS X 10.6 Snow Leopard
    Also, Check that your Mac meets the System Requirements for SL...
    Snow Leopard Specs:
    http://support.apple.com/kb/SP575

Maybe you are looking for