Package compiling problem with a filename

The pkg contains a select statement with 5 tables in the "from" clause. The statement works fine in a script but when I attempt to compile it as a proc, I get a "PLS-00201: identifier 'TATTLE.BI_LO_CART' must be declared" error. My schema has access to the tattle schema and, as I say, it runs fine as a script. Help?

If you have been granted permission to the TATTLE schema through a ROLE than you will NOT be able to reference that table in a stored procedure.
You will need to be directly granted that permission from TATTLE or have TATTLE create a public synonym and grant permission to public.
I do not fully under stand the reason why but I think it has to do with Security.
Ed

Similar Messages

  • Compilation problem with templates while using option -m64

    Hi,
    I have compilation problem with template while using option -m64.
    No problem while using option -m32.
    @ uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    $ CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    Here is some C++ program
    ############# foo5.cpp #############
    template <typename T, T N, unsigned long S = sizeof(T) * 8>
    struct static_number_of_ones
    static const T m_value = static_number_of_ones<T, N, S - 1>::m_value >> 1;
    static const unsigned long m_count = static_number_of_ones<T, N, S - 1>::m_count + (static_number_of_ones<T, N, S - 1>::m_value & 0x1);
    template <typename T, T N>
    struct static_number_of_ones<T, N, 0>
    static const T m_value = N;
    static const unsigned long m_count = 0;
    template <typename T, T N>
    struct static_is_power_of_2
    static const bool m_result = (static_number_of_ones<T,N>::m_count == 1);
    template <unsigned long N>
    struct static_number_is_power_of_2
    static const bool m_result = (static_number_of_ones<unsigned long, N>::m_count == 1);
    int main(int argc)
    int ret = 0;
    if (argc > 1)
    ret += static_is_power_of_2<unsigned short, 16>::m_result;
    ret += static_is_power_of_2<unsigned int, 16>::m_result;
    ret += static_is_power_of_2<unsigned long, 16>::m_result;
    ret += static_number_is_power_of_2<16>::m_result;
    else
    ret += static_is_power_of_2<unsigned short, 17>::m_result;
    ret += static_is_power_of_2<unsigned int, 17>::m_result;
    ret += static_is_power_of_2<unsigned long, 17>::m_result;
    ret += static_number_is_power_of_2<17>::m_result;
    return ret;
    Compiation:
    @ CC -m32 foo5.cpp
    // No problem
    @ CC -m64 foo5.cpp
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 36: Where: While specializing "static_is_power_of_2<unsigned long, 16>".
    "foo5.cpp", line 36: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 37: Where: While specializing "static_number_is_power_of_2<16>".
    "foo5.cpp", line 37: Where: Specialized in non-template code.
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 43: Where: While specializing "static_is_power_of_2<unsigned long, 17>".
    "foo5.cpp", line 43: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 44: Where: While specializing "static_number_is_power_of_2<17>".
    "foo5.cpp", line 44: Where: Specialized in non-template code.
    4 Error(s) detected.
    Predefined macro:
    @ CC -m32 -xdumpmacros=defs foo5.cpp | & tee log32
    @ CC -m64 -xdumpmacros=defs foo5.cpp | & tee log64
    @ diff log32 log64
    7c7
    < #define __TIME__ "09:24:58"
    #define __TIME__ "09:25:38"20c20
    < #define __sparcv8plus 1
    #define __sparcv9 1[snipped]
    =========================
    What is wrong?
    Thanks,
    Alex Vinokur

    Bug 6749491 has been filed for this problem. It will be visible at [http://bugs.sun.com] in a day or two.
    If you have a service contract with Sun, you can ask to have this bug's priority raised, and get a pre-release version of a compiler patch that fixes the problem.
    Otherwise, you can check for new patches from time to time at
    [http://developers.sun.com/sunstudio/downloads/patches/]
    and see whether this bug is listed as fixed.

  • [svn:fx-trunk] 11707: Fix incremental compilation problem with styles.

    Revision: 11707
    Author:   [email protected]
    Date:     2009-11-12 10:52:49 -0800 (Thu, 12 Nov 2009)
    Log Message:
    Fix incremental compilation problem with styles.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-24173
    Reviewer: Paul
    Tests run: checkintests
    Is noteworthy for integration: No.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24173
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • Jbuilder compiler problem with xml DOM - please help.

    my problem is that I am using jbuilder 4 professional to compile/run my code.
    However I want to use the XML DOM but jbuilder does not appear to support the necessary packages for use with XML.
    How can I get round this.
    Can I compile instead from the command line - I am using JDK1.4 which supports the java xml packages necessary. Or is there a way of adding the necessary files to my project?
    thanks, B

    Add the required jar files to your project properties->classpath in JBuilder
    The only problem is that. I have been using JBuilder without any problems.

  • Compile problem with javax.sql

    I have upgraded to sdk 1.4.2 and tried to compile my code. I am getting an error on import javax.sql.* where I am getting the message "Package does not exist" error. As the result of this any class that is in this package gets an error as well. I am using ant to do the build. It does not seem to have a problem with the other import files and some of my code do compile fine except for this one that contains javax.sql.*. Thanks for your help.

    Are you sure that the javax.sql.* stuff exists in your javac classpath? It seems not to be there. Look for j2ee.jar (from Sun J2EE SDK), or something like that (something like it probably came with your app server).
    Mike

  • Package compilation problem in WinXP

    I am creating a simple program to throw a dice but have some problem with packages.
    I have 2 files, in the directory, C:\Dgame\Dgame\Dice.java and C:\Dgame\Dgame\Dealer.java .
    I packaged both of them into a package called Dgame (using "package Dgame;" at the first line of the file).
    The Dealer class creates a few NTDice instances. I tried to compile both a whole load of errors came out.
    Something like:
    cannot resolve symbol
    class NTDice
    location Dgame.Dealer
    Dice A = new Dice(1,2,3,4,5,6);
    any ideas on how to solve this problem will be greatly appreciated =)
    nb:i did not set any classpath settings

    Look up your error message here
    http://www.mindprod.com/errormessages.html and review
    the possible causes.
    If you still have problems post relevant portions of
    the code for review.Heres the code:
    I changed the file names abit. Dice == NTDice
    Any idea on how to solve the problem?
    Dealer.java
    package Dgame;
    import Dgame.*;
    import java.util.*;
    public class Dealer{
    //set the values for the dice
    NTDice A = NTDice( "A", 5, 6, 7, 38, 39, 40);
    NTDice.java
    package Dgame;
    import java.util.*;
    public class NTDice{
    //data members
    private String name;
    private ArrayList faceValues = new ArrayList();
    private Integer throwResult;
    static private int NTDiceCounter=0;
    //constructor
    public NTDice(String aName, Integer f1, Integer f2, Integer f3, Integer f4, Integer f5, Integer f6){
    name = aName;
    faceValues.add(f1);
    faceValues.add(f2);
    faceValues.add(f3);
    faceValues.add(f4);
    faceValues.add(f5);
    faceValues.add(f6);
    ++NTDiceCounter;
    public void roll(){
    ArrayList theDice = new ArrayList(faceValues);
    Collections.shuffle(theDice);
    setThrowResult(theDice);
    public void setThrowResult(ArrayList aDice){
    throwResult = (Integer) aDice.get(0);
    public Integer getThrowResult(){
    return throwResult;

  • Compiler Problem with double. Need Help

    Hello,
    I am having a problem with WorkShop Compilers 5.0 98/12/15 C++ 5.0. There is a problem with declaring double inside a nested class which is nested 3 times. Below is the code what shows the problem. If you have Workshop 5.0 please cut and paste the program below and do a simple cc <filename> compile. Run it and you should see the problem.
    ---------------------------cut----------------------------
    #include <stdio.h>
    class myclass3
    public:
    myclass3() {}
    ~myclass3() {}
    short aaa;
    int bbb;
    double ccc;
    char ddd;
    class myclass2
    public:
    myclass2() {}
    ~myclass2() {}
    short aaa;
    int bbb;
    double ccc;
    char ddd;
    myclass3 m_myclass3[50];
    class myclass
    public:
    myclass() {}
    ~myclass() {}
    int a;
    char b;
    float c;
    short aa;
    double bb;
    myclass2 m_myclass2;
    int main()
    myclass m_myclass;
    m_myclass.m_myclass2.m_myclass3[1].ccc = 11111.1111;
    printf("<%f>\n",m_myclass.m_myclass2.m_myclass3[1].ccc);
    return 0;
    ---------------------------cut----------------------------
    The result I get on my machine is
    <-3100025845628125216032986949222617505819484589120973946744108811398502585541238252995581839380933130321904775653231251529249013141831370896782391931299571941247444654355877793201472387703486841059940760873131775588361546584668766208.000000>
    This is definitly incorrect. Does anyone have this problem? Is this a compiler bug? If you figure it out please email me at [email protected]
    Thanks
    Salman Ahmad

    Salman - I tested your program on an up to date version of the C++
    5.0 compiler and received the following results:
    a.out<11111.111100>
    That is what I would expect...
    Have you installed all of the patches for the 5.0 compiler? It is
    possible that this problem was found and fixed.
    The current basic patchid's for CC 5.0 on sparc are: 107311-12, 107357-11, and the libC patch for your version of the OS.

  • Package execution problem with SQLSERVERAGENT

    Hello,
    I'm having a problem with the execution of SSIS packages: I created locally a package with SQL Server Data Tools, then I deployed it on my server in the SSISDB database. Then I created a job to execute periodically this package with SQL Server Agent. The
    package works fine and does everything I want, but I always get a failed notification. In the global view of the execution I can see:
    Result: "failed"
    Package name: "Package.dtsx"
    Task name: "Package"
    Execution access path: "\Package"
    Every other task returns a success and their execution access path is a subfolder of "\Package". I tried everything I found on the web, check the "Runtime 32bits" box, create a "Job Account" user to execute the package via a
    "Job Account Proxy", modify the ProtectionLevel of the package to "DontSaveSensitive", give the "Job Account" user full rights on everything, nothing works.
    Do you have an idea of what my problem is and how to solve it?
    I must precise that all my packages do the same thing: I have a loop on all the csv files in a folder that for each file loads the contents of the file in my database and the delete the file. I observed that the error message do not appear when there is
    no file in the folder when the package executes.
    Thanks in advance.

    Not sure what error message, is the one "est introuvable.
    Cette erreur est retournée par la collection Connections lorsque l'élément de connexion spécifique est introuvable"?
    So, here is in short: the ForEach Loop once in its beginning of operation "senses" the files currently present in the working folder. If a new file arrives after this stage, it will not see it.
    In your case it seems that the ForEach "saw" a file at the beginning, but it was gone at the time the processing wanted it for execution.
    Like many above indicated, the common practice, call
    it elegant or not is to indeed move the files to a different directory (working folder). This is done to avoid collisions with some other activity in that folder.
    Furthermore, you can have all the files deleted using a ForEach against the working folder as say in
    http://beyondrelational.com/modules/2/blogs/88/posts/10178/ssis-delete-files-from-specified-folder-using-file-system-task-in-sql-server.aspx And there is no need to delete the working folder
    itself.
    The job is run in SQL Server's Agent
    need to be set to run using a domain proxy account as it needs write access to the file system.
    Arthur My Blog

  • Package permissions problem with Snow Leopard

    Under Leopard, changing permissions at the Get Info window for a package file also changes the package contents to the same permission settings. This no longer works in Snow Leopard. For example, I have tried adding another user name with read & write privileges. The package file displays the correct setting, but all the contents of the package have the newly added user as read only. This is causing me problems with a virtual machine I want to share with other users of my computer. I also tested it with iWork (Pages) packages - in Leopard the package contents keep the r&w setting for the new user, but not in Snow Leopard. Note that for package files, there is no option to apply to contents, as is the case for folders, but it should do it automatically.
    I would be grateful if someone could verify this bug. Also, I intend to use chmod -R at the terminal, but I am not sure how to use it to add a specific user with r&w privileges, so any help appreciated.
    Many thanks
    George

    I don't believe it's ever worked you the way you describe in leopard. I just tried it on my leopard machine with an application package and changing permissions to the package itself did nothing to its contents.
    you can change permissions recursively from terminal but it's easier from GUI.
    make a folder and put the package in that folder. *DO NOT* use system created folders for this. go to the permissions panel for the folder and set permissions as you like. then click on the "gears" action button at the bottom of the "get info" popup and select "apply to enclosed items". This will change permissions recursively on everything in that folder.
    NOTE: as I said, never do it with system created folders as they often have hidden ACLs and doing so will propagate those ACLs inside.
    to give a particular user read+write right to the whole package from terminal run the following terminal command
    chmod -R +a "username allow list,addfile,search,add_subdirectory,deletechild,readattr,writeattr,
    readextattr,writeextattr,readsecurity" /path/to/package

  • Package compilation problem

    Hi,
    I'm presently trying to learn packages in java. I have two example classes I want to compile to learn to use packages. One is Dice class and on is ThrowDice. ThrowDice uses Dice by creating two Dice objects. If i put them in the same directory and compile them without any package declaration they compile fine. If I put ThrowDice into the directory home/antlaw/java/Applications with "import Parsons.Dice" and Dice into home/antlaw/java/Applications/Parsons with package declaration "package Parsons" they compile and work fine. However, because I'm wanting to learn how to compile packages I've experimented a bit, and found that 1) if i declare ThrowDice as a package also of "Applications" (i.e. the directory it's in) by adding "package Applications" the two classes compiles but won't run (throws a load of exceptions) 2) if I create another directory "Apps" and move ThrowDice into this subdirectory (i.e. home/antlaw/java/Apps) and make the following package and import declaration changes to both Dice and ThrowDice classes
    Dice = "package Applications.Parsons"
    ThrowDice = "package Apps" and "import Applications.Parsons.Dice"
    ThrowDice won't compile as it gives the following errors:
    ThrowDice.java:2: cannot resolve symbol
    symbol : class Dice
    location: package Parsons
    import Applications.Parsons.Dice;
    ^
    ThrowDice.java:8: cannot resolve symbol
    symbol : class Dice
    location: class Apps.ThrowDice
    Dice dice1 = new Dice();
    ^
    ThrowDice.java:8: cannot resolve symbol
    symbol : class Dice
    location: class Apps.ThrowDice
    Dice dice1 = new Dice();
    ^
    ThrowDice.java:9: cannot resolve symbol
    symbol : class Dice
    location: class Apps.ThrowDice
    Dice dice2 = new Dice();
    ^
    ThrowDice.java:9: cannot resolve symbol
    symbol : class Dice
    location: class Apps.ThrowDice
    Dice dice2 = new Dice();
    5 errors
    indicating that it cannot find the Dice class.
    In my home profile (I'm a linux user Suse 7.3) I've declared the classpath as follows:
    export PATH=/home/antlaw/java:$PATH
    I'm a bit "stumped" with what's wrong i.e. am i using packages incorrectly or is there something wrong with my classpath? Any help/advice would be gratefully received.
    Cheers -- Tony.

    Hi YATArchivist,
    Firstly, thanks for the response - it's appreciated :-)
    Secondly, I've put Dice (and it's package directory) into the following directory :
    home/antlaw/java/Parsons
    so now both package directories "Parsons" (with Dice class) and "Applications" (with ThrowDice class) are subdirectories of home/antlaw/java
    Thirdly, I've tried all of your suggestions and there is a big improvement as both ThrowDice and Dice now compile (i don't know for sure what's improved it - but I took your advice and have now inserted "export CLASSPATH=/home/antlaw/java:$CLASSPATH" and i'm now thinking this was at fault).
    However, I'm still not able to run ThrowDice (which calls Dice) as every time I do I get the following exception being thrown:
    antlaw@linux:~/java> java ThrowDice
    Exception in thread "main" java.lang.NoClassDefFoundError: ThrowDice
    if I try out your various compile options I get the same "NoClassDefFoundError".
    if I cd "Applications" and go into the same directory as ThrowDice and try and compile there I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: ThrowDice (wrong name: Applications/ThrowDice)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    Here's a copy of both the java classes - in case there's something wrong here I'm not aware of
    First Dice (home/antlaw/java/Parsons)
    package Parsons;
    public class Dice
         // class attribute
         private int dice_value;
         // public methods
         public void throwDice()
              double random_number = Math.random();
              random_number *= 6;
              random_number++;
              dice_value = (int) random_number;
         public int getDiceValue()
              return dice_value;
    Here ThrowDice class
    package Applications;
    import Parsons.Dice;
    public class ThrowDice
         public static void main(String args[])
              Dice dice1 = new Dice();
              Dice dice2 = new Dice();
              dice1.throwDice();
              dice2.throwDice();
              int dice1_score = dice1.getDiceValue();
              int dice2_score = dice2.getDiceValue();
              int total_score = dice1_score + dice2_score;
              System.out.println("The first dice shows " + dice1_score);
              System.out.println("The second dice shows " + dice2_score);
              System.out.println("Your total score is " + total_score);
    Any ideas why this is happening? - thanks for your help so far too.
    Cheers -- Tony.

  • JSP Compilation Problems With JSTL tags

    My JSP worked well when I used JSP expressions, scriptlets, .... I tried to use JSTL instead and encountered some compilation problems. I am unable to see my mistakes and need help:
    Problme #1:
    int offset = 0;
    try
       <c:set var="offset" value="${requestScope.offset}" />
    catch ( Exception e )
        // do nothing
    }The above code has two compilation errors:
    Generated servlet error:
    [javac] Compiling 1 source file
    illegal start of expression
    <c:set var="offset" value="${requestScope.offset}" />
    ^
    Generated servlet error:
    ';' expected
    <c:set var="offset" value="${requestScope.offset}" />
    ^
    Problem #2:
    <c:set var="threadBean" value="${requestScope.ThreadBean}" />
    int threadID_int = ParamUtil.getParameterInt( request, "thread" );
    <c:if test="${threadBean.threadID} != threadID_int">
        throw new AssertionException( "The two threadID are not the same." );
    </c:if>Generated servlet error:
    illegal start of expression
    <c:if test="${threadBean.threadID != threadID_int}">
    ^

    I have deleted the Java code around the JSTL tags. Now, what is wrong with this <c:if test=" ... "> tag? It seems that I have problems to get JSTL tags right.
    It seems that I have problems to get JSTL tags right....
    <c:if test="${attachBean.attachMimeType.startsWith('image/')}">
         <html:img page="getattachment?attach=<c:out value='${attachBean.attachID}' />" alt="<c:out value='${attachBean.attachFilename}' />" title="<c:out value='${attachBean.attachFilename}' />" border="0" />
    </c:if>error message:
    74: tag = 'if' / attribute = 'test': An error occurred while parsing custom action attribute "test" with value "${attachBean.attachMimeType.startsWith('image/')}": Encountered "(", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||"]

  • Package compile faile with error ORA-03113: end-of-file on communication..

    Hi There,
    We're trying to compile a package and we're getting this error that we're not sure how to debug and/or tackle. Your assistance is highly appreciated.
    create or replace
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 4252
    Session ID: 1149 Serial number: 5910
    The package use to compile without any issues; also we have it working in other environments. We can't see any differences at this stage.
    Oracle Version:11.2.0.1 x64
    OS: Windows 2008 Server R2
    Thanks in advance for your help.
    Thanks

    I have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
    Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 7040
    Session ID: 388 Serial number: 9039
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE

  • Compiling problem with 1.4

    my code is compiling well in 1.3 and the same is giving error if i compile with 1.4 compiler. pls help me out. here is the sample code which compiles fine with 1.3 and gives error in 1.4.
    String lv_str_AdvPay = (String).valueOf(lv_db_AdvPay);
    -atthuluri

    my code is compiling well in 1.3 and the same is
    giving error if i compile with 1.4 compiler. pls help
    me out. here is the sample code which compiles fine
    with 1.3 and gives error in 1.4.
    String lv_str_AdvPay =
    (String).valueOf(lv_db_AdvPay);What's the error message? And what's the context of the code - what type is lv_db_AdvPay?
    Regards,
    Bhaveet

  • Problem with long filenames in packaging processes

    Hi,
    I have a quick question regarding packaging processes of Thinapps. I'm sure others have the same issues too, but it is not much info on it on the interweb.
    certain application have alot of subfolders in program files etc. when the developers made the application they did not go over the 255 NTFS filename limit. but when working with the virtual filesystem we get additional subfolders. This makes it difficult to move project folders etc.
    Does any have some fix on this issue other than using subst command everytime for each folder?

    We use Thinapp 5.1.
    We already change the location but, but when storing the project folder on a share we cant avoid getting additional sub directories. The developers for all applications take this into account when they get the same problem in their development environments.
    If Thinapp had not used ANSI codes that has a limit of 260 path length. then I dont think that it would an issue. Support case?
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/fbad33ee-b10b-4ab8-9370-a2af017ca46b/maximum-folders-in-a-folder-in-ntfs

  • Compilation problem with GCC 3.3.2 in solaris 10

    Hi,
    Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
    on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
    usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
    The PATH and LD_LIBRAY_PATH are like this
    # echo $PATH
    /usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
    in:/usr/man:/usr/include/
    # echo $LD_LIBRARY_PATH
    /usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
    t/lib
    Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
    # make
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    ### Ignore warnings about shift count negative/too large on line 36
    gcc -O -ldl byteorder.c -o byteorder
    byteorder.c: In function `main':
    byteorder.c:36: warning: left shift count >= width of type
    byteorder.c:25: warning: return type of `main' is not `int'
    (./byteorder; cat ./ntohl.h) > ../include/byteorder.h
    gcc -O -ldl types.c -o types
    types.c: In function `main':
    types.c:29: warning: return type of `main' is not `int'
    /bin/sh ./types.sh "gcc -E" > ../include/inode.h
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /bin/sh help.sh help.txt > help.c
    gcc -O -c config.parse.c
    gcc -O -c main.c
    main.c:704:2: warning: no newline at end of file
    gcc -O -c list.c
    gcc -O -c ignorevec.c
    gcc -O -c dbase.build.c
    gcc -O -c utils.c
    gcc -O -c preen.c
    gcc -O -c preen.interp.c
    gcc -O -c preen.report.c
    gcc -O -c nullsig.c
    gcc -O -c config.prim.c
    gcc -O -c dbase.update.c
    lex config.pre.l
    mv lex.yy.c config.lex.c
    yacc config.pre.y
    sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
    rm y.tab.c
    gcc -O -c config.pre.c
    gcc -O -c help.c
    (cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md5.c
    gcc -O -I. -I.. -c md5wrapper.c
    (cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c snefru.c
    (cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc32.c
    (cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc.c
    (cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md4.c
    gcc -O -I. -I.. -c md4wrapper.c
    (cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md2wrapper.c
    gcc -O -I. -I.. -c md2.c
    (cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c sha.c
    gcc -O -I. -I.. -c shawrapper.c
    (cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c haval.c
    gcc -O -I. -I.. -c havalwrapper.c
    gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
    utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
    ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
    nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
    /md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
    ./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
    s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
    igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
    o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    nullsig.o utils.o
    I think it is not showing any problem. But when I try to make install it is throwing some
    error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
    Can any one help me what could be the reason for this.
    # make install
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /usr/local/bin/install -d /usr/local/bin
    sh: /usr/local/bin/install: not found
    *** Error code 1
    make: Fatal error: Command failed for target `install'
    Sanjeev

    Unable to Deploy Toplink-EJB to Standalone OC4J (4605867)
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/early_access_addendum.htm#dep1

Maybe you are looking for

  • How can I delete all Contact and Calendar entries on my iPhone so I re-sync from my PC

    My Contacts and Calendar are messed-up on my iPhone with literally hundreds of duplicate and erroneous entries.  The data is okay on my PC so I wish to clear the IPhone entries completely and then use Sync again to download from my PC.  How can I cle

  • Video import from Canon A640 now hanging iPhoto

    Hello, I used to be able to import pictures AND video AVI files from my Canon A640 camera, but since I don't do video that often, at some point (I'm not sure exactly when) when I import into the latest iPhoto it just hangs with the beach ball. If I m

  • Problem with ALV search help Dictionary Search Help

    Hello experts I have a problem with ALV search help. I use DDIC table ZXXX with text table ZXXX_T. I created DDIC search help form table ZXXX. In my WD application, in context on COMPONENTCONTROLLER i set on attribute: 'Input help mode' as 'Dictionar

  • What folder is the standard Hard Drive icon kept in?

    My HD icon has changed into the Time Machine icon. I want the old icon back. Anybody know where I can find it?

  • Fields to be mapped for Idoc/Xi interface

    For customer collaboration we need to map the Idoc/Xi interface for following things In FS what field should be mentioned for following      u2022     Integration SNC with R/3: u2022     ORDERS (PI) (Order Creation) u2022     ORDERSP (PI) (Order Conf