Argc!! -- 45 Classes won't compile --- #$^#&^*!!!

Hello,
Last summer I wrote 45 classes for a program, I developed in Unix and just used emacs for text editing and scripts to compile.
Now this summer I am trying to start this back up. The catch is I have to use Netbeans 3.6.
It's all nice and pretty, but it won't even associate classes and compile them. It always just says " package Jama does not exist" (Along with complaining about every other package).
My main directory contains a folder "SOAP" (my code), a folder "Jama" (some matrix code written by NIST I think) and "META-INF" from the manifest file I put in the jar file last summer.
The problem is how I set it up because I can still compile the code with old scripts and run it.
What am I doing wrong?
Where can I find help on my specific problem?
Is Netbeans 3.6 a worthless pile of junk?
Is there a better forum to post this on?
THANKS IN ADVANCE,
ablivian23

I found the problem --
I had placed the jar files into a folder named "src" NetBeans 3.6 decided to redo all of my package statements like:
package src.Jama.util; //adding src before -- stupid thingand
package src.Jama;and
package src.SOAP;This is why program shouldn't decide what's best for you w/o asking -- shesh.
Thanks
ablivian23

Similar Messages

  • Code won't compile - array

    This is my first in depth attempt to understand the code for enabling arrays. I THINK I have a fairly simple problem, but the code won't compile and NetBeans is telling me I'm missing a symbol &/or class, which I just don't get. Here is the code for the Inventory1 module as well as the main module - what am I not seeing?
    Inventory1 module
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory1
      //declare and initialize variables
      int[] itemNumber = new int [5];
      String[] productName = new String[5];
      int[] stockAmount = new int[5];
      double[] productCost = new double[5];
      double[] totalValue = new double[5];
      int i;
      //int i = 0;
      //initialize scanner
      Scanner sc = new Scanner(System.in);
      Inventory1 info = new Inventory1
    public void inventoryInput()
      while (int i = 0; i < 5; i++)
         out.println("Please enter item number: "); //prompt - item number
         info.itemNumber[i] = sc.nextInt(); // input
         out.println( "Enter product name/description: "); //prompt - product name
         info.productName[i] = sc.nextLine(); // input
         out.println("Quantity in stock: "); // prompt - quantity
         int temp = sc.nextInt(); // capture temp number to verify
         if( temp <=0 )
         { // ensure stock amount is positive number
             out.println( "Inventory numbers must be positive. Please" +
                 "enter a correct value." ); // prompt for correct #
             temp = sc.nextInt(); // exit if statement
         else info.stockAmount[i] = temp; // input
         out.println("What is the product cost for each unit? "); // prompt - cost
         double temp2 = sc.nextDouble();
         if( temp <=0 )
             out.println( "Product cost must be a positive dollar " +
                  "amount. Please enter correct product cost." );
             temp2 = sc.nextDouble();
         else info.productCost[i] = temp2;
      out.println( "We hope this inventory program was helpful. Thank you for " +
          "using our program." );
      } // end method inventoryInput   
    }main module
    public class Main {
      public static void main(String[] args) { //start main method
            Inventory1 currentInventory = new Inventory1(); //call Inventory class
            currentInventory.inventoryInput();
    }

    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\build\classes
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:28: '(' or '[' expected
    public void inventoryInput()
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: '.class' expected
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: illegal start of type
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: not a statement
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: ';' expected
    while (int i = 0; i < 5; i++)
    5 errors
    BUILD FAILED (total time: 0 seconds)

  • Migrate Application Jdeveloper 11.1.1.0.2 to 11.1.2.2.0 - won´t compile

    Hi,
    I'm trying to migrate my application from JDev 11.1.1.0.2 to 11.1.2.2.0 but even after Jdev migrate to new version, the application won't compile correct. Seems that some classes wont recognize dependecies from other package. If i have a class in Web that import a class from Model, in compile time the console give me this kind a error: "package 'xxx.yyy.www' does not exist". If i open any class that gave me this error there isn't any warning or red line showing errors, in the line of the import i can use Ctrl + right click and go to the class without problems. The dependecies between projects (web, model and ejb) are correct. I dont know what is, any help will be appreciated.
    Thanks in advance,
    Alexandre Rocco.

    Hi
    I am facing the same problem when migrating from JDev 11.1.1.4.0 to JDev 11.1.2.2.0. Any idea?
    Regards,
    Ferez

  • JDeveloper 10.1.2.1 won't compile my code?

    Hi,
    I'm pretty new to JDeveloper, and Java in general.
    I've just downloaded and tried to run JDeveloper 10g (10.1.2.1.0, Build 1913) and I've having problems.
    When the application loads, I get a dialog message titled "Java Virtual Machine Launcher", with the message "Could not find the main class. Program will exit"
    JDeveloper then finishes loading.
    I've knocked up a quick JSP page, but it won't compile. I get the message "Internal compilation error, terminated with a fatal exception."
    Also, I've notived that if I go to Project Properties and try to look at Profiles->Development->Libraries, JDeveloper throws a NullPointerException.
    I've got JDeveloper 10.1.3 on my machine, and it has none of these problems?
    After looking around on the web, I'm thinking it might be a CLASS_PATH problem, but how can I confirm this, and how can I fix it?
    Any ideas on what is wrong would be appreciated?
    Thanks
    Thom

    Thanks thahn.
    That fixed the "Java Virtual Machine Launcher" error - I would never have thought spaces in the directory name could have caused this problem!
    The other problems remain though, so I still can't compile any code.

  • FtpClient client.delete("file") won't compile?

    Hello Fine People,
    I have this ftp program that is working, except for the delete command:
    import sun.net.ftp.*;
    import sun.net.*;
    String server = "192.168.0.0";
    String user = "me";
    String passwd = "mypassword";
    FtpClient client = new FtpClient();
    client.openServer(server);
    client.login(user, passwd);
    TelnetInputStream tis = null;
    client.binary();
    client.cd("Composites");
    tis = client.list();
    client.get("filename");
    client.delete("filename");
    This is roughly how it is. Without the last line, it compiles and runs fine. But when I add the client.delete line, it won't compile and gives this error:
    ImageTransfer.java:229: cannot resolve symbol
    symbol : method delete (java.lang.String)
    location: class sun.net.ftp.FtpClient
    client.delete("filename");
    Please help!
    - Logan

    Yes. The class you should be importing is, obviously, FTPClient. But don't waste your time trying to compile what is clearly just a code fragment example. The article lists several sources of FTP client software. Once you have chosen one package to evaluate, write your test program using the actual classes from that package, using its API documentation for guidance.

  • Msg.addRecipient(Message.RecipientType.TO,to) - won't compile in program

    I have had success in one of my servlets using JavaMail. I was able to send an email to my inbox to test it out. I proceeded to create another servlet based on that 1st one, and for reasons I can't explain, the servlet won't compile.
    I get this error.
    cannot resolve symbol :
             variable : RecipientType
             location : java.lang.String
                           msg.setRecipient(Message.RecipientType.TO, to); I get the same error when I switch out setRecipient for addRecipient.
    However, through further testing, I've found that not only does my 1st servlet still compile, but I'm also able to run the code from the 2nd servlet, successfully in a JSP page. This is driving me nuts...how could there be a problem compiling? There's no reason why one servlet compiles (with similar if not almost exactly the same code) and the other won't. Plus this runs fine in a JSP page...what's going on??? I've spent hours on this and I can't figure it out...please help, any input is appreciated.
    Here is the JSP page that runs successfully :
    <%@page import="java.io.*"%>
    <%@page import="java.util.Properties"%>
    <%@page import="javax.mail.*"%>
    <%@page import="javax.mail.Message.RecipientType"%>
    <%@page import="javax.mail.internet.*"%>
    <%@page import="javax.servlet.*"%>
    <%@page import="javax.servlet.http.*"%>
    <%@page import="javax.naming.*"%>
    <%@page import="javax.sql.*"%>
    <%@page import="java.sql.*"%>
    <%                         
               Connection conn = null;
               Statement stmt = null;
               ResultSet rs = null;
                  try {                              
                   Context ctx = new InitialContext();
                         if(ctx == null )
                     throw new Exception("Boom - No Context");
                           DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/myDB");     
                      conn = ds.getConnection();
                      stmt = conn.createStatement();                   
                      //get the POP3 and SMTP property values from db
                            rs = stmt.executeQuery("Select Tech_Support_Email, POP3, SMTP from sitewide_info");                                               
                            String hostemailaddress = "";
                            String POP3 = "";  //mail.smtp.host, this one 1st
                            String SMTP = ""; //smtp.stratos.net, this one 2nd
                            if(rs.next()) {
                               hostemailaddress = rs.getString(1);
                               POP3 = rs.getString(2);
                               SMTP = rs.getString(3);
                  // Specify the SMTP Host
                 Properties props = new Properties();                                           
                  //POP3 = mail.smtp.host & SMTP = smtp.stratos.net - must be in this order
                  props.put(POP3, SMTP);
                  // Create a mail session
                  Session ssn = Session.getDefaultInstance(props, null);
                  ssn.setDebug(true);                                            
                  String subject = "Testing out Email";
                  String body = "hello";
                  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  rs = stmt.executeQuery("Select Customer_Name, Email_Address from customer_profiles where "
                                                           +"Customer_Number=1111");
                             String fromName = "";
                             String fromEmail = "";
                             if(rs.next()) {
                                fromName = rs.getString(1);
                                fromEmail = rs.getString(2);
                  InternetAddress from = new InternetAddress(fromEmail,fromName);                                
                  String toName = "Bob";          
                  InternetAddress to = new InternetAddress(hostemailaddress,toName);             
                      // Create the message
                      Message msg = new MimeMessage(ssn);
                      msg.setFrom(from);
                      msg.addRecipient(Message.RecipientType.TO, to);
                      msg.setSubject(subject);
                      msg.setContent(body, "text/html");
                      Transport.send(msg);             
                  }//try
                   catch (MessagingException mex) {                     
                          mex.printStackTrace(); }
                   catch(Exception e) {}
            finally {         
                try {
                  if (rs!=null) rs.close();
                     catch(SQLException e){}             
                  try {
                  if (stmt!=null) stmt.close();
                     catch(SQLException e){}
                  try {
                  if (conn!=null) conn.close();
                     catch(SQLException e){}
            }//finally          
    %>                           
    Here's the servlet that won't compile :
    package testing.servlets.email;
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.Message.RecipientType;
    import javax.mail.internet.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
         public class MessageCenterServlet extends HttpServlet {
              public Connection conn = null;
              public Statement stmt = null;
              public Statement stmt2 = null;
              public ResultSet rs = null;
              public ResultSet rss = null;
              public PrintWriter out = null;
              public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
                   doPost(req,res);
              public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
                  try {               
                        out = res.getWriter();
                        Context ctx = new InitialContext();
                         if(ctx == null )
                     throw new Exception("Boom - No Context");
                           DataSource ds =
                     (DataSource)ctx.lookup(
                        "java:comp/env/jdbc/myDB");     
                      conn = ds.getConnection();
                      stmt = conn.createStatement(); 
                      stmt2 = conn.createStatement();                 
                      HttpSession session = req.getSession();                                                             
                         String Subject = (String)session.getAttribute("Subject");
                         String Message = (String)session.getAttribute("Message");
                         sendAnEmail(rs,stmt,Subject,Message,res);                                     
                        }//try
                      catch (Exception e) { }
                      finally { cleanup(rs,rss,stmt,stmt2,conn); }
              }//post       
             public void cleanup(ResultSet r, ResultSet rs, Statement s, Statement s2, Connection c){
                try {
                  if (r!=null) r.close();
                     catch(SQLException e){}
                  try {
                  if (rs!=null) rs.close();
                     catch(SQLException e){}
                  try {
                  if (s!=null) s.close();
                     catch(SQLException e){}
                  try {
                  if (s2!=null) s2.close();
                     catch(SQLException e){}
                  try {
                  if (c!=null) c.close();
                     catch(SQLException e){}
            }//cleanUp          
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
            public void sendAnEmail(ResultSet rs, Statement stmt, String Subject,String Message, HttpServletResponse res) {          
                 try {               
                      //get the POP3 and SMTP property values from db
                            rs = stmt.executeQuery("Select Tech_Support_Email, POP3, SMTP from sitewide_info");                                               
                            String hostemailaddress = "";
                            String POP3 = "";
                            String SMTP = "";
                            if(rs.next()) {
                               hostemailaddress = rs.getString(1);
                               POP3 = rs.getString(2);
                               SMTP = rs.getString(3);
                  // Specify the SMTP Host
                 Properties props = new Properties();                                                         
                  props.put(POP3, SMTP);
                  // Create a mail session
                  Session ssn = Session.getDefaultInstance(props, null);
                  ssn.setDebug(true);                                            
                  String subject = "Testing out Email";
                  String body = "hello";
                  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  rs = stmt.executeQuery("Select Customer_Name, Email_Address from customer_profiles where "
                                                           +"Customer_Number=1111");
                             String fromName = "";
                             String fromEmail = "";
                             if(rs.next()) {
                                fromName = rs.getString(1);
                                fromEmail = rs.getString(2);
                  InternetAddress from = new InternetAddress(fromDealerEmail,fromDealerName);                    
                String toName = "Bob";                            
                InternetAddress to = new InternetAddress(hostemailaddress,toName);
                      // Create the message
                      Message msg = new MimeMessage(ssn);
                      msg.setFrom(from);
                      msg.setRecipient(Message.RecipientType.TO, to);
                      msg.setSubject(subject);
                      msg.setContent(body, "text/html");
                      Transport.send(msg);             
                  }//try
                   catch (MessagingException mex) {                     
                          mex.printStackTrace(); }
                   catch(Exception e) {}
                 }//end
    }//class              -Love2Java
    Edited by: Love2Java on Mar 11, 2008 9:15 PM

    I have similar problem
    I have the below code in Eclipse and I was able to compile and run it and everything works fine...
    but I have code over in Oracle Jdev and jdev is complaining that "Message.RecipientType.TO" is not found....
    I do have all the jars in the class path.... can't figure out what's wrong
    can some one plz help me out.
    import java.util.Date;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.util.ByteArrayDataSource;
    public void postMail( String recipients, String subject,
    String message , String from) throws MessagingException
    boolean debug = false;
    //Set the host smtp address
    Properties props = new Properties();
    props.put("mail.smtp.host", "server");
    props.put("mail.smtp.auth", "true");
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getDefaultInstance(props, auth);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(recipients, false));
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username ="user";
    String password = "pass";
    return new PasswordAuthentication(username, password);
    }

  • Tomcat 5.0.3 JSP won't compile

    I've just installed Java SDK 1.5.0 and Tomcat 5.0.3 on what I hope will be my test server. But whenever it tries to compile a JSP I get this error
    javac : target release 1.3 conflicts with default source release 1.5
    So obviously the JSP compiler is trying to compile 1.5 source into a 1.3 class. Why it's trying to do this I've no idea, because there isn't any java in the JSP , as I removed it to create an "empty" JSP just to see if it was my coding causing the problem.
    I've tried altering the JSP servlet by setting an <init-param> called "target" to "1.5" but that had no effect that I could see.
    I could really use some help here.

    If you want to use java 1.5, you are going to need to use Tomcat 5.5, which is basically Tomcat 5.0 but with JDK 1.5 support.
    Why it's trying to do this I've no idea, because there isn't any java in the JSP All JSPs are translated into Servlets, which are Java classes, and then compiled before they are displayed the first time.
    I've tried altering the JSP servlet by setting an <init-param> called "target" to "1.5" but that had no effect that I could see.There is a setting burried inside the Catalina startup scripts that set up how Jasper compiles the JSPs. I forget exactly where... but it doesn't matter. If you want to use JDK 1.5, you should go to Tomcat 5.5.

  • DG4ODBC MSSQL query works in sql, but won't compile in PL/SQL.

    I'm using DG4ODBC from 11g to query a SQL Server database. The query I'm using works in a SQL DEveloper SQL worksheet and sqlplus, but won't compile in a PL/SQL procedure.
    The query is
      INSERT
      INTO crm_labels
          accountid,
          label_name,
          cir_labelcode,
          cir_knownasname,
          cir_countryidname,
          parentaccountidname,
          cir_customertypecode1,
          cir_customertypecode2,
          cir_dealstatus
      SELECT "AccountId",
        REPLACE("Name",chr(0)) label_name,
        REPLACE("Cir_labelcode",chr(0)) ,
        REPLACE("Cir_knownasname",chr(0)),
        REPLACE("cir_countryidName",chr(0)),
        REPLACE("ParentAccountIdName",chr(0)),
        "Cir_customertypecode1",
        "Cir_customertypecode2",
        "Cir_dealstatus"
      FROM "dbo"."Account"@crmsvc
      WHERE "Cir_labelcode" IS NOT NULL;The error message is
    Error(1): ORA-04052: error occurred when looking up remote object dbo.Account@CRMSVC ORA-01948: identifier's name length (34) exceeds maximum (30)I'm guessing that it is attempting to describe additional columns in the Account table.
    If I remove the dbo,
      FROM "Account"@crmsvcI get
    Error(1): ORA-04052: error occurred when looking up remote object PUBLIC.Account@CRMSVC ORA-00604: error occurred at recursive SQL level 1 ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Microsoft][ODBC SQL Server Driver][SQL Serve which is less than helpful. However, if I try to use the same query to create a materialized view, I get.
    SQL Error: ORA-04052: error occurred when looking up remote object PUBLIC.Account@CRMSVC
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address1_TimeZoneRuleVersionNu'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address1_UTCConversionTimeZone'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address2_TimeZoneRuleVersionNu'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address2_UTCConversionTimeZone'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Pias_NewLabelInDealNotificatio'. {42S22,NativeErr = 207}
    ORA-02063: preceding 2 lines from CRMSVCwhich seems to confim that in some circumstance, oracle will attempt to parse more than was asked for.
    Any work arounds?
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    DG4ODBC is also 11.2.0.3

    The gateway claims about this column "Address1_TimeZoneRuleVersionNu" which is not listed in your select list.
    When a gateway connection is established it first checks out all columns of the table you want to select to determine the data types and then it fetches the data for the columns you want to select. But there's also an exception - when you use functions the gateway is not able to translate into the syntax of the foreign database. in this case ALL columns will be fetched into the Oracle database and the result is processed locally (post processing).
    You're using replace function which won't be mapped to the foreign database equivalent using DG4ODBC so it will post process the result and fetch from all columns all the data into the Oracle database. Your table contains a column which exceeds the 30 character limitation of Oracle, hence the select will fail.
    The only work around is to create a view on the foreign database side which reduces the column name length to 30 characters or less.

  • SQL query won't compile based on DB role privileges

    Can someone give me an explanation why the SQL query in a report won't compile if an object is owned by another schema and the parsing schema is given privileges to the table via a role grant?
    Or to phrase it another way, why do we have to make direct grants on tables to the parsing schema for reports based on SQL queries that access tables in other schemas?
    Thanks in advance,
    Paul

    Paul - In Oracle, roles are not enabled during the execution of definer's rights stored procedures which is the environment in which all Application Express application code is parsed/executed. There are scads of posts about this topic in this forum.
    Scott

  • Robohelp for Word won't compile

     Hi,I've been trying to get one of my projects to work in Robohelp for Word. But the minute I create a second topic the compiled doen't work. there are no errors. the compilation just never starts. This also happens when I rename the first topic to something else.
    I have the following configurations:
    Robphelp for Word 7 build 145
    MS Office Work 2007
    windows XP professional with service pack 3
    I have deleted and started the project from scratch several times without any success. Any help would be highly appreciated
    Thanks
    Edna

    Hi,
    Thanks for your reply. The problem is there even with tutorial files and dummy projects.
    It seems that there is a problem with saving the document. If I don’t add anything the projects will compile problery. But the minute I change something it won't compile. When I want to close the word document I get a meesage saying if I would like Robohelp to save the document. If I press on "yes" nothing happens. If I press on "yes to all" nothing happens. Pressing on "no" closes the document.
    I have setup my word 2007 in a way so it will save .doc formats instead of .docx. But either way it makes no different the problem is with both file formats.

  • Flash builder 3 won't compile

    I have a flash builder 3 project  but I done something but it won't compile now. How can I resolve this. Tried clean project and no luck

    what are the compile errors u r getting ?

  • [SOLVED] ruby-panelapplet2 won't compile (i686 & x86_64)

    Hi!
    I already wrote forum post in 64 bit section, but today I got to i686 machine and the error is the same, that damned package won't compile
    Can anyone help getting this compiled? Any hints?
    Errors are as follows:
    Package 'glipper' has no Name: field
    checking for GCC... yes
    checking for rb_define_alloc_func() in ruby.h... yes
    checking for rb_block_proc() in ruby.h... yes
    checking for new allocation framework... yes
    checking for attribute assignment... no
    checking for libpanelapplet-2.0 version (>= 2.6.0)... yes
    checking for G_PLATFORM_WIN32... no
    creating rbpanelappletversion.h
    creating Makefile
    creating Makefile
    /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/pkg-config.rb:85:in `name': undefined method `[]' for nil:NilClass (NoMethodError)
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/mkmf-gnome2.rb:165:in `create_pkg_config_file'
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/panel-applet/extconf.rb:30:in `<main>'
    extconf.rb: Leaving directory 'panel-applet'
    That is driving me crazy, coz I can't get SSHMenu work properly and that is one of the tools I use all the time
    If someone has that package in x86_64, please send that to me (edzis123[@]inbox.lv). Please remove all numbers and brackets from there
    If the package is not available, alternate way is sending the files in the package, I suppose these should be like this (I took sample from i686):
    /usr/lib/ruby/site_ruby/1.9.1/panelapplet2.rb
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2_main.so
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2.so
    Thanx in advance.
    Last edited by Kirurgs (2010-02-21 21:32:26)

    Hi!
    After spending quite a lot of time on this, I found the error why I couldn't compile almost any of ruby packages including ruby-gnomepanel2.
    To my big surprise, pacman -R glipper fixed the issue and I'm now using sshmenu w/o any issues.
    Ruby seems to broke if some additional (possibly incorrect) packages are installed, which it shouldn't!! Uff...
    regards
    Kirurgs
    Last edited by Kirurgs (2010-02-21 21:32:57)

  • [solved] acerhk - won't compile anymore.

    On my 8y old Acer Travelmate i need acerhk to get wifi working.
    Since the latest kernels it won't compile anymore without errors.
    Anyone get some idea how to get arround with this?
    Output:
    make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35 modules
    make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
    CC [M] /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.o
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2933:23: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »model_init«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2958:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_remove«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2960:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_probe«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3042:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_remove«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3068:12: Fehler: »acerhk_probe« ist hier nicht deklariert (nicht in einer Funktion)
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3069:2: Fehler: Implizite Deklaration der Funktion »__devexit_p« [-Werror=implicit-function-declaration]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3069:25: Fehler: »acerhk_remove« ist hier nicht deklariert (nicht in einer Funktion)
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:136:14: Warnung: »reg2« definiert, aber nicht verwendet [-Wunused-variable]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:386:13: Warnung: »enable_dritek_keyboard« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:392:13: Warnung: »disable_dritek_keyboard« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:764:12: Warnung: »get_cmos_index« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:876:29: Warnung: »find_hk_area« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:1317:20: Warnung: »setup_model_features« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:1980:20: Warnung: »probe_model« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2205:13: Warnung: »init_input« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2303:13: Warnung: »release_input« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2671:12: Warnung: »acerhk_proc_init« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2783:13: Warnung: »acerhk_proc_cleanup« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2925:26: Warnung: »acerhk_misc_dev« definiert, aber nicht verwendet [-Wunused-variable]
    cc1: Einige Warnungen werden als Fehler behandelt
    make[2]: *** [/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.o] Fehler 1
    make[1]: *** [_module_/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
    make: *** [acerhk.ko] Fehler 2
    ==> FEHLER: Ein Fehler geschah in build().
    Last edited by lemondreas (2013-03-27 14:42:04)

    sure.
    Make sure to have linux-headers installed as the same version lie your kernel.
    The source for acerhk-0.5.35.tgz is unavailable so i downloaded it from here http://filesocial.com/3ex2d4 and put it in the same folder as PKBUILD
    My PKBUILD looks like this:
    # $Id: PKGBUILD 23215 2010-08-08 21:04:28Z cbrannon $
    # Maintainer: Corrado Primier <[email protected]>
    # Contributor: Marco Fister <[email protected]>
    pkgname=acerhk
    pkgver=0.5.35
    pkgrel=26
    pkgdesc="Acer hotkey driver"
    url="http://www.cakey.de/acerhk/"
    arch=('i686') # Unavailable for x86_64
    license=('GPL')
    depends=('linux>=3.0.0')
    makedepends=('linux-headers>=3.0.0')
    source=(acerhk-0.5.35.tgz acerhk.rc
    2.6.30.patch kernelversion.patch 5100.patch 2.6.36.patch)
    install=acerhk.install
    _kernver=`uname -r`
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile
    sed -i 's/__devinit//g; s/__devexit_p//g; s/__devexit//' acerhk.c
    patch -Np1 -i "${srcdir}/5100.patch" || return 1
    patch -Np1 -i "${srcdir}/2.6.30.patch" || return 1
    patch -Np0 -i "${srcdir}/2.6.36.patch" || return 1
    patch -N -p1 < "$srcdir/kernelversion.patch" || return 1
    sed -i 's@linux/config.h@linux/input.h@' "${srcdir}/${pkgname}-${pkgver}/acerhk.c"
    # Set KERNELSRC. The makefile tries to autodetect it with uname,
    # but that is unreliable.
    make CONFIG_FUNCTION_TRACER= KERNELSRC="/lib/modules/${_kernver}/build" acerhk.ko || return 1
    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/acerhk.ko" \
    "${pkgdir}/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko" || return 1
    install -Dm755 "${srcdir}/acerhk.rc" "${pkgdir}/etc/rc.d/acerhk" || return 1
    # vim:set ts=2 sw=2 et:
    md5sums=('05255919f312cb76af473a760c284433'
    '935584b3e4bfbb3af8460558e5b98bb5'
    '2a0bc99e5b12e25096441df4d53d7df7'
    'fd2ef062ecbc9d670e1b42aa5866d32d'
    '8966a93e66200a535179cf9eb689fe4d'
    'd257a4e9223ebfde48b9608805df9c99')
    By the way:
    Is there any possible way to get acerhk work with systemd?
    Like activating the wifi-LED along the boot process and manually control ist with "sysctl start/stop acerhk"?
    Last edited by lemondreas (2013-03-28 18:15:23)

  • Mofcomp.exe failed, delete the classes and retry compiling, 0x8004400a unexpected token at file scope, Primary DP will not validate

    I have SCCM 2012 R2 CU3. Before when I've had DP problems it was always with secondary DPs. Now I've got an issue with my primary DP. Content will not validate on the main DP, called DP1. In Monitoring Distribution Point Configuration Status there are repeated
    errors about "Failed to validate package ABC12345\\fqdn". On the site server in distmgr.log this entry repeats over and over:
    "Mofcomp.exe failed, delete the classes and retry compiling E:\program files\microsoft configuration manager\bin\64\smsdpprov.mof
    Failed to compile MOF file. Error code 2."
    The problem is I don't know what classes it's talking about, nor how to delete them, nor can I find anything directly applicable about this error. I did run "mofcomp.exe smsdpprov.mof" anyway but I get the error "error syntax 0x8004400a: unexpected
    token at file scope. Compiler returned error 0x8004400a."
    This DP1 was working fine until a few days ago. We haven't made any upgrades/changes to the server either.
    We sent a package just to DP1 and it did deploy the content, so it appears that it just can't validate.
    Thanks for any help.
    Ben JohnsonWY

    Hi,
    About the error in Mpcontrol.log, you could try to uninstall the MP, reinstall IIS components, then install MP to see if it can resolve this issue.
    If not, please have a look at the following blogs.
    Support Tip: ConfigMgr 2012 Management Point fails
    with a 500 error after working fine for a short period of time
    SCCM MP Internal Server Error ISS Call to HttpSendRequestSync
    failed for port 80 with status code 500
    From you description above, you reinstalled the DP. Did you reinstall the IIS components during the DP reinstallation? If not, please try to reinstall the IIS components.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • AIR app won't compile with custom icons

    My AIr app won't compile when I choose anything but the
    default icons. I created 4 pngs in Photoshop and it gives me the
    error: Useage error (incorrect arguments)
    Any help? I've tried using only 1 icon, all 4, and no icons.
    Only no icons works.

    You dont have to use the GUI to set it, you can use the air
    appliation XML.
    inside your air-app.xml file look for something like:
    <icon>
    <image128x128>icons/myIcon128.png</image128x128>
    <image48x48>icons/myIcon48.png</image48x48>
    <image32x32>icons/myIcon32.png</image32x32>
    <image16x16>icons/myIcon16.png</image16x16>
    </icon>
    if its not there add it, but replace the myIcon128.png with
    your 128 point png image etc.
    also the above assumes your icons are in a folder called
    "icons" in the same directory as your air file.
    Hope it helps.

Maybe you are looking for

  • Can you put 2 itunes account on the one ipod classic?

    Would like to know if i could put two itunes account to the one classic as i canoot seem to be able to combine both itues accounts.

  • How to do langauage translation in Workflow

    Hi Folks, I need to do language translation from English to Spanish for Roles in Workflow using Tcode PFAC. Can you please detail the steps to be followed. Regards, Pavan.

  • IPhone in Cuba.

    Hi, I'm based in the US, have an Iphone, and also an international phone from Mobal Communications that works perfectly in Cuba (I have been there on licensed trips and the phone works through Cubacell).   I want to take the SIM card out of the inter

  • HR - Payroll City Tax

    I need to write a report that gives me the amount of city tax (for a particular city) per employee.  I have never done any type of payroll/HR reporting so I am not sure where to start.  I have been doing some research and I can't find any viable info

  • Running CS5 on Windows Xp; application error "0x6963561b" referenced memory at "0x0000008c"

    Running CS5 on Windows XP 2.0 G RAM;  500G hard drive Dell computer 9100; get application error and crash: "0x6963561b" referenced memory at "0x0000008c" The memory could not be "read"