Help with compiling package

I'm currently getting this error when compiling my package.
Compilation failed,line 6 (10:56:34)
PLS-00323: subprogram or cursor 'ADD_PROJECT' is declared in a package specification and must be defined in the package body
Here is the specification
Create or replace PACKAGE PKG_WORKPLAN
IS
TYPE t_char IS TABLE of varchar2(5000) INDEX BY BINARY_INTEGER;
function ARR_SPLIT(field_delim varchar2, v_row varchar2)
     RETURN T_CHAR;
Procedure add_project
(V_PROJECT_TITLE IN WP_PROJECTS.TITLE%TYPE,
V_PROJECT_CATEGORY IN WP_PROJECTS.CATEGORY%TYPE,
V_PROJECT_DESC IN WP_PROJECTS.DESCRIPTION%TYPE,
V_PROJECT_LEADER IN WP_PROJECTS.PROJECT_LEADER%TYPE,
V_CLIENT_MANAGER IN WP_PROJECTS.CLIENT_MANAGER%TYPE,
V_START_DATE IN WP_PROJECTS.START_DATE%TYPE,
V_FINISH_DATE IN WP_PROJECTS.FINISH_DATE%TYPE,
v_FISC_YEAR IN WP_PROJECT_USERS_TIME.YEAR%TYPE,
V_SERVICE_LINE IN WP_PROJECTS.SERVICE_LINE_ID%TYPE,
V_COMMENTS IN WP_PROJECTS.COMMENTS%TYPE,
V_INTERNAL_ORDER IN WP_PROJECTS.INTERNAL_ORDER%TYPE,
V_MEMBERS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_MEMBERS IN NUMBER,
V_CLIENTS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_CLIENTS IN NUMBER);
END PKG_WORKPLAN;
and here is the body
create or replace PACKAGE BODY PKG_WORKPLAN
     IS
function ARR_SPLIT(field_delim varchar2, v_row varchar2)
     RETURN T_CHAR
IS
v_char t_char;
v_rowRep varchar2(999);
BEGIN
v_rowRep:=Replace(v_row,field_delim, '|^');
          For i in 1.. LENGTH(v_rowRep) LOOP
               v_char(i):=Substr(v_rowRep,instr(v_rowRep,'|^',1,i)+2,instr(v_rowRep,'|^',1,i+1)-instr(v_rowRep,'|^',1,i)-2);
          END LOOP;
          RETURN v_char;
END ARR_SPLIT;
Procedure add_team_members
     (V_PROJECT_ID IN WP_PROJECTS_USERS.PROJECT_ID%TYPE,
     V_START_DATE IN WP_PROJECTS_USERS.START_DATE%TYPE,
v_FISC_YEAR IN WP_PROJECT_USERS_TIME.YEAR%TYPE,
     v_members IN WP_PROJECTS.DESCRIPTION%TYPE,
     v_num_members IN NUMBER,
     v_op_type IN VARCHAR2)
IS
V_FYEAR NUMBER(4);
V_COUNTER NUMBER;
V_USER_ID NUMBER(10);
V_DESCRIPTION VARCHAR(2000);
V_PD1 NUMBER(3);
V_PD2 NUMBER(3);
V_PD3 NUMBER(3);
v_string_org CLOB;
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
BEGIN
delimiter:='||';
v_string_org:=v_members;
For j in 1.. v_num_members LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org , DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
V_FYEAR:=v_FISC_YEAR;
INSERT INTO WP_PROJECTS_USERS (PROJECT_USERS_ID, FIELD_UNIT_ID, PROJECT_ID, USER_ID, START_DATE, DESCRIPTION)
VALUES
(PROJ_USERS_ID_SEQ.NEXTVAL, v_char(4), V_PROJECT_ID, v_char(2), V_START_DATE, v_char(5));
INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
VALUES
(PROJ_USERS_TIME_ID_SEQ.NEXTVAL, PROJ_USERS_ID_SEQ.CURRVAL, V_FYEAR, v_char(6));
V_FYEAR:=V_FYEAR+1;
INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
VALUES
(PROJ_USERS_TIME_ID_SEQ.NEXTVAL, PROJ_USERS_ID_SEQ.CURRVAL, V_FYEAR, v_char(7));
V_FYEAR:=V_FYEAR+1;
INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
VALUES
(PROJ_USERS_TIME_ID_SEQ.NEXTVAL, PROJ_USERS_ID_SEQ.CURRVAL, V_FYEAR, v_char(8));
END LOOP;
end add_team_members;
Procedure update_team_members
     (V_PROJECT_ID IN WP_PROJECTS_USERS.PROJECT_ID%TYPE,
     V_START_DATE IN WP_PROJECTS_USERS.START_DATE%TYPE,
     v_FISC_YEAR IN WP_PROJECT_USERS_TIME.YEAR%TYPE,
     v_members IN WP_PROJECTS.DESCRIPTION%TYPE,
     v_num_members IN NUMBER,
     v_op_type IN VARCHAR2)
IS
V_FYEAR NUMBER(4);
V_COUNTER NUMBER;
V_USER_ID NUMBER(10);
V_PROJ_USER_ID NUMBER(10);
V_DESCRIPTION VARCHAR(2000);
V_PD1 NUMBER(3);
V_PD2 NUMBER(3);
V_PD3 NUMBER(3);
v_string_org CLOB;
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
BEGIN
delimiter:='||';
v_string_org:=v_members;
For j in 1.. v_num_members LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org , DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
V_FYEAR:=V_FISC_YEAR;
-- new team member
IF v_char(10)='n' THEN
     SELECT PROJ_USERS_ID_SEQ.NEXTVAL INTO V_PROJ_USER_ID FROM DUAL;
INSERT INTO WP_PROJECTS_USERS (PROJECT_USERS_ID, FIELD_UNIT_ID, PROJECT_ID, USER_ID, START_DATE, DESCRIPTION)
VALUES
(V_PROJ_USER_ID, v_char(3), V_PROJECT_ID, v_char(8), V_START_DATE, v_char(4));
-- modify team member
ELSIF v_char(10)='m' THEN
     UPDATE WP_PROJECTS_USERS
     SET FIELD_UNIT_ID=v_char(3),
     PROJECT_ID=V_PROJECT_ID, USER_ID=v_char(8),
     START_DATE=V_START_DATE, DESCRIPTION=v_char(4)
     WHERE PROJECT_USERS_ID=v_char(9);
     DELETE FROM WP_PROJECT_USERS_TIME WHERE PROJECT_USERS_ID=v_char(9);
     V_PROJ_USER_ID:=v_char(9);
