Error with f95 on mandriva linux for amd64
Hi,
I have just downloaded sun studio for linux.:
f95: Sun Fortran 95 8.3 Build18_0 2006/03/13
I run this (f95) on a dual core athlon 64 with Mandriva 2006/64.
when I try to compile a simple program I get:
f95 -o out matrix.f90
f95: Cannot find /usr/lib64/libm.a
And indeed, Mandriva only has libm.so.
Why doesn't it link to the shared lib?
Regards,
cino
Unfortunately mandriva does not have libm.a
anywhere in the distro.I had the same problem in a 32-bit system, and I solved it as follows: In Mandriva's package installation window, search "in file names" for "libm.a". The corresponding rpm package should be named "glibc-static-devel-", followed by version number. In my system, the package containing "libm.a" was named "glibc-static-devel-2.3.3-21mdk". If you install this file, the Sun compilers run flawlessly.
Hope I helped.
Similar Messages
-
Errors with the global conversion rule for the field 0SOURSYSTEM.
Hello Gurus,
We are implementing CRM Activities. I enhanced the data source and when I add new info objects to 0SAL_DS01 DSO and trying to activate I'm getting there errors. Can some one please help me out in this problem?
Error in global conversion rule for InfoObject 0SOURSYSTEM
Message no. RSAR263
Diagnosis
Errors with the global conversion rule for the field 0SOURSYSTEM.
System Response
The function module delivers the following error message:
Field "" is unknown. It is neither in one of t
Procedure
Check the definition of the global conversion rule for an InfoObject
What does this error mean? We are using BI 7.
Thanks
RKRI have around 9 source systems, do I have to maintain data for all of them for 0SOURCESYSTEM?
I set data for CRM system and then tried to activate.. but still I'm getting same error.
I;m getting this warning too...
InfoObject 0FISCVARNT needs to be in key for DataStore object C_0SAL_D
Message no. RSDODSO123
Diagnosis
Characteristic 0FISCVARNT is included in the data part of ODS object C_0SAL_D.
System Response
The fiscal year variant cannot be used in the update rules for calculating business hour characteristics.
Does this matter???
Thanks
RKR
Message was edited by:
RKR M -
Any issues with using LDAP on LINUX for GRC 5.2 UME?
Our company is converting our LDAP servers from AIX to LINUX. The DNS name used in our UME connection should not change. Are there any issues with using LDAP on LINUX? We are currently on GRC 5.2 SP9 (in the middle of upgrading to SP12).
Also, I have been trying to connect our test UME system to a test LDAP box that has already been converted to LINUX but keep getting a 'connection failed' error when I try to test it.
Do you have to reboot the server to test changing the LDAP connections? I've been trying it by going into UME, pulling up the LDAP tab, hitting the Modify button, entering the new userid and password for test LDAP, and hitting the Test Connection button. I've verified that this userid and password is correct for test LDAP.
Is there a way to get more information about why the connection failed?
Thanks.I've been told by our LDAP Support group that none of the other configuration settings should have to be changed. I should only have to change the id and password to connect to a test version of LDAP instead of our regular connection to the production LDAP.
Can you test a connection for a different userid/password without having to reboot/restart the server? Do I need to change these two settings, save then, reboot/restart, and then do the Test Connection button?
Thanks. -
How to enable OCR with Scangear MP under Linux for MG8250?
Under Linux openSUSE 12.3 I use Scangear MP 1.80 for my Canon PIXMA MG8250.
As a scan target (in my German GUI it's "Ziel") I can choose "OCR". But there is no text output, the scan is just saved as a picture. How can I configure Scangear to open the scan via Tesseract in a text editor.
By the way, the target "Print" (in German "Drucken") leads to saving just as well, though there is at least one printer at hand, of course.
It's a pity that the pixma scan drivers that are shipped with openSUSE don't work with xsane (the scanner starts working, but stops after one third of the page). Using xsane with a different scanner I can use OCR successfully.
VolkerThere are two basic types of core OCR algorithm, which may produce a ranked list of candidate characters.
Matrix matching involves comparing an image to a stored glyph on a pixel-by-pixel basis; it is also known as "pattern matching" or "pattern recognition". This relies on the input glyph being correctly isolated from the rest of the image, and on the stored glyph being in a similar font and at the same scale. This technique works best with typewritten text and does not work well when new fonts are encountered. This is the technique the early physical photocell-based OCR implemented, rather directly.
Feature extraction decomposes glyphs into "features" like lines, closed loops, line direction, and line intersections. These are compared with an abstract vector-like representation of a character, which might reduce to one or more glyph prototypes. General techniques of feature detection in computer vision are applicable to this type of OCR, which is commonly seen in "intelligent" handwriting recognition and indeed most modern OCR software. Nearest neighbour classifiers such as the k-nearest neighbors algorithm are used to compare image features with stored glyph features and choose the nearest match.
Software such as Cuneiform and Tesseract use a two-pass approach to character recognition. The second pass is known as "adaptive recognition" and uses the letter shapes recognized with high confidence on the first pass to better recognize the remaining letters on the second pass. This is advantageous for unusual fonts or low-quality scans where the font is distorted.
So I wonder which kind of OCR algorithm are you using? -
I'm getting following error in weblogic server log when starting a JMS Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to reconnect
every 10 seconds. This log message will repeat every 600 seconds until the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted, but the pro
vider defined in the EJB is not transacted. Provider should be transacted if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly. QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
ScottHi Scott,
I need a transaction from the MDB since I am not using an EJb to pursue the action.
Hence I need to retain the <trans-attribute>Required</trans-attribute> at the
MDB.
Have any answers?
Pradip
"Scott Yen" <[email protected]> wrote:
>
It's resolved.
The MDB automatically created by JMS Event Generator defaults to be deployed
with
“transacted”. That requires the foreign JMS provider to be “XA”.
The deployment descriptor is created as <domain-directory>/WLIJmsEG_<event_gen_name>.jar
e.g. C:\bea812\user_projects\domains\jmsInterop\WLIJmsEG_mqQueueEventGen.jar
Since MQ in the localhost and remote SLUDV18 are not XA-enabled, we had
to manually
change the <container-transaction> section in ejb-jar.xml:
From :
<trans-attribute>Required</trans-attribute>
To:
<trans-attribute>NotSupported</trans-attribute>
"Scott Yen" <[email protected]> wrote:
I'm getting following error in weblogic server log when starting a JMS
Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to
reconnect
every 10 seconds. This log message will repeat every 600 seconds until
the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted,
but the pro
vider defined in the EJB is not transacted. Provider should be transacted
if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator
for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly.
QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign
JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
Scott -
Error with installing oracle on linux
hi all
i tried to install oracle on oracle enterprise linux REL 5 but error occurred like that :
[oracle@aedc1 ~]$ /mnt/database/runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-14_02-20-04AM. Please wait ...[oracle@aedc1 ~]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-07-14_02-20-04AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
i want to solve this issue plzHi Ora2009,
You can refer the following ML doc,
[Exception java.lang.UnsatisfiedLinkError /jre/1.4.2/lib/i386/libawt.so libXp.so.6 cannot open shared object file No such file or directory occurred on RHEL5/OEL5 for 10.2 x86 or x86_64 install|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443617.1]
Thanks,
Anchorage :) -
SAP TEM Error with Manual Output of Correspondence for Prebookings
Hi All
This is the first time I've posted a question so apologies if I'm in the wrong place and also my knowledge/experience of SAP TEM is very limited so please excuse my ignorance.
There appears to be a problem when using the MS Word (standard letter) push button in transaction PSV1 for course pre-booking correspondence.
I am advised that the functionality should be exactly the same as for firm course booking correspondence but I cannot find any documentation to this effect.
SAP system in place: ECC5
Scenario:
Person is pre-booked on a Business Event and we want to send correspondence to this effect.
Actions performed:
1. Go to transaction PSV1
2. Select the line containing the relevant Business Event Type (title only)
3. Select u2018Attendanceu2019 u2018Correspondenceu2019 u2018Manual Outputu2019 from top menu bar
(pop-up box u2018LFC/notif.abbr (1)u2019 is displayed giving choices)
4. Double click relevant entry
(screen u2018Business Event Notifications: Recipient Listu2019 appears)
5. Select relevant person
6. Press u2018MS Word (standard letter)u2019 button.
Upon executing step 6 the message u2018Error when generating the data table (standard letter) Message no. PV069u2019 is displayed at the bottom of the screen.
When carrying out the same actions above but selecting the line containing specific date with booked persons for the Business Event Type, at step 3 the pop-up box u2018LFC/notif.abbr (2)u2019 is displayed (note the change in number from (1) to (2). Then upon pressing u2018MS Word (standard letter)u2019 button pop-up box u2018MS Word settingsu2019 is displayed and full process can be performed.
Please could someone advise if they have any knowledge in this area and what actions need to be taken in order to resolve the PV069 error message.
I have trawled various areas within the IMG but due to my lack of knowledge of SAP TEM I am at a loss to find anything other than ABAP programming type stuff (way out of my knowledge area at the moment!)
Any help would be very much appreciatedu2026thanks in advance.
Regards
Sharonwelcome to SCN you'r in the right Forum
-
Hello,
When we run the Consolidation several times on the same data range several times the tool adds the results, so we need to execute in a single package a CLEAR data, the Currency Conversion and the Consolidation.
Our package launches a ScriptLogic with the following code:
*XDIM_MEMBERSET C_ACCT=<all>
*XDIM_MEMBERSET FLOW=<all>
*XDIM_MEMBERSET TIME= %TIME_SET%
*XDIM_MEMBERSET GROUPS= %GROUPS_SET%
*XDIM_MEMBERSET C_CATEGORY=%C_CATEGORY_SET%
*XDIM_MEMBERSET ENTITY=<ALL>
*XDIM_MEMBERSET C_DATASRC = <ALL>
*XDIM_MEMBERSET CECO = <ALL>
*XDIM_MEMBERSET INTCO = <ALL>
*WHEN GROUPS
*IS <>"LC", "EUR"
*WHEN C_DATASRC
*IS <>"INPUT","T_MAN"
//Here, we need an instruction to erase the data
*REC(FACTOR=-1,
TIME="%TIME_SET%",
GROUPS="%GROUPS_SET%",
C_CATEGORY="%C_CATEGORY_SET%")
*ENDWHEN
*ENDWHEN
*COMMIT
*INCLUDE FXTRANS.LGF
*INCLUDE CONSOLIDATION.LGF
And when we run the package we get the following error:
An exception with the type CX_SY_ARITHMETIC_OVERFLOW occurred, but was neither handled locally, nor declared in a RAISING clause
Overflow in the operation *
On the one hand, we want to solve the issue and, second, Is it normal that the tool accumulates the results when we run several times the consolidation?
Best regards,
Miguel.Miguel,
Check if you are running in t o this note..
Note 1355621 - overflow in WriteBack concurrent locking
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1355621
Summary
Symptom
System exception CX_SY_ARITHMETIC_OVERFLOW throwed. The exception occurs in CL_UJR_WRITE_BACK=>CHECK_CONCURRENT_LOCK.
Other terms
WriteBack, Overflow
Reason and Prerequisites
This is a program error. The variable(integer) is not large enough to calculate number of all possible combination of dimension members used in one WriteBack data package.
This Note will increase the variable length to 100 to handle a googol (10E100) of combinations.
Solution
Please apply this Note or upgrade to Support Package.
Header Data
Release Status: Released for Customer
Released on: 16.07.2009 05:08:14
Master Language: English
Priority: Correction with low priority
Category: Program error
Primary Component: EPM-BPC-NW-DM-WBV WriteBack Validation
Secondary Components: EPM-BPC-NW NetWeaver Version
Affected Releases
Software
Component
hope this helps..
Edited by: Vishal Mahawadhi on Dec 10, 2009 10:28 AM -
Errors with Fixpack or Service Pack for Crystal Reports 2008
all,
I am trying to update Crystal Reports Server 2008 since I understand that there is some security issue: SAP BusinessObjects Crystal Reports Server CMS.exe Remote Code Execution Vulnerability
I downloaded twice CRSRV03_0-10008663.EXE and the first download is 670.494 kb the second time is 517182 kb... something is wrong with SUPPORT PACKAGES AND PATCHES server at SAP....
I ran CRSRV03_0-10008663.EXE and there isn't a setup.exe in this package and the downloads contains problems and some CAB are not being unpacked...
I never patch CRServer2008 and I wonder if I need to install the previous packs or patches and where I can download the service pack 3
Thanks
RgHi Bob,
Here is an article which will give you a clear idea of what runtimes you need to install on your web server.
[http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567]
[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
i would suggest to install the latest runtimes (sp6 in case of CR XI R2)
- Bhushan. -
Feedback on amazonmp3 for amd64
Hey folks, I've put together an amazonmp3 pkgbuild for amd64 machines and I'd like to get some feedback and help polishing it. It grabs the packages required from the ubuntu repositories and puts everything into /opt/amazonmp3/. There's also a script /usr/bin/amazonmp3 that sets environmentals and calls the binary in opt.
Currently I'm not sure if I got all the dependencies correct and several of the files installed I just stole from the current amazonmp3 pkgbuild.
Not sure why the current amazonmp3 build has x86_64 in arch since it points the boost stuff at /usr/lib and I'm fairly sure we don't have lib32- for boost and gtkmm.
In any case, once verified I haven't done anything stupid I'll put this up on aur.
It seems okay as I've tested it on my machine and successfully downloaded an album.
# Contributor: Chris Schwaab christopher.schwaab gmail
pkgname=amazonmp3-amd64
pkgver=1.0.3
pkgrel=1
pkgdesc="The MP3 downloader with self contained library deps for amd64."
url="http://www.amazon.com/gp/dmusic/help/amd.html"
arch=('x86_64')
license=('custom')
depends=('bash' 'lib32-libxdamage' 'lib32-curl' 'lib32-pango' 'lib32-gtk2')
makedepends=('deb2targz')
provides=('amazonmp3')
conflicts=('amazonmp3')
source=('http://mirrors.kernel.org/ubuntu/pool/main/g/gtkmm2.4/libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/c/cairomm/libcairomm-1.0-1_1.2.4-2_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/g/glibmm2.4/libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/libs/libsigc++-2.0/libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://amazonm-002.vo.llnwd.net/u/d1/clients/amazonmp3_1.0.3~gutsy_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/main/b/bzip2/libbz2-1.0_1.0.4-0ubuntu2.1_i386.deb')
md5sums=('d3856f10fdecee58656263157ab3b68d'
'dcc40c10a2ae127e088db9ec08d91e7e'
'cd8ac50ac2347e9d9408eab68501c5cc'
'3730b46f495a27598966a864bea8a0ca'
'0ecf7a773aec14a63e1b7c7169a72c22'
'ea127e805b17bfc616794c6860bc8304'
'b9415e35d293f5f28d340cb5fb63d34e'
'6a02ddcea0b9bb305bfe5ca9311d223a'
'0a9b986e2e9ba5be7e412e9742688ebb'
'e19195eb92daaa687cb2072672201c25')
build() {
deb2targz libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.deb \
libcairomm-1.0-1_1.2.4-2_i386.deb \
libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.deb \
libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.deb \
libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libbz2-1.0_1.0.4-0ubuntu2.1_i386.deb \
amazonmp3_1.0.3~gutsy_i386.deb
tar -xzf libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.tar.gz
tar -xzf libcairomm-1.0-1_1.2.4-2_i386.tar.gz
tar -xzf libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.tar.gz
tar -xzf libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.tar.gz
tar -xzf libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libbz2-1.0_1.0.4-0ubuntu2.1_i386.tar.gz
tar -zxf amazonmp3_1.0.3~gutsy_i386.tar.gz
mkdir -p $pkgdir/opt/amazonmp3
mkdir -p $pkgdir/usr/share/doc/amazonmp3
mkdir -p $pkgdir/usr/share/mime-info/
tar -cf - -C lib ./ | tar -xf - -C $pkgdir/opt/amazonmp3
tar -cf - -C usr/lib ./ | tar -xf - -C $pkgdir/opt/amazonmp3
cat > amazonmp3 <<__EOF__
#!/bin/bash
export GTK_PATH=/opt/lib32/usr/lib/gtk-2.0
export GDK_PIXBUF_MODULE=/opt/lib32/config/gdk/gdk-pixbuf.loaders
export PANGO_RC_FILE=/opt/lib32/config/pango/pangorc
export LD_LIBRARY_PATH=/opt/lib32/usr/lib:/opt/amazonmp3:\$LD_LIBRARY_PATH
/opt/amazonmp3/amazonmp3
__EOF__
install -D -m644 usr/share/doc/amazonmp3/license.html \
$pkgdir/usr/share/licenses/amazonmp3-amd64/license.html
install -D -m755 amazonmp3 $pkgdir/usr/bin/amazonmp3
install -D -m755 usr/bin/amazonmp3 $pkgdir/opt/amazonmp3/amazonmp3
install -D -m644 usr/share/applications/amazonmp3.desktop \
$pkgdir/usr/share/applications/amazonmp3.desktop
install -D -m644 usr/share/doc/amazonmp3/* \
$pkgdir/usr/share/doc/amazonmp3
install -D -m644 usr/share/mime/packages/amazonmp3.xml \
$pkgdir/usr/share/mime/packages/amazonmp3.xml
install -D -m644 usr/share/mime-info/* \
$pkgdir/usr/share/mime-info/
install -D -m644 usr/share/mimelnk/audio/x-amzxml.desktop \
$pkgdir/usr/share/mimelnk/audio/x-amzxml.desktop
install -D -m644 usr/share/pixmaps/amazonmp3.png \
$pkgdir/usr/share/pixmaps/amazonmp3.png
Thanks.
Last edited by lpjhjdh (2008-12-14 18:52:44)Hey thanks a lot! I've now removed everything that I previously needed a chroot for!
The only issue with the PKGBUILD was that it didn't automatically download and install the dependencies: aka deb2targz, lib32-curl, etc. It just stopped with a "ERROR Could not resolve all dependencies". But as soon as I installed them manually, the rest of the PKGBUILD worked great!
Thanks! Look forward to seeing it in the AUR!
Scott -
When installing Premiere Elements I get an error with Shared Technologies
When installing Premiere Elements onto a Windows XP Service Pak 3, I get an error with Shared Technologies.
Hi,
Thx for the reply.
I had Bridge open in background and once I closed that Elements installed correctly.
Thank you. -
Error with forign key constraints
hi
I have a .sql file which contains about 180 tables scripts . TO disable the contraints i ran the below script first
begin
for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R')
loop
execute immediate
'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
end loop;
end;
and then the .sql file by giving @filename.sql .Some of the scripts are getting executed but the one's having forign key references it is showing containt error foreign key check. but when i ran the above script ie the one to disable the foreign key check again and then ran each of these table scripts which showed error before manually it gets executed .why is this so? can anyone help me in solving this problem
Thanking you in advance
DinnyI have a .sql file which contains table scripts and i some of these tables there is foreign key referencesing other tables so when i am ruuning the script it is showing such tables(ie the tables that i am refering to) is not existing for eg below is one of the script from the .sql file
create table t_system_groups (
group_id NUMBER(11) not null,
group_name VARCHAR2(255) not null,
group_desc VARCHAR2(255),
parent_id NUMBER(11) default '0',
full_path VARCHAR2(255) default NULL,
CONSTRAINT pk_group_id_t_system_groups PRIMARY KEY (group_id),
CONSTRAINT uk_group_name_t_system_groups UNIQUE (group_name),
CONSTRAINT fk_t_system_groups FOREIGN KEY (parent_id) REFERENCES t_system_groups (group_id) ON DELETE CASCADE
Since i have run the script for disabling the constraints before running the .sql file then why is it showing such as error. also showing errors with drop table having references
for eg:
SQL> begin
2 for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R'
3 loop
4 execute immediate
5 'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
6 end loop;
7
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> drop table t_system_groups;
drop table t_system_groups
ERROR at line 1:
ORA-02449: unique/primary keys in table referenced by foreign keys
Regards
dinny -
Running Error with Profiler: Mandriva
Hi,
I got this error when launching the profiler on my PC. How to solve this??? Thanks! P.S.: On the same PC with OpenSuse it works.. however I have removed OpenSuse to use the more powerful Mandriva.
Running "/opt/sun/sunstudio12/prod/bin/collect -d /home/myuser/Steam3D/SunStudioProjects/Steam3D_MLX/nbproject/private/experiments -o test.2.er -L none -A on -p on -S on /home/myuser/Steam3D/SunStudioProjects/Steam3D_MLX/../../Steam3D_MLX/bin/Steam3D provascambista" in /home/myuser/Steam3D/Steam3D_MLX
Unknown Redhat Linux version
Mandriva Linux release 2008.1 (Official) for x86_64
WARNING: Linux-64-bit, 2 CPUs, RH_UNK system localhost is not supported by the Performance tools.
WARNING: Data collection may fail: system is not properly configured or is unsupported.
Creating experiment database /home/malossi/Steam3D/SunStudioProjects/Steam3D_MLX/nbproject/private/experiments/test.2.er ...
Run failed. Exit value 139.That version of Linux is unsupported, so you get the warning message. We think it's a variant
of RedHat; is it?
But, that said, the tools may well work. It's impossible to tell from the information you
provided what happened. Was an experiment recorded? What does "er_print -header"
say about the experiment? You can send me email at marty dot itzkowitz
in the sun dot com domain with more detailed information to pursue it further.
I also need to know which version of the tools you were using. What does
"collect -V" say?
Marty Itzkowitz -
Error when connect to SAP with JCo Connector on linux
Dear all,
Please, i need help. i was tray to connect to SAP with SAP JCo on linux ubuntu, but i have an error.
this is the error :
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=myhost, GWSERV=sapgw00, ASHOST=myhost, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'avatar-bumi' unknown
TIME Thu Feb 14 15:25:48 2008
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -2
MODULE niuxi_mt.c
LINE 388
DETAIL NiPGetHostByName2: hostname 'avatar-bumi' not found
SYSTEM CALL gethostbyname_r
ERRNO 110
ERRNO TEXT Connection timed out
COUNT
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at sapjco.Main.main(Main.java:34)
Exception in thread "main" com.sap.mw.jco.JCO$Exception: (121) JCO_ERROR_NULL_HANDLE: Invalid rfc_handle = NULL encountered
at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:1233)
at com.sap.mw.jco.JCO$Client.getAttributesInternal(JCO.java:2940)
at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2994)
at sapjco.Main.main(Main.java:38)
How to resolve this error....
Regards,
Lisa
Edited by: Lisa Yanti on Feb 14, 2008 9:35 AMI was resolve this error by my self.
We can handle this error with registering our current IP and host name on /etc/hosts.
example:
content of /etc/hosts:
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
added the ip and host name to be like this configuration
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
172.20.17.74 myhost
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts -
Elisa for i586: try to build gdk-pixbuf, error with libtool
Hi there!
I set up Archlinux on my Barebone, great job with the "new" i586 repo!
i try to build to build the packages on my laptop by simply editing my makepkg.conf to:
CARCH="i586"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i586 -mtune=generic -O2 -pipe"
this works for me for freevo, mplayer and many other programs. but now i tried to install elisa on this machine, everything build correct, but when i start elisa, i only get:
#--> elisa
Launcher core version: 0.5.29
/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5
Current core version: 0.5.29
/usr/lib/python2.6/site-packages/elisa/core/utils/classinit.py:34: UserWarning:
ClassInitMeta class is deprecated
warn("ClassInitMeta class is deprecated")
Traceback (most recent call last):
File "/usr/bin/elisa", line 8, in <module>
load_entry_point('elisa==0.5.29', 'gui_scripts', 'elisa')()
File "/usr/lib/python2.6/site-packages/elisa/core/launcher.py", line 380, in main
Launcher().main(sys.argv)
File "/usr/lib/python2.6/site-packages/elisa/core/launcher.py", line 83, in main
return self.main_after_voodoo(argv)
File "/usr/lib/python2.6/site-packages/elisa/core/launcher.py", line 224, in main_after_voodoo
self.run_application()
File "/usr/lib/python2.6/site-packages/elisa/core/launcher.py", line 351, in run_application
application = Application(self.options)
File "/usr/lib/python2.6/site-packages/elisa/core/application.py", line 228, in __init__
self._splash = SplashScreen()
File "/usr/lib/python2.6/site-packages/elisa/core/utils/splash_screen.py", line 74, in __init__
pixbuf = gtk.gdk.pixbuf_new_from_file(LOGO_PATH_SQUARE)
glib.GError: Couldn't recognize the image file format for file '/usr/lib/python2.6/site-packages/elisa/core/data/splash_screen_square.png'
gtk, gdk an anything else is build correct, so i thought, maybe there is something wrong with gdk-pixbuf. i don't post this thread in the i586 subforum, because i have the same problems building it for i686 arch, too! i fetch the newest pkgbuild from abs, heres the output:
`--> makepkg
==> Making package: gdk-pixbuf 0.22.0-4 i586 (Wed Mar 4 00:26:53 CET 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found gdk-pixbuf-0.22.0.tar.bz2 in build dir
-> Found gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch in build dir
-> Found gdk-pixbuf-0.22.0-bmp_secure.patch in build dir
-> Found gdk-pixbuf-0.22.0-loaders.patch in build dir
-> Found gdk-pixbuf-0.22.0-m4.patch in build dir
==> Validating source files with md5sums...
gdk-pixbuf-0.22.0.tar.bz2 ... Passed
gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch ... Passed
gdk-pixbuf-0.22.0-bmp_secure.patch ... Passed
gdk-pixbuf-0.22.0-loaders.patch ... Passed
gdk-pixbuf-0.22.0-m4.patch ... Passed
==> Extracting Sources...
-> bsdtar -x -f gdk-pixbuf-0.22.0.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file gdk-pixbuf/io-bmp.c
patching file gdk-pixbuf/io-bmp.c
Hunk #1 succeeded at 883 (offset 7 lines).
patching file gdk-pixbuf/io-ico.c
patching file gdk-pixbuf/io-xpm.c
patching file gdk-pixbuf.m4
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking whether make is GNU Make... yes
checking for gnome-config... no
Not building GnomeCanvasPixbuf library
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... libtool: line 397: CDPATH: command not found
yes
checking for location of rgb.txt database... /usr/lib/X11/rgb.txt
checking for TIFFReadScanline in -ltiff... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for png_read_info in -lpng... yes
checking for png.h... yes
checking for png_structp in png.h... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for gtkdoc-mkdb... true
checking gtk-doc version (1.10) >= 0.6... yes
checking for db2html... false
checking for x86 platform... yes
checking compiler support for MMX... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gdk-pixbuf.spec
config.status: creating gdk-pixbuf/Makefile
config.status: creating gdk-pixbuf/gdk-pixbuf-features.h
config.status: creating gdk-pixbuf/pixops/Makefile
config.status: creating gdk-pixbuf-config
config.status: creating demo/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0'
Making all in gdk-pixbuf
make[2]: Entering directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0/gdk-pixbuf'
Making all in pixops
make[3]: Entering directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0/gdk-pixbuf/pixops'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../gdk-pixbuf -march=i586 -mtune=generic -O2 -pipe -c pixops.c
../../libtool: line 397: CDPATH: command not found
../../libtool: line 1075: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [pixops.lo] Error 63
make[3]: Leaving directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0/gdk-pixbuf/pixops'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andieh/build/i586/gdk-pixbuf/src/gdk-pixbuf-0.22.0'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed.
Aborting...
i really dont know what went wrong here. maybe one of you could try to build this, so i know there is something wrong with my machine. i also tried to build this package on the barebone itself, but there is the same error, too.
thank you very much for your help!
andiehhi stefan, thank you for your reply.
there is no ./autogen.sh, and autoreconf gives me the following output. i tried aclocal and autoconf, too, but also no success...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
demo/Makefile.am: required file `./depcomp' not found
demo/Makefile.am: `automake --add-missing' can install `depcomp'
doc/Makefile.am:160: blank line following trailing backslash
gdk-pixbuf/Makefile.am:121: `libexecdir' is not a legitimate directory for `LTLIBRARIES'
gdk-pixbuf/Makefile.am:70: variable `libpixbufloader_tiff_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:70: library has `libpixbufloader_tiff_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:56: variable `libpixbufloader_ico_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:56: library has `libpixbufloader_ico_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:63: variable `libpixbufloader_ras_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:63: library has `libpixbufloader_ras_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:49: variable `libpixbufloader_gif_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:49: library has `libpixbufloader_gif_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:28: variable `libpixbufloader_png_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:28: library has `libpixbufloader_png_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:77: variable `libpixbufloader_pnm_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:77: library has `libpixbufloader_pnm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:42: variable `libpixbufloader_xpm_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:42: library has `libpixbufloader_xpm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:91: variable `libpixbufloader_xbm_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:91: library has `libpixbufloader_xbm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:84: variable `libpixbufloader_bmp_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:84: library has `libpixbufloader_bmp_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:35: variable `libpixbufloader_jpeg_la_LIBADD' is defined but no program or
gdk-pixbuf/Makefile.am:35: library has `libpixbufloader_jpeg_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:76: variable `libpixbufloader_pnm_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:76: library has `libpixbufloader_pnm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:69: variable `libpixbufloader_tiff_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:69: library has `libpixbufloader_tiff_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:41: variable `libpixbufloader_xpm_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:41: library has `libpixbufloader_xpm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:62: variable `libpixbufloader_ras_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:62: library has `libpixbufloader_ras_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:90: variable `libpixbufloader_xbm_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:90: library has `libpixbufloader_xbm_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:83: variable `libpixbufloader_bmp_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:83: library has `libpixbufloader_bmp_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:27: variable `libpixbufloader_png_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:27: library has `libpixbufloader_png_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:34: variable `libpixbufloader_jpeg_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:34: library has `libpixbufloader_jpeg_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:48: variable `libpixbufloader_gif_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:48: library has `libpixbufloader_gif_la' as canonic name (possible typo)
gdk-pixbuf/Makefile.am:55: variable `libpixbufloader_ico_la_LDFLAGS' is defined but no program or
gdk-pixbuf/Makefile.am:55: library has `libpixbufloader_ico_la' as canonic name (possible typo)
/usr/share/automake-1.10/am/depend2.am: am__fastdepCCAS does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCCAS' is to add `AM_PROG_AS'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' and `autoconf' again.
gdk-pixbuf/pixops/Makefile.am: Preprocessed Assembler source seen but `CCAS' is undefined
gdk-pixbuf/pixops/Makefile.am: The usual way to define `CCAS' is to add `AM_PROG_AS'
gdk-pixbuf/pixops/Makefile.am: to `configure.in' and run `aclocal' and `autoconf' again.
gdk-pixbuf/pixops/Makefile.am: Preprocessed Assembler source seen but `CCASFLAGS' is undefined
gdk-pixbuf/pixops/Makefile.am: The usual way to define `CCASFLAGS' is to add `AM_PROG_AS'
gdk-pixbuf/pixops/Makefile.am: to `configure.in' and run `aclocal' and `autoconf' again.
autoreconf: automake failed with exit status: 1
Maybe you are looking for
-
DVI MONITOR will it work?
My mini has a DVI output for the monitor, I can't afford an Apple display, will another monitor work if it has a DVI intertface? If so, any recommendations?My mini was Christmas present. I haven't hooked it up to try it out yet. Thought getting this
-
* The Back Button : the Anti-Ajax [advice wanted]
I'm working on a group project that involves a flash-based chat system for the site's users not unlike MSN Messenger. Right now, we have a pop-up containing the flash chat module, and a 1px hidden frame to keep a constant line to the server open. We'
-
When I tried to run php file I am getting the following error message, "/home/karthick/Desktop/PHP files/third.php could not be opened, because the associated helper application does not exist. Change the association in your preferences." How to fix
-
What is the newest version of Adobe Acrobat Standard that runs on Windows XP SP3? I currently have Adobe Acrobat Standard 6.0.0. Thanks!
-
Flash plugin load behind the GFW of China
Hello. I am in China and Youtube is filtered by the powers that be. I can see the youtube.com home page if I load it through a proxie server. That still doesn't allow me to see any videos because the Adobe Flash plugin will not load via the remote pr