Modifying Solaris 10 perl Config.pm values

Numerous perl packages won't
build on my Solaris 10 systems
because the Solaris 10 perl's
Config.pm packages identifies
$Config{'cc'} as "cc" and not
"gcc".
I'd like to just update Config.pm
to just point to gcc and not cc.
Is there a better way to
do this with the Config module,
other than just editing Config.pm?
Thanks --w                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

wsanders wrote:
I'd like to just update Config.pm
to just point to gcc and not cc.
Is there a better way to
do this with the Config module,
other than just editing Config.pm?If you don't want to download studio and get a 'cc' compiler, and you don't just want to compile your own perl (that's the way I usually go, so I can leave the system perl alone), then just use perlgcc.
/usr/perl5/bin/perlgcc -MCPAN -e shell
(blah blah blah...)
This will set things so that for that invocation of perl, it will prefer to use 'gcc' and gcc appropriate flags. If you look at what it does, it just uses an alternate 'Config.pm' and sticks it in the perl environment ahead of the default one.
Darren

Similar Messages

  • Modify range of x-scale value in excel

    Hi
    I'm stuck once more with this excel-activeX connection.
    I'd like to modify the range of the values that are chosen for the x-scale of a graph.
    How can I do that. 
    I know how to change the format and so on but couldn't find the data range.
    Thanks for an help
    Yves

    Hi Yves,
    I reccomend that you look at following link:
    From Excel to LabVIEW with style
    https://decibel.ni.com/content/docs/DOC-13666
    Best regards
    Matijas

  • Need to find out what has been modified to running-config

    Hello,
    When I enter the "reload" command, Cisco ASA 5510 asks me
    a question: System config has been modified Save? [Y]es/[N]o:
    All I did was issuing a few "show" commands before the "reload" command. I definitely need to find out what
    has been modified before the reboot
    Is there any way to find out what has been modified to the running configuration.
    Thanks!

    If you want to know when changes are made, but don't want to setup TACACS (and you have a syslog server setup), you can have the router syslog all commands entered while in config mode:
    devcorert01#conf t
    devcorert01(config)#archive
    devcorert01(config-archive)#log config
    devcorert01(config-archive-log-cfg)#hidekeys
    devcorert01(config-archive-log-cfg)#logging enable
    devcorert01(config-archive-log-cfg)#notify syslog
    Anytime someone enters any command while in config mode, the command will be sent to your syslog server.
    Examples:
    Jul 21 10:15:41 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console logged command:do sh run
    Jul 21 10:17:33 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console logged command:interface GigabitEthernet2/2
    Jul 21 10:17:38 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console logged command:shutdown
    Jul 21 10:17:42 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console logged command:no shutdown
    Note the "do show run". Even thought that is not a config command per se, it was entered while in config mode. Also notice the user is "console". If it was from a telnet session, you would see
    Jul 21 10:17:33 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:unknown user logged command:interface GigabitEthernet2/2
    Jul 21 10:17:38 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:unknown user logged command:shutdown
    Jul 21 10:17:42 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:unknown user logged command:no shutdown
    Mike

  • Help in modifying create sales order - update value during idoc import

    Hi,
    I have been asked to modify the process of creating a sales order when an idoc comes through. The basic requirement is to update a value in the sales order item (VBKD-BSTKD_E) with a value from the Idoc (in segment E1EDP02).
    I have never mapped inbound documents before and I was wondering if anyone could help me. I think I have idnetified the right enhancement VEDA0001 - EXIT_SAPLVEDA_001 but I am not sure what the syntax should be.
    Does anyone have any idea - or pointers where I could create this solution. I even tried to put a break-point into the customer exit - but it seems to be ignoring the code!
    Would appreciate anybodies help
    Paul

    hi Paul,
    I need to enhance FM u201CIDOC_INPUT_ORDERSu201D. So I had created the new project ZDEV_VEDA via tcode CMOD and under this new project, I assigned the VEDA0001 enhancement. I wanted to enhance Function exit EXIT_SAPLVEDA_001 (INCLUDE ZXVEDU03). But I had encountered this message:
    Program names ZX... are reserved for includes of exit function groups. Message no. DS027
    Any ideas what is this about? Appreciate so much.
    TQ.

  • How can I modify the application- validation- set- value validation

    Dear all :
    After I created a new value set( application->validation->set->value validation), I want to change the Type of the "value validation",how can I modify ?
    Regards
    Terry

    Dear all:
    Sorry, I found the answer in the metalink note :[ID 396369.1]     
    Regards
    Terry

  • How can I modify the about:config page to automatically install/allow a new addon that I dropped in the profile folder?

    We are pushing policy to create an add-on for our workstations in our labs. It is the click once .net assistant, and when we push the folder, prefs.js, and config.ini with policy the add on works, but FFx comes up with the 'allow installation' tab every time. Is there a way to enable/install the addon without that page coming up?
    We work in a 'frozen' environment (Faronics DeepFreeze), so using policy for fixes like this is nice, but we are hoping to clean it up so we don't see that allow installation tab.
    Thanks for the help!

    See:
    *https://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/

  • How to modify person or group field value with new value

    Hi
    I have person or group field having property Person Only.
    Thsi firls already have one value. Now I want to update it but this code to update value is not working.
    string myName = @"ABC\myname";
    web.EnsureUser(myName);
    SPUser myUser = web.SiteUsers[myName];
    SPFieldUserValue myNamevlaue = new SPFieldUserValue(web, myUser.ID, myUser.LoginName);
    oSplistItem["My_x0020_User"] = myNamevalue;
    oSplistItem.Update();
    I am getting myNamevalue correct in the veriable. But why its not updating in the list?
    is there any issue in the above code?
    Do I need to delete previous value and then update new value in this field? How?

    Hi,
    The format of the user value in people/Group field must be
    ID;#Name, you can use the following code snippets to update the people/group field.
    string loginName = "ABC\\myname";
    SPUser user = web.SiteUsers[loginName];
    SPList list = web.Lists.TryGetList("ListName");
    if (list == null)
    Console.WriteLine("list is not exist!");
    return;
    SPListItem item = list.GetItemById(3);
    item["My_x0020_User"] = user.ID.ToString() + ";#" + user.Name;
    item.Update();
    Thanks,
    Jason
    Please remember to mark the reply as answer if it help, and unmark the answer if it provide no help.

  • Solaris 8 config for DSL

    I want to reconfigure my standalone SunBlade100 for DSL service. The OS is Solaris 8 10/01, and is currently configured for dial-up access to an ISP.
    I've edited the etc/hosts, etc/resolve.conf, and etc/nsswitch.conf files, and I created an etc/defaultrouter file containing the gateway IP address.
    Sun PPPD 4.0 is installed, and includes PPPoE.
    My question is what else do I need to do in order to complete the configuration?
    Are there any good references for Solaris DSL configuration?
    Thanks in advance?

    Hello,
    I supose that its an errata but its /etc/resolv.conf and not /etc/resolve.conf.
    Your access internet via a router. I don�t know about DSL but if it�s a standar router you shoudn�t have to configure pppd, just a normal network access with the routing and the naming service properly configured.
    If you edit /etc/defaultrouter, the changes will take effect on the next reboot, so maybe you�ll have to add a route manually if you cannot shutdown the machine:
    route add default your_router_ip
    This way you should ping your router, if the routing is properly configured your dns server too (specifying it�s IP) and finally if the naming service is well configured, any Full Qualyfied Domainame on internet.
    Try this and post the results. Bye,
    Joseba M. Iturbe
    P.D: Read another similar post on this disscussion forum.

  • Modify Std. code to get value for User Exit.

    I am executing release strategry at user exit EXIT_SAPLEBND_002  ( Exit Name M06E0004 ), for the field ( USRN1)
    This has got user program ZXM06U22 in it. In this exit I get values from I_CEKKO , IT_BEKPO, IT_BEKET, IT_EKKNU
    and I have to pass the PO value from these structures to E_CEKKO-USRN1   ( This field has set in SPRO setting ) .
    I get the PO value as per standard calculation in the field IT_BEKPO-EFFWR , I also get a value in I_CEKKO-GNETW. However not one of both these values satisfy any one of my conditions. My document condition is defined in SPRO as ZVPA and values against it is calculated considering Taxes On PO. The fields EFFWR or GNETW does not include taxes. And my release startegy should get executed after considering the amount with taxes.
    After debugging a lot I have found that the PO_AMOUNT can be obtained from the Internal Table TKOMV. In this it is stored at TKOMV-KAWRT. I can get the TKOMV values at the point where this user-exit is called.
    i.e. in program MM06EF0S_STRATEGIE_CEKKO    in the last you can see the call to user exit wriiten as below
        CALL FUNCTION 'EXIT_SAPLEBND_002'
          EXPORTING
            i_cekko  = cekko
            it_bekpo = pot[]
            it_beket = ett[]
            it_ekknu = knt[]
          IMPORTING
            e_cekko  = cekko.
    If I put the debugger on  CALL FUNCTION 'EXIT_SAPLEBND_002 and go to TABLES tab and enter there 'TKOMV'
    I can get the table and it's values. However If I press F5 then I go inside my exit code i.e. ZXM06U22. But Here I Don't Get access to the internal table TKOMV , which is  accessible from main calling program MM06EF0S_STRATEGIE_CEKKO.
    My job can be done if I get value from TKOMV inside the code of ZXM06U22. However to get that code in ZXM06U22 what right now I can do is to get the access key of MM06EF0S_STRATEGIE_CEKKO and write code before exit Call and pass the ZVPA from TKOMV there. However many people here advised me not to do that since it is a STANDARD CODE.
    So I would like to know your suggestion in this regard.
    Amol

    Hi All
    Thanks for your quick replies. I wrote code below in my exit. But I am getting Compilation error at following line ( In Bold )
    DATA: l_name(50).
    DATA: my_tkomv TYPE TABLE OF komv.
    <b>FIELD-SYMBOLS: <tkomv> type standard table of komv.</b>l_name = '(SAPMMM06E)TKOMV[]'.
    ASSIGN (l_name) TO <tkomv>.
    my_tkomv[] = <tkomv>.
    The error is below
         "," expected after "TABLE".          
    I don't know whether TYPE TABLE OF is correct or not.
    I will be glad If I get some further help.
    Amol

  • Authorization object to lock the SOLAR 02 config structure

    hi guys ,
    does anyone know of a authorization object which can help lock the configuration structure in SOLAR02,
    Users should be able to change the structure ,rename it etc  but they shouldnt be able to delete any nodes in the Config Structure .
    Regards
    Praveen

    Dear Praveen,
    Have you checked the [Security Guide|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000718044&_OBJECT=011000358700000370562009E]?
    The auhtorization object should be described in that document.
    Regards,
    Paul

  • How to modify internal table with new value after data processing

    Hi,
    My code is as below:
    LOOP AT i_raw INTO wa_raw.
       IF  ( wa_raw-/BIC/ZOUASCLS = 'BA') OR ( wa_raw-/BIC/ZOUASCLS = 'CO' ) .
          LOOP AT i_crrs INTO wa_crrs.
            IF wa_raw-/BIC/ZOUIDCIF = wa_crrs-ZCBGCIFNO.
              wa_raw-/BIC/ZOUINDAP = '03'.
            ELSE.
              wa_raw-/BIC/ZOUINDAP = '02'.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    Initially column /BIC/ZOUINDAP is empty and I want to populate either value '02' or '03' as shown above.
    How do I insert those values into each i_raw records ?
    Pls help!

    Hello,
    try this code:
    IF ( i_raw-/BIC/ZOUASCLS = 'BA') OR ( i_raw-/BIC/ZOUASCLS = 'CO' ) .
    LOOP AT i_raw INTO wa_raw.
    WHERE wa_raw-/BIC/ZOUIDCIF = i_crrs-ZCBGCIFNO.
    IF SY-SUBRC = 0.
    wa_raw-/BIC/ZOUINDAP = '03'.
    ELSE.
    wa_raw-/BIC/ZOUINDAP = '02'.
    APPEND wa_raw INTO i_raw.
    ENDLOOP.
    ELSE.
    i_raw-/BIC/ZOUINDAP = ' '.
    ENDIF.
    Hope it helps.
    Best regards.
    Simone.

  • Unable to modify Direct Access config

    I've been playing around with setting up Direct Access with Server 2012.  I made a change to allow Windows 7 clients and selected an intermediate certificate authority.  I think I picked an incorrect intermediate CA...but now I cannot change the
    configuration.  When I launch the Remote Access Management Console, I get the message "Settings for the server myserver.mydomain.local cannot be retrieved.  The cmdlet did not run as expected."  I cannot modify any settings to fix the problem
    and cannot remove the role since the configuration exists.  Seems like it is just stuck.  Suggestions?
    Rob
    Rob

    From the list returned from the first command just use the thumbprint of the one you want. For example if you wanted the MS Root (which you won't in practice) the first couple of commands would be as follows:
    PS P:\> Get-ChildItem Cert:\localMachine\Root
    Directory: Microsoft.PowerShell.Security\Certificate::localMachine\Root
    Thumbprint Subject
    CDD4EEAE6000AC7F40C3802C171E30148030C072 CN=Microsoft Root Certificate Authority, DC=microsoft, DC=com
    BE36A4562FB2EE05DBB3D32323ADF445084ED656 CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte, L=Durbanvill...
    PS P:\> $certificate = (Get-ChildItem Cert:\LocalMachine\Root\CDD4EEAE6000AC7F40C3802C171E30148030C072)
    PS P:\>
    Douks

  • I get this from CiscoWorks /opt/CSCOpx/bin/perl "ERROR: MAXENV value reached, fix this perl wrapper". How do I fix this?

    I am running this on Solaris 10 Sparc.

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • Modifying a constructor against negative values?

    how would i set it so that this value:
    public int GetYearReleased()
    return yearReleased;
    cannot be passed a negative value? it just needs to make sure that the value passed through is not negative?

    It really depends on the logic you want to use for your program.
    You can add an if statement to check if it is negative...
    if(yearReleased < 0){
       //do something because the value is negative
    }

  • MacBook not working when modified from stock config

    I have an Aluminum MacBook that came with 2 gigs of ram and a 250 gig hard drive. When trying to upgrade either the ram or the hard drive, the machine has problems booting and regardless of what I try, it will not accept Snow Leopard. SL will install but it locks on restarts at the spinning wheel. I have tried two different brands of memory...Mushkin and Crucial, both with the same result. The replacement HD was a 500GB Seagate. The whole thing is very bizarre. The only configuration that seems usable is the stock ram and hard drive and Running 10.5. The AHT tests all pass all hardware with flying colors with both sets of replacement ram installed, even on the extended tests. I'm at my wits end...I should be able to upgrade this machine, am I correct? If anyone has any advice I'd greatly appreciate it...I haven't had a machine fight me this hard in a long time.

    Thanks GfulDedFan. I did try one item at a time after the "do everything" method failed. It fails with the new ram, new hd, or both installed, regardless of combination with the stock ram and HD. All components (new ram, new HD) pass all AHT scans. Two separate ram manufacturers as well. It's not rocket science, which is why this confuses me so much. If it was a bad LB I could move on, but the hardware tests report no errors. It's very frustrating! It's only happy when the stock components are in, but then it fails to take Snow Leopard. I've never seen this kind of behavior before...but sadly its a few months out of warranty (no applecare)

Maybe you are looking for

  • FTP server in EBI

    Hi all, I need to get a jpg image from a PDA, I never do it. And the folowing message appear: "==>  what is the specific message for which Fieldlink user id that should have the below mentioned JPG attached ? Please note that the JPG are not "in" SAP

  • Re : Most commonly asked question in intervew As an Oracle DBA

    Hi All, Can U guys send me popular Question asked by an interviewer for Oracle DBA. Can u send the questions asked to you for DBA Thanks Avishesh

  • I need a full page bleed for an image!

    I've tried just about everything to figure this one out, but I'm starting to suspect the feature is just not available. I'm working on a book and will self publish it, so I need to put the illustrations into the body of the work. Which isn't hard to

  • Large memory size

    i created an application that uses 35 MB of memory using the fianal release J2SE 1.4.0 i'm using swing & JAXP "DOM" to parse and save a 25KB xml file. my question is: how can i analyze the memory of my program, in terms of JVM & Application & Objects

  • I am new to illustrator. Please help me out with this.

    I am totally confused about how is it done I created a stripes pattern but when applying it to the font it overlaps at the closing edge of the font. Please help my if there is a tutorial for doing this.