-- delete team member
ELSIF v_char(10)='d' THEN
     DELETE FROM WP_PROJECT_USERS_TIME WHERE PROJECT_USERS_ID=v_char(9);
     DELETE FROM WP_PROJECTS_USERS WHERE PROJECT_USERS_ID=v_char(9);
END IF;
-- add time records for new/modified team member
IF (v_char(10)='n') OR (v_char(10)='m') THEN
INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
VALUES
(PROJ_USERS_TIME_ID_SEQ.NEXTVAL, V_PROJ_USER_ID, V_FYEAR, v_char(5));
V_FYEAR:=V_FYEAR+1;
INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
     VALUES
     (PROJ_USERS_TIME_ID_SEQ.NEXTVAL, V_PROJ_USER_ID, V_FYEAR, v_char(6));
V_FYEAR:=V_FYEAR+1;
     INSERT INTO WP_PROJECT_USERS_TIME (PROJECT_USERS_TIME_ID, PROJECT_USERS_ID, YEAR, TIME)
     VALUES
     (PROJ_USERS_TIME_ID_SEQ.NEXTVAL, V_PROJ_USER_ID, V_FYEAR, v_char(7));
END IF;
END LOOP;
end update_team_members;
Procedure add_clients
     (V_PROJECT_ID IN WP_PROJECTS_USERS.PROJECT_ID%TYPE,
     v_clients IN WP_PROJECTS.DESCRIPTION%TYPE,
     v_num_clients IN NUMBER,
     v_op_type IN VARCHAR2)
IS
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
v_string_org CLOB;
BEGIN
delimiter:='||';
v_string_org:=v_clients;
for j in 1..v_num_clients LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org, DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
IF v_char(3)='n' THEN
     INSERT INTO WP_PROJECTS_FIELD_UNITS (FIELD_UNIT_ID, PROJECT_ID)
     VALUES
     (v_char(2), V_PROJECT_ID);
ELSIF v_char(3)='d' THEN
     DELETE FROM WP_PROJECTS_FIELD_UNITS
     WHERE FIELD_UNIT_ID=v_char(2) AND PROJECT_ID=V_PROJECT_ID;
END IF;
END LOOP;
end add_clients;
Procedure add_project
(V_TITLE IN WP_PROJECTS.TITLE%TYPE,
V_PROJECT_CATEGORY IN WP_PROJECTS.CATEGORY%TYPE,
V_PROJECT_DESC IN WP_PROJECTS.DESCRIPTION%TYPE,
V_PROJECT_LEADER IN WP_PROJECTS.PROJECT_LEADER%TYPE,
V_CLIENT_MANAGER IN WP_PROJECTS.CLIENT_MANAGER%TYPE,
V_START_DATE IN WP_PROJECTS.START_DATE%TYPE,
V_FINISH_DATE IN WP_PROJECTS.FINISH_DATE%TYPE,
v_FISC_YEAR IN WP_PROJECT_USERS_TIME.YEAR%TYPE,
V_SERVICE_LINE IN WP_PROJECTS.SERVICE_LINE_ID%TYPE,
V_COMMENTS IN WP_PROJECTS.COMMENTS%TYPE,
V_INTERNAL_ORDER IN WP_PROJECTS.INTERNAL_ORDER%TYPE,
V_MEMBERS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_MEMBERS IN NUMBER,
V_CLIENTS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_CLIENTS IN NUMBER)
IS
V_PROJECT_ID NUMBER(10);
begin
Select proj_id_seq.nextval INTO V_PROJECT_ID FROM DUAL;
INSERT INTO WP_PROJECTS (PROJECT_ID, TITLE, CATEGORY, DESCRIPTION,
PROJECT_LEADER, CLIENT_MANAGER,
START_DATE, FINISH_DATE, SERVICE_LINE_ID, COMMENTS, INTERNAL_ORDER)
VALUES
(V_PROJECT_ID, V_TITLE, V_PROJECT_CATEGORY, V_PROJECT_DESC, V_PROJECT_LEADER,
V_CLIENT_MANAGER, V_START_DATE, V_FINISH_DATE, V_SERVICE_LINE,
V_COMMENTS, V_INTERNAL_ORDER);
add_clients(V_PROJECT_ID, V_CLIENTS ,V_NUM_CLIENTS,'add');
add_team_members(V_PROJECT_ID, V_START_DATE, v_FISC_YEAR, V_MEMBERS ,V_NUM_MEMBERS,'add');
end add_project;
Procedure update_project
(V_PROJECT_ID IN WP_PROJECTS.PROJECT_ID%TYPE,
V_TITLE IN WP_PROJECTS.TITLE%TYPE,
V_PROJECT_CATEGORY IN WP_PROJECTS.CATEGORY%TYPE,
V_PROJECT_DESC IN WP_PROJECTS.DESCRIPTION%TYPE,
V_PROJECT_LEADER IN WP_PROJECTS.PROJECT_LEADER%TYPE,
V_CLIENT_MANAGER IN WP_PROJECTS.CLIENT_MANAGER%TYPE,
V_START_DATE IN WP_PROJECTS.START_DATE%TYPE,
V_FINISH_DATE IN WP_PROJECTS.FINISH_DATE%TYPE,
v_FISC_YEAR IN WP_PROJECT_USERS_TIME.YEAR%TYPE,
V_SERVICE_LINE IN WP_PROJECTS.SERVICE_LINE_ID%TYPE,
V_COMMENTS IN WP_PROJECTS.COMMENTS%TYPE,
V_INTERNAL_ORDER IN WP_PROJECTS.INTERNAL_ORDER%TYPE,
V_MEMBERS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_MEMBERS IN NUMBER,
V_CLIENTS IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_CLIENTS IN NUMBER)
IS
begin
UPDATE WP_PROJECTS
SET TITLE=V_TITLE, CATEGORY=V_PROJECT_CATEGORY,
DESCRIPTION=V_PROJECT_DESC, PROJECT_LEADER=V_PROJECT_LEADER,
CLIENT_MANAGER=V_CLIENT_MANAGER,
START_DATE=V_START_DATE, FINISH_DATE=V_FINISH_DATE,
SERVICE_LINE_ID=V_SERVICE_LINE,
COMMENTS=V_COMMENTS, INTERNAL_ORDER=V_INTERNAL_ORDER
WHERE PROJECT_ID=V_PROJECT_ID;
add_clients(V_PROJECT_ID, V_CLIENTS ,V_NUM_CLIENTS,'update');
update_team_members(V_PROJECT_ID, V_START_DATE, V_FISC_YEAR, V_MEMBERS ,V_NUM_MEMBERS,'update');
end UPDATE_PROJECT;
Procedure ADD_TIMEREC
(V_PROJ_USERS_ID IN WP_TIME_RECORDER.PROJECT_USERS_ID%TYPE,
V_CATEGORY IN WP_TIME_RECORDER.CATEGORY%TYPE,
V_IN IN WP_PROJECTS.DESCRIPTION%TYPE,
V_NUM_MEMBERS IN NUMBER)
IS
v_string_org CLOB;
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
begin
delimiter:='||';
v_string_org:=V_IN;
For j in 1.. v_num_members LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org , DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
-- add new time record
IF v_char(6)='n' THEN
INSERT INTO WP_TIME_RECORDER (TIME_RECORDER_ID, PROJECT_USERS_ID,
START_DATE, END_DATE, HOURS, NOTES, CATEGORY)
VALUES
(TIME_REC_ID_SEQ.NEXTVAL, V_PROJ_USERS_ID, TO_DATE(v_char(1),'MM-DD-YYYY'), TO_DATE(v_char(2),'MM-DD-YYYY'), v_char(3),      v_char(4), V_CATEGORY);
-- modify time record
ELSIF v_char(6)='m' THEN
UPDATE WP_TIME_RECORDER
     SET PROJECT_USERS_ID=V_PROJ_USERS_ID,
     START_DATE=TO_DATE(v_char(1),'MM-DD-YYYY'),
     END_DATE=TO_DATE(v_char(2),'MM-DD-YYYY'),
     HOURS=v_char(3),
     NOTES=v_char(4),
     CATEGORY=V_CATEGORY
WHERE TIME_RECORDER_ID=v_char(5);
-- delete time record
ELSIF v_char(6)='d' THEN
DELETE FROM WP_TIME_RECORDER WHERE TIME_RECORDER_ID=v_char(5);
END IF;
END LOOP;
end ADD_TIMEREC;
Procedure ADD_TIME_NONPROJECT
(V_NONPROJ_USERS_ID IN WP_TIME_NONPROJECT.USER_ID%TYPE,
V_CATEGORY IN WP_TIME_NONPROJECT.CATEGORY%TYPE,
V_IN IN WP_TIME_NONPROJECT.NOTES%TYPE,
V_NUM_MEMBERS IN NUMBER)
IS
v_string_org CLOB;
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
begin
delimiter:='||';
v_string_org:=V_IN;
For j in 1.. v_num_members LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org , DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
-- add new time record
IF v_char(6)='n' THEN
INSERT INTO WP_TIME_NONPROJECT (TIME_NONPROJECT_ID, USER_ID,
START_DATE, END_DATE, HOURS, NOTES, CATEGORY)
VALUES
(TIME_REC_ID_SEQ.NEXTVAL, V_NONPROJ_USERS_ID, TO_DATE(v_char(1),'MM-DD-YYYY'), TO_DATE(v_char(2),'MM-DD-YYYY'), v_char(3), v_char(4), V_CATEGORY);
-- modify time record
ELSIF v_char(6)='m' THEN
UPDATE WP_TIME_NONPROJECT
     SET START_DATE=TO_DATE(v_char(1),'MM-DD-YYYY'),
     END_DATE=TO_DATE(v_char(2),'MM-DD-YYYY'),
     HOURS=v_char(3),
     NOTES=v_char(4),
     CATEGORY=V_CATEGORY
WHERE TIME_NONPROJECT_ID=v_char(5);
-- delete time record
ELSIF v_char(6)='d' THEN
DELETE FROM WP_TIME_NONPROJECT WHERE TIME_NONPROJECT_ID=v_char(5);
END IF;
END LOOP;
end ADD_TIME_NONPROJECT;
Procedure ADD_TIME_NONPROJECT_LEAVE
(V_NONPROJ_USERS_ID IN WP_TIME_NONPROJECT.USER_ID%TYPE,
V_CATEGORY IN WP_TIME_NONPROJECT.CATEGORY%TYPE,
V_IN IN WP_TIME_NONPROJECT.NOTES%TYPE,
V_NUM_MEMBERS IN NUMBER)
IS
v_string_org CLOB;
v_row varchar2(8000);
V_CHAR T_CHAR;
delimiter varchar2(4);
begin
delimiter:='||';
v_string_org:=V_IN;
For j in 1.. v_num_members LOOP
     v_row:=DBMS_LOB.SUBSTR( v_string_org , DBMS_LOB.instr(v_string_org,'|^|',1,j+1)-DBMS_LOB.instr(v_string_org,'|^|',1,j)-2,DBMS_LOB.INSTR(v_string_org,'|^|',1,j)+3);
     v_row:=delimiter||v_row||delimiter;
     v_char:=arr_split(delimiter,v_row);
-- add new time record
IF v_char(8)='n' THEN
INSERT INTO WP_TIME_NONPROJECT (TIME_NONPROJECT_ID, LEAVE_TRAINING_ID, USER_ID,
START_DATE, END_DATE, HOURS, NOTES, CATEGORY)
VALUES
(TIME_REC_ID_SEQ.NEXTVAL, v_char(6), V_NONPROJ_USERS_ID, TO_DATE(v_char(1),'MM-DD-YYYY'), TO_DATE(v_char(2),'MM-DD-YYYY'), v_char(4), v_char(5), V_CATEGORY);
-- modify time record
ELSIF v_char(8)='m' THEN
UPDATE WP_TIME_NONPROJECT
     SET LEAVE_TRAINING_ID=v_char(6),
     START_DATE=TO_DATE(v_char(1),'MM-DD-YYYY'),
     END_DATE=TO_DATE(v_char(2),'MM-DD-YYYY'),
     HOURS=v_char(4),
     NOTES=v_char(5),
     CATEGORY=V_CATEGORY
WHERE TIME_NONPROJECT_ID=v_char(7);
-- delete time record
ELSIF v_char(8)='d' THEN
DELETE FROM WP_TIME_NONPROJECT WHERE TIME_NONPROJECT_ID=v_char(7);
END IF;
END LOOP;
end ADD_TIME_NONPROJECT_LEAVE;
END PKG_WORKPLAN;
Thanks in Advance!!!

Welcome to the forum.
Error messages are documented and online available.
"PLS-00323: subprogram or cursor "string" is declared in a package specification and must be defined in the package body
Cause: A subprogram specification was placed in a package specification, but the corresponding subprogram body was not placed in the package body. The package body implements the package specification. So, the package body must contain the definition of every subprogram declared in the package specification.
Action: Check the spelling of the subprogram name. If necessary, add the missing subprogram body to the package body."
http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/plsus.htm#sthref13568
Documtentation is your friend (and database versions do matter ).
Bookmark:
http://www.oracle.com/pls/db102/homepage
http://www.oracle.com/pls/db112/homepage
In other words: it might be a case of parameters that exist in the package specification, that do not exist (yet) in the package body.
Compare your package specification to your package body, something appears to be different.

Similar Messages

  • Please help with compiling error

    Hello, I am currently taking a class in Java Programming and need help with an error. I am working on a Mortgage Calculator and when I compile the code I get this error. I have no idea how to fix this. Can anyone help? Thank you.
    '{' expected public class MortgageCalculator
    1 error
    Tool completed with exit code 1
    Here is my code
    import java.io.*;//*java input output
    import java.util.Date;//Date Utility
    import java.util.Formatter;//format Utility
    import java.text.NumberFormat;//*format numbers
    //class MortgageCalculator
    public class MortgageCalculator
    public static void main(String[]args);{
    Date currentDate=newDate();
    DecimalFormat decimalPlaces=newDecimalFormat("0.00");
    //declare Variables
    final double principalBalance=200000;//*$200,000 Loan
    final double monthlyInterest=.06;//*6% interest rate
    final double Term=12*30;//*monthly interest rate
    final double monthlyInterest=((principalBalance*(monthlyInterest/12))/(1-Math.pow(1+(monthlyInterest/12))-(Term)));
    //Display Output
    System.out.println("\t\t" + currentDate);
    System.out.println("\t\tLoan Amount" + principalBalance);
    System.out.println("\t\tInterest Rate" + monthlyInterest);
    System.out.println("\t\tTerm of Loan" + Term);
    System.out.println("\t\tThe Payment will be:" + monthlyInterest);
    System.out.println(decimalPlaces.format(mothlyInterest));
    }

    You need to enclose your class body in { }. You're missing at least one of them

  • Need help with Nagios package

    I'm attempting to build a Nagios package, and I'm pretty close, actually have it installed and running, BUT...
    when I run the web interface, it calls some CGI files, and I get an error that it can't find them.  It can't find them because it's looking for them in /repo/packages/nagios/usr/sbin/nagios/sbin  (with '/repo/packages/nagios' being our local repo where the package was built, and '/usr/sbin/nagios/sbin' being where it should be looking for the CGI files.)
    I cheated by setting up that path and copying the files over, just to get it working, but obviously my PKGBUILD needs some help.  I think the problem is pretty simple (just like me) and probably has to do with a configure prefix (with 'cgiurl' being the likely culprit.)
    Here's my package build, any help would be greatly and fantasticly appreciated.
    pkgname=nagios
    pkgver=1.2
    pkgrel=6
    pkgdesc="host and service monitor designed to inform of network problems"
    url="http://nagios.org/"
    license=()
    depends=()
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=('http://internap.dl.sourceforge.net/sourceforge/nagios/nagios-1.2.tar.gz')
    md5sums=('414d70e5269d5b8d7c21bf3ee129309f')
    build() {
    mkdir $startdir/pkg/usr
    mkdir $startdir/pkg/usr/sbin
    mkdir $startdir/pkg/usr/sbin/nagios
    mkdir $startdir/pkg/etc
    mkdir $startdir/pkg/etc/rc.d
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=$startdir/pkg/usr/sbin/nagios --with-cgiurl=/nagios/cgi-bin --with-html=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=$startdir/pkg/etc/rc.d
    make all
    make install
    make install-init
    make install-config
    Thanks much

    manica wrote:
    When you have a Nagios PKGBUILD ready, could you please make it available to others?  That would be great.
    Thank you,
    Darin
    Definitely, if I ever get it working properly.  However, since I have it working it working well enough for our purposes, I won't be putting a whole lot of time in the PKGBUILD.
    Thanks to Cactus for the advice above, but the build failed (don't have the error message handy.)
    This was for Nagios 1.2, I may try building a package for Nagios 2.0b4 and see if I have any luck.

  • Help with workflow - Package etc.

    We just started using Package to update our running file... a small publication twice monthly, with lots of photos, pdf's etc. instead of the links file getting bigger and bigger with age, package will bring forward only what's repeating, right? - Looks good so far. Now we want to generate our print version, mostly b&w, some spot color, but offer advertisers the option of sending color ads to be used on the web version. First impression is, they're gungho... Haven't figured out how to get this accomplished just yet. Thought to make up the regular file, save, make plates etc. then copy, swap the color stuff in and make PDF's for the web... but where to put the color stuff, in the regular link folder, it'll start growing immediately, but maybe still manageable. Making sense? Any good ideas would be welcome... the web version is frontlinebuses.com  (((it's elementary, we know... we're really bus folks, not design artists...)))..  Thanks   By the way,  still using CS3.  L W

    L Welch wrote:
    Somehow in our process we've avoided problems, every issue opens and works perfect (has for years now). We do use a save-as often, they may be the key... We're looking at several ways to accomplish the color for web thing.
    Well, that's what everyone says rith up to the point where the file fails catastrophically, usually just before deadline. Consider yourself luck and living a good life.
    Save As isn't going to get rid of cumulative corruption, it just either overwrites or creates a new copy of the file with the same corrupt components. It will remove useless change history, though. When you start fresh from the template each time you are always saving a second-generation file so the odds of problems are vastly smaller than the odds with a 52nd generation file.

  • I need help  with compiling different packages

    I've just downloaded j2sdk1.4.0_03 and when i use
    import TerminalIO.KeyboardReader;
    it says : package TerminalIO does not exist;
    and it also has a problem with KeyboardReader.
    Please help me!

    The TerminalIO is not part of standard java classes. Some one must have given that to you, or needs to give it to you. It might be in a jar file. Without knowing what/where the TerminalIO package is, it is difficult to help you.
    If the package is in a jar, then you need to include the jar in your Classpath when you compile. If it is not in a jar, then the directory that contains the TerminalIO directory needs to be in the Classpath.
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • Please help with importing packages

    I am trying to learn the Java Advanced Imaging (JAI) API. I have successfully installed java2SDK.
    I downloaded the JAI library (jai-1_1_2-rc-lib-windows-i586.exe) and have installed it.
    After installation, I added the JAI lib to the CLASSPATH.
    CLASSPATH = C:\java\jai-1_1_2-rc\lib
    when I try compiling a demo program from this tutorial page:
    http://developer.java.sun.com/developer/onlineTraining/javaai/jai/src/FrontPage.java
    I get these errors,
    package javax.media.jai does not exist
    import javax.media.jai.JAI;
    how do I know which directory to copy the JAI lib files to so that
    this import statement can find JAI
    import javax.media.jai.JAI;
    please help if you can
    Thanks
    John

    Hi,
    You have to give the full path of the jar file in classpath along with the jar file name
    something like CLASSPATH = C:\java\jai-1_1_2-rc\lib\jai.jar ...see the jar file name and include that also

  • Please help with bean package problem - serlvet can't find package

    Hi,
    I'm fairly new to java web development, and I can't make any good learning progress due to an error I just can't seen to fix. It seems humiliatingly trivial, but I can't get past it.
    Explanation:
    I'm experimenting with beans, and I've created a very simple servlet called AppSetup to create a LinkBean instance and store it in the servlet context for later retrieval. My problem is that the servlet wont compile because it's telling me the package in which the LinkBean class file is in doesn't exist.
    The servlet is in package org, and the bean is in package org.bean. This is the import statement in the servlet:
    Code:
    import org.bean.*;I've also tried:
    Code:
    import org.bean.LinkBean;and
    Code:
    import bean.*;I've tried all sorts of different package structures, but I get the same following error for all of them:
    Quote:
    C:\tomcat\webapps\chub\WEB-INF\classes\org>javac AppSetup.java
    AppSetup.java:14: package org.bean does not exist
    import org.bean.*;
    ^
    AppSetup.java:19: cannot find symbol
    symbol : class LinkBean
    location: class org.AppSetup
    LinkBean lb;
    ^
    AppSetup.java:23: cannot find symbol
    symbol : class LinkBean
    location: class org.AppSetup
    lb = new LinkBean();
    ^
    3 errors
    edit
    Server is Tomcat 5.5
    Any help would be greatly appriciated. Thanks.

    The bean class has to be in the classpath. The classpath variable informs the compiler\jvm where to find the .class files that are being referred.
    To set a classpath,
    javac -classpath C:\tomcat\webapps\chub\WEB-INF\classes;C:\tomcat\webapps\chub\WEB-INF\lib;C:\tomcat\common\lib;.; AppSetup.javaThere are 3 paths in the classpath variable above.
    1.\WEB-INF\classes => Your class files
    2. \WEB-INF\lib => Your app library files (.jar files)
    3. \common\lib => common library .jar files
    4 The dot (.) => current directory.
    Read about classpaths [url http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html]here
    ram.

  • Upgrade 10gR2 to 11gR2 with apps 11.5.10.2  - Please help with rpm package

    Hi
    OS : Oracle Enterprise Linx 4 update 5
    DB: 10.2.0.4
    Apps: 11.5.10.2
    I am upgrading my current 10.2.0.4 db with 11.5.10.2 apps TO 11.2.0 db and apps 11.5.10.2
    When I am installing 11g software only. I am getting the following error
    Package: ocfs2-tools-1.2.7
    it says this is prereq for 11g and also shows actula value ocfs2-tools-1.2.4.-1
    I have installed ocfs2-tools-1.2.4.1 from my oel 4 cd. Problem is it is expecting ocfs2-tools-1.2.7-1
    I have searched everywhere on oss.oracle.com and google. did not find ocfs2-tools-1.2.7.-1 package , can anyone please help me.
    same issue with glibc-2.3.4-41 package
    expected value = glibc-2.3.4-41
    actual value = glibc-2.3.4-2.36
    Thanks

    Srini,
    Thanks your reply
    It says I need to register. So , is it paid site or how to complie my own rpm from source with public key which is mentioned on the website
    Oracle's Enterprise Linux: OCFS2 Tools 1.2.7-1 packages for EL4 and EL5 are available on the Unbreakable Linux Network. Subscribers can upgrade to this release by issuing the following command:
    $ up2date --install ocfs2-tools ocfs2console
    What is this up2date, when I run that it is asking for username and password. Please give me instructions.
    Thanks
    Rao

  • Trouble with compiling packages

    I ve posted this in other forums but most of the soultions that i got was problamatic. if there is a way to compile a application which has 3 or 4 sub packages without using any other tools other than what comes with jdk that's what im looking for
    itried what was in this post but that didnt work
    http://forum.java.sun.com/thread.jspa?threadID=541081&messageID=2622943
    Thanks in advance

    The other thread has the right answers if you're using a real operating system like a unix variety.
    If you're using Windows, you can improve the situation by using cygwin. That will give you access to a tool like find (unix find) so you'll be able to do something like
    find . -name \*java > @files
    java @filesor
    java `find . -name \*java`But seriously, the best solution is to use a build tool like Ant or Make. You can use Ant on Windows.
    Windows isn't really designed for small independant tools (e.g., getting work done) like unix is. You're supposed to use a big monolithic application, one at a time. Once you've learned enough Java that you are developing larger applications like this, and if you insist on using Windows, then either get cygwin, or download an IDE like Eclipse.

  • Help with compiling with Java 1.3 in Windows 98

    Using JDK 1.3 and Windows 98... here is my problem. If I create a class called EventSite.java and another class called eventsite.java (same name, different cases) and then compile them both...I only see the the first class compiled in the directory (they are both being compiled into the same directory).
    i.e. I run 'javac EventSite.java' and when I look in the c:\jdk1_3\bin\ directory I see EventSite.class.
    I then run 'javac eventsite.java' and when I look in the same directory I only see EventSite.class. Why???????
    Where did eventsite.class go?
    Note: both .java files compile without error.
    Help please.

    Yes it is very strange. Both .java files compile clean yet the second one does not seem to create a .class file. If you are using Windows 98 you can do a simple test to see this...
    Create a class with a simple method in it.
    Save the file as 'Test.java' (capital 'T').
    Compile it into a directory (c:\jdk1.3\bin\).
    Using Windows Explorer, check the directory and see 'Test.class' exists.
    Now go into the code of the same class and just change the name of the class and save as 'test.java' (lower case 't').
    Compile it into the same directory (c:\jdk1.3\bin\).
    Using Windows Explorer, check the directory and see 'Test.class' still exists, 'test.class' does not.
    Note. If you delete 'Test.class' from the directory and then recompile 'test.java', you will then see 'test.class' in the directory.
    It's very wierd and it isn't an issue with a particular computer either. I am taking a class in Java currently and everyone in the clas is having this issue...even the professor hasnt seen this before which is why I figured I would ask on here.
    Any thoughts???? Thanks

  • Help with compilation error

    Hello
    I have a problem with my jsp developement. When i create a jsp (with no beans) i test it and it runs fine (not good but fine), then when I test it with multiple users at time, it generate a jsp compilation error ie. "missing term }" and I can not figure out why it is getting that error, it has been compilated before! so it should not generate a compilation error, becouse i'm not editing the jsp source. I think that every time the jsp is requested the virtual machine is re-compiling it, but is only what i thing and i don't know why... can any body help me? please.
    I apologize for my bad english
    Thank you for your time reading this.

    Sorry becouse i can't be more espesific with the error that i get, that error is complete apears in a complete randomic way, I mean taht it apears when nerver is expected or doesn't apear when is expected, only thing that i got of that error is that the compiler some time says that are mising semi-colon (;), some time says that are mising quotation marks (") or are mising }, the error is no the same allways no mater the situation, I can run the jsp in my pc but the error doesn't apear, thats very strange becouse the compilation error apear after the jsp was executed with no errors.
    this is my jsp:
    <%@ page import="java.util.Calendar,java.text.SimpleDateFormat,java.util.Date,java.util.Stack,java.util.Enumeration, java.util.Hashtable,java.sql.*, java.util.Vector" %>
    <%@ include file="../incs/dbpool_inc.jsp" %>
    <%@ include file="funciones.jsp"%><html>
    <head>
    <title>Resolver preguntas</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="../css/0001.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <% //to get user data from the session.
         String userid = session.getAttribute("idu") != null ? (String)session.getAttribute("idu") : "";
         String asign = session.getAttribute("idHomeAssignatura") != null ? (String)session.getAttribute("idHomeAssignatura"): "";
         String idcuest = session.getAttribute("idcuest") != null ? (String)session.getAttribute("idcuest") : "";
         String secuenc = session.getAttribute("secuenc") != null ? (String)session.getAttribute("secuenc") : "";     
         String secuens = request.getParameter("secuens") != null ? request.getParameter("secuens") : "0";
         //to know if it's aloww to save cahnges in the database
         boolean guardar = request.getParameter("guardar") != null ? (request.getParameter("guardar")).equals("si")? true: false :false;
         if(userid.equals("")|| asign.equals("")){//if 1          
              out.println("</head><body><font face=\"Arial\" size=\"2\" color=\"#000000\"><b>El tiempo de conexi&oacute;n ha expirado. Para ingresar de nuevo al sistema haga click aqu&iacute;.</b></font></body></html>");
         }//fin if 1
         else{//else de if 1          
              try{// try 1
                   Connection conn = dbpool.getConnection();
                   Statement stmtt = conn.createStatement();
                   Statement stmtmod = conn.createStatement();
                   Statement stmtresp = conn.createStatement();
                   ResultSet rsmodul = stmtmod.executeQuery("select id_modulo from eit_cuestxmat where id_cuestionario="+idcuest);
                   String modulo = rsmodul.next()? rsmodul.getString("id_modulo"): "";
                   rsmodul.close();
                   stmtmod.close();
                   int secuencia1 = Integer.parseInt(secuens);
                   int secuencia2 = Integer.parseInt(secuenc)+1;
                   secuenc = (secuencia1 == secuencia2)? String.valueOf((Integer.parseInt(secuenc)+1)): secuenc;
                   session.setAttribute("secuenc", secuenc);               
                   if(esAlumno(userid, stmtt, asign)){//if 2
                   if(guardar){//if 2.0
                             String idpreg1 = request.getParameter("idpregunta") != null ? request.getParameter("idpregunta") : "";
                             ResultSet rstipop = stmtt.executeQuery("select tipo from eit_pregunta where id_pregunta="+idpreg1);                         
                             String tipop1 = rstipop.next()? rstipop.getString("tipo") : "";
                             rstipop.close();
                             String respuesta = "N/A", correspondencia ="";                         
                             String restado="n";
                             String rcorrecta = "n";
                             if(tipop1.equals("selec")){
                                  correspondencia = request.getParameter("rprevia") != null? request.getParameter("rprevia") : "-1";
                                  ResultSet rscorrecta = stmtt.executeQuery("select escorrecta from eit_opciones where id_pregunta="+
                                                           idpreg1+" and id_opcion="+correspondencia+" and escorrecta like 's'");
                                  if(rscorrecta.next()){
                                       rcorrecta = "s";
                                  rscorrecta.close();
                             else{
                                  if(tipop1.equals("empar")){
                                       ResultSet rsempar = stmtt.executeQuery("select escorrecta from eit_opciones where id_pregunta="+
                                                                idpreg1+ "order by orden");
                                       int corres = 0;
                                       int correctas = 0;
                                       while(rsempar.next()){                                   
                                                 String resp = request.getParameter("selopc"+String.valueOf(corres+1)) != null? request.getParameter("selopc"+String.valueOf(corres+1)) : "";
                                                 correspondencia=correspondencia+((corres == 0)? "":",")+resp;
                                                 correctas = correctas + (resp.equals(rsempar.getString("escorrecta"))? 1 : 0);
                                                 corres++;
                                       rcorrecta = String.valueOf(correctas);
                                       rsempar.close();
                                  else{
                                       if(tipop1.equals("complet")){
                                            ResultSet rscomplet= stmtt.executeQuery("select correspondencia from eit_opciones where id_pregunta="+idpreg1);
                                            String complet = rscomplet.next()? rscomplet.getString("correspondencia"):"";
                                            rscomplet.close();
                                            String complet1 = "";
                                            int idxcar = complet.indexOf("$");
                                            respuesta = request.getParameter("comp0") != null ? request.getParameter("comp0") : "";
                                            correspondencia = request.getParameter("comp1") != null ? request.getParameter("comp1") : "";
                                            int corrc =0;
                                            if(idxcar>=0){
                                                 complet1 = complet.substring((idxcar+1),complet.length());
                                                 complet = complet.substring(0, idxcar);
                                                 corrc = (respuesta.equalsIgnoreCase(complet))? 1 : 0;
                                                 corrc = (correspondencia.equalsIgnoreCase(complet1))? (corrc+1) : corrc;
                                                 rcorrecta = (corrc==2)? "s": (corrc==1)? "m": "n";
                                            }else{
                                                 corrc=(respuesta.equalsIgnoreCase(complet))? 1 : 0;
                                                 rcorrecta = (corrc==1)? "s": "n";
                                       else{
                                            if(tipop1.equals("abierta")){
                                                 respuesta = request.getParameter("respuesta") != null? request.getParameter("respuesta") : "";
                             String guardarResp = "insert into eit_respuesta(id_pregunta, id_cuestionario, id_materia, id_modulo"+
                                                      ", respuesta, correspondencia, rcorrecta, restado, sec_pregunta, codest)"+
                                                      " values ("+idpreg1+", "+idcuest+", '"+asign+"', "+modulo+", '"+respuesta+"', '"+correspondencia+"', '"+rcorrecta+"', '"+restado+"', "+
                                                      String.valueOf((Integer.parseInt(secuenc)-1))+", "+userid+")";
                             String sqlexistencia = "select id_pregunta from eit_respuesta where codest ="+userid+" and id_cuestionario="+idcuest+" and id_materia="+
                                                           asign+" and id_modulo="+modulo+" and id_pregunta="+idpreg1;                         
                             boolean existeResp = (stmtt.executeQuery(sqlexistencia)).next();
                             String editarResp = "update eit_respuesta set respuesta='"+respuesta+"', correspondencia='"+correspondencia+"', "+
                                                      "rcorrecta='"+rcorrecta+"', restado='"+restado+
                                                      "' where codest ="+userid+" and id_cuestionario="+idcuest+" and id_materia like '"+
                                                      asign+"' and id_modulo="+modulo+" and id_pregunta="+idpreg1;
                             //if the page is editing execute string editarResp else execute string guardarResp
                             stmtt.executeUpdate(existeResp? editarResp:guardarResp);
                        String sqlbpu="select p.enunciado, p.tipo, p.titulo, p.id_pregunta from eit_pregunta p, eit_prexcuest pxc where pxc.id_cuestionario="+idcuest+" and pxc.id_pregunta = p.id_pregunta and pxc.secuenc= "+String.valueOf(secuenc);//bupu: buscar pregunta cuestionario
                        //System.out.println("resolvpreg.jsp "+sqlbpu);
                        ResultSet rsbpu = stmtt.executeQuery(sqlbpu);
                        if(rsbpu.next()){ // if 2.1
                             String enunciado = rsbpu.getString("enunciado");
                             String tipo = rsbpu.getString("tipo");
                             String titulo = rsbpu.getString("titulo");
                             String idpreg = rsbpu.getString("id_pregunta");
    %>
    <h1 align="center"><font color="#0033CC" face="Arial, Helvetica, sans-serif"><%=titulo%></font></h1><br>
    <p align="left"><font face="Arial, Helvetica, sans-serif">
    <strong>Enunciado:</strong> <%=enunciado%>. </font><br>
    <%
         String sqlrespuesta = "select respuesta, correspondencia from eit_respuesta where id_pregunta="+idpreg+
    " and id_cuestionario = "+idcuest+" and id_materia like '"+asign+"' and id_modulo="+modulo+" and codest= "+userid;     
         ResultSet rsrespuesta = stmtresp.executeQuery(sqlrespuesta);     
         String sqlopcs= "select opcion, escorrecta, correspondencia, orden from eit_opciones where id_pregunta ="+idpreg+"order by orden";
         ResultSet rsops = stmtt.executeQuery(sqlopcs);          
    %>
    <%String letras = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
         Vector opciones = new Vector();
         Object obj[] = new Object[4];
         while(rsops.next()){
              obj[0] = rsops.getString("opcion");
              obj[1] = "";
              obj[2] = rsops.getString("correspondencia");
              obj[3] = rsops.getString("orden");
              opciones.addElement(obj.clone());
         rsops.close();
    %>
    <form action="resolverpreg.jsp" method="post" name="Correspondencias">
    <%
         String respEmpar = "";
         String respuestap="";
         String respcorres[] = {"",""};
         if(rsrespuesta.next()){     
              respuestap = rsrespuesta.getString("respuesta");
              respEmpar = rsrespuesta.getString("correspondencia");
              respcorres[0]= respuestap;
              respcorres[1]= respEmpar;
         rsrespuesta.close();
         if (tipo.equals("empar")){
    %>
    <%@ include file="resolvempar.jsp"%>
    <%}//fin if tipoPreg = 'emapar'
         else{
         if(tipo.equals("selec")){
    %> <%@ include file="reslovselec.jsp"%>
         <%}//fin if tipopreg = 'select'
         else{
              if(tipo.equals("complet")){%>
              <%@include file="resolvcomplet.jsp"%>
         <%}//fin if tipopreg='complet'
         else{
              if(tipo.equals("abierta")){%>
              <%@include file="resolvabierta.html"%>
              <%}//fin if tipopreg='abierta'
              else{%>
                   <span class="titolForum">Error: no se ingres&oacute; ning&uacute;n tipo de pregunta
                   o se est� accediendo en forma err&oacute;nea a este sitio.</span>
              <%}//fin else de tipopregunta = 'abierta'%>          
         <%}//fin else tipopreg='complet'%>                    
         <%}// fin else de tipopreg = 'select'%>     
    <%}//fin else de tipoPreg = 'emapar'%>
    <br>
    <input name="idpregunta" type="hidden" value="<%=idpreg%>">
    <input name="guardar" type="hidden" value="si">
    <input name="secuens" type="hidden" value="<%=(1+(Integer.parseInt(secuenc)))%>">
    <input type="submit" name="continuar" value="Continuar">
    </form>
    <%                    rsbpu.close();
                        }//fin 2.1                    
                        else{%>
    Ha terminado de realizar la prueba<br>
    <a href="elejCuestion.jsp">Continuar</a>
    <%}
                   }// fin if 2
                   stmtt.close();
                   stmtresp.close();
                   conn.close();
              }// fin try 1
              catch(Exception expt){
                   out.println("Error: "+expt);
         }//fin eles de if 1
    %>
    </body>
    </html>

  • Some help with dbms_metadata package

    Hi
    I starting to use the package DBMS_Metadata for return metadata and I have some questions
    Firts
    I have a table TBMETADATA (subject varchar2, result clob)
    object = 'table', 'procedure', etc.
    result = keep output dbms_metadata.get_dll
    Now if I drop a table x from my database. How can I to run the script for this table x, stored in TBMETADATA.
    Any idea

    hi user,
    try with this,
       select a from
        select dbms_lob.substr(result,4000) a  from TBMETADATA
       ) where a like '%X%'
       Since you are not saving the table name in the TBTEMPDATA table im searching the same using like operator.
    Hope this helps.
    Regards
    Sankar MN

  • Need help with a package

    I'm don't know anything about packages or much at all as flash is concern. I'm trying to help the company I work for with a banner for the site... I have everything working fine as long as I do it from my desktop but the moment I put it on the site is blank.. I figure out the it may have something to do with my 1st line. I made a directory on the site with the exact same folder structure but I may be missing something. I thing that maybe it because if i rename or move the folder from where is at on the desktop it gives error in flash. How would i go about doing the import so it will read from a website directory.
    package
    import cn.com.aven.*;
    import flash.display.MovieClip;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.display.Sprite;
    import flash.display.Loader;
    import flash.net.navigateToURL;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    public class BannerRotatorMain extends MovieClip

    The class files are used for creating the file that you will place on the server, the fla and as file do not get placed on the server, just the html, swf, and possibly others.  What files did you load to the server?  Do you have a URL you can share?

  • Help with fixing package

    Almost a year ago, the SVN URL for the redeclipse-svn package changed. At that time, it was orphaned, so I adopted the package and fixed the URL in the PKGBUILD. Since then, I stopped playing the game. Now, when I try to install it on my new computer, the package function fails. Being inexperienced with PKGBUILDS, etc., I would like some help in fixing the package.
    Here's the package function:
    cd "$srcdir/$_svnmod"
    make -C src/ DESTDIR="$pkgdir" prefix=/usr \
    appname=redeclipse cappname=REDECLIPSE \
    appsrcname=redeclipse \
    system-install
    install -Dm644 doc/all-licenses.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    And here's what I get when I try to makepkg:
    ==> Entering fakeroot environment...
    ==> Starting package()...
    make: Entering directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    cp -r ../data /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    system-install.mk:98: recipe for target 'system-install-data' failed
    make: *** [system-install-data] Error 1
    make: *** Waiting for unfinished jobs....
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse
    install -m755 redeclipse /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse.6.gz
    install -m755 redeclipse_server \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse-server
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse-server.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse-server.6.gz
    cp -r ../doc/examples /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/examples
    cp ../doc/guidelines.txt /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/guidelines.txt
    install -m755 install/nix/redeclipse-server.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    install -m755 install/nix/redeclipse.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    install -m644 ../data/config/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/data \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/data
    make: Leaving directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    ==> ERROR: A failure occurred in package().
    Aborting...
    The error seems to be here:
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin

    Sorry for derailing this.  Karol, the size was only an issue for me - that doesn't seem to be related to the OPs problems.  I don't know where the 800MB figure came from, but nearly 2GB of space were used up before the svn checkout stalled due to running out of space - the download never even completed.  I didn't try again after that as my download speed isn't that good and it would take a long while to just confirm what I already suspected about the Makefile.

  • Help with Mail Package

    Hi all,
    I have a interface PROXY - MAIL.
    I need to generate the attachment name dynamically, send an attachment and fill the body of email. I'm using Mail Package, according to note 748024.
    But I do not know how to fill the body of email and send attachment.Could someone help me?
    For the attachment name dynamically, I used the link: http://wiki.sdn.sap.com/wiki/display/SI/DynamicEmailAttachmentnameforReceivedMails

    Francis,
    Issue resolved.
    I didn't use the adapter module.
    I use the Mail Package and follow the links:
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    send a mail with a body and attachment
    Thanks.

Maybe you are looking for

  • IPod froze. I've tried everything!

    ejected my iPod from computer and next thing I know the screen glows blank white. When I reset all it does is power down beep 3 times then power back up to the blank white screen again? I have tried the "five Rs" nothing has worked. Any suggestions?

  • How to stop frame from closing?

    Hi, ramka.addWindowListener(new WindowAdapter()               public void windowClosing(WindowEvent e)                   Object [] qqq = {"yes", "no"};                   int answer = JOptionPane.showOptionDialog(                             null,    

  • Launch Webdynpro Callable Object in Mobile?

    I am able to launch the normal Webdynpro Java application in Blackberry, but want to add it to GP Process using Callable Object, but no idea how can we get the URL for WD - Callable Object? Is it possible to launch web dynpro Callable Object in Mobil

  • Exceptions

    Hi everybody in the fourm, anyone knows which exception would thorw this? MAny thanks in advance: try {              amount  = Float.valueOf(text.getText());         } catch(????){              JOptionPane.showMessageDialog(frame,                    

  • Delete an undead contact from my iPad mini permanently?

    How do I delete a contact from my iPad mini permanently? I must have deleted a contact 15 times, spend a lot of time researching the web for a solution. The undead contact is still there when I open contacts again! H E L P  P L E A S E. This contact