Problem compiling PHP5 & libiconv problem
Hello,
I just tried to recompile php5.3.1 on my Mac mini Server 10.6.2 but It's impossible for me to compile because I always get the follow error:
Undefined symbols:
"libiconvopen", referenced from:
doconvert in gdkanji.o
_php_iconvstrlen in iconv.o
php_iconvstring in iconv.o
_php_iconvstrpos in iconv.o
zif_iconvsubstr in iconv.o
zif_iconvsubstr in iconv.o
_php_iconv_mimedecode in iconv.o
_php_iconv_mimedecode in iconv.o
zif_iconv_mimeencode in iconv.o
zif_iconv_mimeencode in iconv.o
php_iconv_stream_filter_factorycreate in iconv.o
_convert in encodings.o
"_libiconv", referenced from:
doconvert in gdkanji.o
_convert in encodings.o
"libiconvclose", referenced from:
doconvert in gdkanji.o
_php_iconvstrlen in iconv.o
php_iconvstring in iconv.o
php_iconvstring in iconv.o
_php_iconvstrpos in iconv.o
zif_iconvsubstr in iconv.o
zif_iconvsubstr in iconv.o
php_iconv_stream_filterdtor in iconv.o
_php_iconv_mimedecode in iconv.o
_php_iconv_mimedecode in iconv.o
_php_iconv_mimedecode in iconv.o
zif_iconv_mimeencode in iconv.o
zif_iconv_mimeencode in iconv.o
_convert in encodings.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: * [libs/libphp5.bundle] Error 1
I read that I have to change the iconv.c but this doesn't fix it for me. I installed the latest libiconv and I tried --without-iconv but I still get the compiling error! Can anybody help me? Thanks a lot
Robert
Hi
I thought it could be due to the fact that the Oracle 10g DB was
using the java 1.4 version. So, I deleted the jdk folder in
C:\oracle\product\10.2.0\db_1\bin\jdk with the jdk 1.5 version that
I downloaded from the internet. I was hoping I could upgrade the
java version from 1.4 to 1.5 that way.1) The JDK installed in the ORACLE_HOME is not the one used by the database engine.
2) It is not possible to change the JVM running inside the database. You have to use the version provided by Oracle: 1.4.2 for 10.2.0.
HTH
Chris Antognini
Troubleshooting Oracle Performance, Apress 2008
http://top.antognini.ch
Similar Messages
-
Can't compile PHP5.2 with Oracle ORA support, please help!
Hi peoples,
first post on here - hope someone can assist.
I am compiling PHP 5.2 on RedHat Enterprise 4 AS intel 64bit with oracle ORA and LDAP support compiled in. I am using Apache 2.0.52-28 installed from RedHat RPMs.
I am using the following configure line:
./configure with-apxs2=/usr/sbin/apxs with-config-file-path=/etc/httpd/conf with-oracle=/export/oracle/pegasus/product/9.2.0 with-ldap=/usr enable-sigchild enable-libgcc
The only oracle related messages I have found during the configuration are:
checking for Oracle (OCI8) support... no
checking Oracle OCI support for PDO... no
However I am told these are newer methods of Oracle communication protocols and not related to what I am trying to achieve.
After building and installing PHP 5.2, reconfiguring apache httpd.conf and restarting httpd I find that the output of phpinfo.php shows no mention of oracle whatsoever apart from the Configure Command section at the beginning confirming that yes, --with-oracle= was specified.
I have tried setting ORACLE_HOME=/export/oracle/pegasus/product/9.2.0 environment variable before running ./configure but to no avail.
I have also tried adding various Oracle environment variables to my startup scripts for Apache, also to no avail.
Any ideas? I am really under the pump to get this sorted as it is for a new production server here and I am limited timewise to get it up and running.
Cheers
AndyHi Andy,
I have php 5.2 installed on a RH 64 bits so our configurations are almost the same (I use Apache 1.3 and Oracle 10g).
I compiled 5.2 from source succesfully with this instruction:
./configure with-config-file-path=/opt/apache with-libdir=lib64 with-oci8=/opt/oracle/orase/oracle/product/10.2.0/db_1 with-apxs=/opt/apache/bin/apxs --enable-sigchildReplace the required values to match your system and try to see if it works for you.
Let me know how it goes. Any additional problem, I'm glad to help. -
Dear all,
While i'm trying to compile php5 for installing on Linux AS 3, I got the error message related to xml lib "configure: error: libxml2 version 2.6.11 or greater required".
although i download libxml2-2.6.22-1.src.rpm from xmlsoft.org and rpmbuild --rebuild this package, i still got the same error message?
How to solve this? My purpose of this installation is to get php_oci8.dll and ora_logon.dll because i can't connect to oracle from php!
(oracle 9i, linux as 3 and php5)
Very appreciate for anyone help..,
iKhmerDoes the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
-- cj -
PHP5 With MySQL Pre-compile Configuration Error
I have been attempting to compile PHP5 in order to get GD support for a Drupal website. The configuration runs fine until it gets to the MySQL configuration. It fails when checking "lmysqlclient" however the file appears to be found but it is of the wrong archetecture. I am using the MySQL.com binary for MySQL. The conf.log file for PHP is as follows:
-----START CONF.LOG-----
any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_close();
int main() {
mysql_close()
; return 0; }
configure:59851: checking for mysql_error in -lmysqlclient
configure:59870: gcc -o conftest -I/usr/include -g -O2 -no-cpp-precomp -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib -Wl,-rpath,/sw/lib -L/sw/lib -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lldap -llber -liconv -liconv -lgd -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm -lxml2 -lz -licucore -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -licucore -lm 1>&5
ld warning: in /usr/local/mysql/lib/libmysqlclient.dylib, file is not of required architecture
Undefined symbols:
"mysqlerror", referenced from:
_main in ccaK6P1K.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure: failed program was:
#line 59859 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();
int main() {
mysql_error()
; return 0; }
-----END CONF.LOG-----MasterStarman wrote:
Sorry I haven't replied. Here is the output of the command you told me to run:
/usr/local/mysql/lib/libmysqlclient.dylib: Mach-O 64-bit dynamically linked shared library x86_64
OK. Now do that again on all of the libraries that you are linking with in that configure step. One (or more) of them is going to be i386. Download the source for those libraries, install them into /usr/local, and re-do your configure.
EDIT: I have looked through other threads about PHP and GD, it seems like I'm not the only one who wishes Apple would have included a very common library with the Mac. I sincerely hope they include better options in 10.6.
I agree. I will say this for the Linux community - they are much handier at compiling their own code. Mac people tend to look for an easy way out and often get stuck because of it.
I also have boiled it down to probably recompiling MySQL however this of course presents problems with the Leopard server as MySQL is a little more integrated.
That is unlikely to help. You have an entire system - Apache, PHP, MySQL that all need to link together. You can't fix just one. (Actually you can, but people prefer to use the optimized versions with Apache). You must do them all the same way and correctly. You don't have to replace anything that Apple has done. You could install your own pre-build software using MAMP. You could build it all yourself and install in /usr/local. Unfortunately, the answer most people pick is "try to fix the system install". That is possible, but it has to be done correctly and requires that you know how to do such things. -
I need to have IMAP added to the PHP5 installed with 10.5 Server. Anyone know an easy way to do this?
It took me a while to get this going, but I was able to install SugarCRM on Mac OS X using the following threads as my guideline. My major problem was missing MySQL Headers preventing PHP 5 from being compiled.
MySQL headers were missing from the Mac OS X Server distribution and I needed to get these before starting (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html). Then, I followed the steps to download and compile PHP 5 with IMAP. Followed the steps to compile PHP5 and then once I recompiled PHP, Apache did not work, so I recompiled Apache.
If you can not compile PHP and it stops at searching for the MySQL headers, you can download them here (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html).
As per the thread, you can download the headers from here:
(Follow instructions in ReadMe)
download and unpack from:
http://www.opensource.apple.com/darwinsource/other/MySQL-43.binaries.tar.gz
sudo tar -xzvf MySQL-43.root.tar.gz -C /
Follow steps for recompiling php and IMAP in THIS thread from David Shauger1 (Thanks David)
To install the IMAP extensions do this (as root):
sudo mkdir -p /SourceCache
cd /SourceCache
sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
sudo tar xzf c-client.tar.Z
sudo mv imap-2006k imap-2006h
cd imap-2006h
sudo make oxp
cd c-client
sudo cp *.h /usr/local/include
sudo cp *.c /usr/local/lib
sudo cp c-client.a /usr/local/lib/libc-client.a
Then, download recompile the latest version of PHP 5 following these instructions:
http://downloads.topicdesk.com/docs/UpdatingPHP_on_OS_XServer.pdf
php configuration command:
./configure --prefix=/usr/local/php5 --mandir=/usr/
share/man --infodir=/usr/share/info --with-apxs --with-
ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-
dir=/usr --with-libxml-dir=/usr --enable-exif --enable-
ftp --enable-mbstring --enable-sockets --with-iodbc=/usr
--with-curl=/usr --with-config-file-path=/private/etc --
with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock
Finally, follow steps for recompiling apache
Read entire thread (http://discussions.apple.com/thread.jspa?messageID=5676677&tstart=0)
1. Download the Apache2 source from http://httpd.apache.org/download.cgi (latest version is 2.2.6) and extract it.
2. Open Terminal and go to that directory. If you extract sources into your Downloads folder, type "cd ~/Downloads/httpd-2.6.6" and hit return
3. Type "./configure --enable-layout=Darwin --enable-mods-shared=all" and hit return
4. Wait for the process to complete and then type "make" and return
5. Wait for the process to complete and then type "sudo make install" and return -
Make php5.1.4 with oracle instantclient on Intel
I've configured and am now trying to make a PHP5.1.4 installation running Mac OS X 10.4.7 on a MacBook. I'm trying to configure it to work with the Oracle instantclient, which worked fine on my PowerBook running 10.4.xx
I read somewhere that after PHP 5.1.2, the configure changed from
./configure --with-oci8-instant-client=/usr/local/oracle/instantclient10_1
to
./configure --with-oci8=instantclient,/usr/local/oracle/instantclient10_1
The former will make and install, but it apparently ignores the oracle directive because it isn't listed in the PHP info page.
The latter will configure, but will not make, giving this error:
...(successful configs)...
/usr/bin/ld: warning /usr/local/oracle/instantclient10_1/libclntsh.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning multiple definitions of symbol pcrecallout
ext/pcre/pcrelib/pcre_globals.o definition of pcrecallout in section (_DATA,_data)
/opt/apache2/bin/httpd definition of pcrecallout
/usr/bin/ld: warning multiple definitions of symbol pcreconfig
ext/pcre/pcrelib/pcre_config.o definition of pcreconfig in section (_TEXT,_text)
/opt/apache2/bin/httpd definition of pcreconfig
/usr/bin/ld: warning multiple definitions of symbol pcre_stackfree
ext/pcre/pcrelib/pcre_globals.o definition of pcre_stackfree in section (_DATA,_data)
/opt/apache2/bin/httpd definition of pcre_stackfree
/usr/bin/ld: warning multiple definitions of symbol pcre_stackmalloc
ext/pcre/pcrelib/pcre_globals.o definition of pcre_stackmalloc in section (_DATA,_data)
/opt/apache2/bin/httpd definition of pcre_stackmalloc
/usr/bin/ld: Undefined symbols:
_OCIAttrGet
_OCIAttrSet
_OCIEnvInit
_OCIEnvNlsCreate
_OCIErrorGet
_OCIHandleAlloc
_OCIHandleFree
_OCINlsCharSetNameToId
_OCINlsEnvironmentVariableGet
_OCIPasswordChange
_OCIServerAttach
_OCIServerDetach
_OCIServerVersion
_OCISessionBegin
_OCISessionEnd
_OCITransCommit
_OCITransRollback
_OCIDescriptorAlloc
_OCIDescriptorFree
_OCILobAppend
_OCILobCharSetId
_OCILobClose
_OCILobCopy
_OCILobCreateTemporary
_OCILobDisableBuffering
_OCILobEnableBuffering
_OCILobErase
_OCILobFileClose
_OCILobFileOpen
_OCILobFlushBuffer
_OCILobFreeTemporary
_OCILobGetLength
_OCILobIsEqual
_OCILobIsTemporary
_OCILobOpen
_OCILobRead2
_OCILobTrim
_OCILobWrite
_OCIBindByName
_OCIBindDynamic
_OCIBindObject
_OCIDateFromText
_OCIDateToText
_OCIDefineByPos
_OCIParamGet
_OCIStmtExecute
_OCIStmtFetch
_OCIStmtPrepare2
_OCIStmtRelease
_OCIStmtSetPieceInfo
_OCICollAppend
_OCICollAssign
_OCICollAssignElem
_OCICollGetElem
_OCICollMax
_OCICollSize
_OCICollTrim
_OCIDescribeAny
_OCINumberFromReal
_OCINumberToReal
_OCIObjectFree
_OCIObjectNew
_OCIStringAssignText
_OCIStringPtr
_OCITypeByName
_OCITypeByRef
collect2: ld returned 1 exit status
make: * [libs/libphp5.bundle] Error 1
I know the Oracle instantclient is working, because I can access our Oracle databases through the sqlplus client.
Has anybody successfully compiled PHP5 with Oracle instant client on an Intel? If so, how?
Thanks,
jim
MacBookPro1,2 17" Mac OS X (10.4.7)Thanks for the reply.
I can configure for Oracle InstantClient using your suggestion, however it will not configure for mysqli with the ppc architecture.
Terminal messages:
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysqlset_serveroption in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.
From config.log:
configure:59445: checking for MySQLi support
configure:59491: checking whether to enable embedded MySQLi support
configure:59637: checking for mysqlset_serveroption in -lmysqlclient
configure:59656: gcc -o conftest -I/usr/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -no-cpp-precomp -L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib -lmysqlclient -lz -lm conftest.c -lmysqlclient -lldap -llber -liconv -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
/usr/bin/ld: warning /usr/local/mysql/lib/libmysqlclient.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning /usr/local/mysql/lib/libmysqlclient.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
mysql_set_serveroption
collect2: ld returned 1 exit status
configure: failed program was:
#line 59645 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysqlset_serveroption();
int main() {
mysqlset_serveroption()
; return 0; }
Is there a way to have both Oracle support and mysqli support in PHP5 on MacIntel?
Thanks again,
jim -
Update PHP with IMAP (installing SugarCRM on 10.5.4)
I have seen parts of this covered before for 10.4.x but i am now trying to include c-client on 10.5.4.
see http://discussions.apple.com/thread.jspa?messageID=4598819�
I get sugar installed fine but on OSX when i try and set up mail it gives me this error:-
Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module. Please contact your administrator to resolve this issue.
*so far i have done the following.*
sudo mkdir -p /SourceCache
cd /SourceCache
sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
sudo tar xzf c-client.tar.Z
cd imap-200XX (folder will represent the latest version)
sudo make oxp
mkdir /usr/local/imap/include
mkdir /usr/local/imap/lib
cd c-client/
cp *.h /usr/local/imap/include
cp *.c /usr/local/imap/lib
cp c-client.a /usr/local/imap/lib
cd /usr/local/imap/lib
ln c-client.a libc-client.a
# i hate renaming when it might be needed in its real name.
i need to make mysql headers available too as trying to build php now brings up errors...
see here.
http://docs.info.apple.com/article.html?artnum=306782
I think the mysql headers (or client libs) must be installed to make php with the same configure command that it was installed with
I have downloaded the same version of mysql that 10.5 uses mysql-5.0.45.tar.gz and have expanded that into the /SourceCache - it configures and makes without erros but i am unable to build php with the mysql statements included - see below
cd /SourceCache
get php-5.2.6.tar.gz from your local mirror
cd cd /SourceCache/php-5.2.6
sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs2=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-openssl --with-xmlrpc --with-xsl=/usr --with-pear --with-imap=/usr/local/imap --with-mysql-sock=/var/mysql --with-mysqli=/usr/bin/mysql_config --with-mysql=/SourceCache/mysql/mysql-5.0.45
I added my --with-imap=/usr/local/imap statement to include the libc-client c-client kit..
BUT i can only get it to build without the mysql statements.. do i really need mysql built in... it was in the original php configure script so i want to keep as much like the original as possible so i do not break things.
The build (with out mysql statmens) also throws up these few errors.. which is strange as these were in the build line from a info.php script i ran against the server...
Notice: Following unknown configure options were used:
--disable-dependency-tracking
--enable-trans-sid
--with-xml
--enable-dbx
Referances
my main source of info was from here...
http://discussions.apple.com/thread.jspa?messageID=4598819�
looks like apple have come up against this before but is for an earlier version of MySQL so i would not install it.
http://docs.info.apple.com/article.html?artnum=306782
http://discussions.apple.com/thread.jspa?messageID=7828379It sounds like you need to download the MySQL headers. Yes you do need MySQL.
Here's how I solved this problem. I used this thread as my basis:
http://discussions.apple.com/message.jspa?messageID=6112771
My updated instructions are located below with sources. I had to complete these steps again today. You had better get good at this, because Leopard updates may force you to repeat these steps. I completed this stuff back in Dec and here I am again. I did not have to re-download, but that means that I am using older versions of these programs/modules. BTW - the older stuff still works for SugarCRM. You may be using more updated files if you are downloading/have downloaded newer stuff, make sure to adjust these instructions for the newer updated files and folders.
BTW - I just realized that you may be on a workstation, you may need to change the "/usr/lib" and "/usr/include" to "/usr/local/lib" and "/usr/local/include" respectively.
Good luck!
It took me a while to get this going, but I was able to install SugarCRM on Mac OS X using the following threads as my guideline. My major problem was missing MySQL Headers preventing PHP 5 from being compiled.
MySQL headers were missing from the Mac OS X Server distribution and I needed to get these before starting (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html). Then, I followed the steps to download and compile PHP 5 with IMAP. Followed the steps to compile PHP5 and then once I recompiled PHP, Apache did not work, so I recompiled Apache.
If you can not compile PHP and it stops at searching for the MySQL headers, you can download them here (see thread: http://lists.apple.com/archives/macos-x-server/2007/Nov/msg00277.html).
As per the thread, you can download the headers from here:
(Follow instructions in ReadMe)
download and unpack from:
http://www.opensource.apple.com/darwinsource/other/MySQL-43.binaries.tar.gz
sudo tar -xzvf MySQL-43.root.tar.gz -C /
Follow steps for recompiling php and IMAP in THIS thread from David Shauger1 (Thanks David)
To install the IMAP extensions do this (as root):
sudo mkdir -p /SourceCache
cd /SourceCache
You may not need to download new c-client - look in /SourceCache for prior downloads (this note is for me)
sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
sudo tar xzf c-client.tar.Z
sudo mv imap-2006k imap-2006h
cd imap-2006h
sudo make oxp
cd c-client
sudo cp *.h /usr/include
sudo cp *.c /usr/lib
sudo cp c-client.a /usr/lib/libc-client.a
Then, download recompile the latest version of PHP 5 following these instructions:
http://downloads.topicdesk.com/docs/UpdatingPHP_on_OS_XServer.pdf
You may not need to download a new PHP - look in /SourceCache for a previous download (this note is for me)
mkdir -p /SourceCache
cd /SourceCache
curl -O http://us3.php.net/distributions/
php-5.2.6.tar.gz
tar xzpf php-5.2.6.tar.gz
cd /SourceCache/php-5.2.6
sh
CFLAGS=-DBIND8COMPAT
export CFLAGS
php configuration command:
sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs2=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql-sock=/var/mysql --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr --with-openssl --with-xmlrpc --with-xsl=/usr --without-pear --with-imap --with-imap-ssl
make
make install
exit
Finally, follow steps for recompiling apache
Read entire thread (http://discussions.apple.com/thread.jspa?messageID=5676677&tstart=0)
1. Download the Apache2 source from http://httpd.apache.org/download.cgi (latest version is 2.2.9) and extract it.
2. Open Terminal and go to that directory. If you extract sources into your Downloads folder, type "cd ~/Downloads/httpd-2.2.9" and hit return
3. Type "./configure --enable-layout=Darwin --enable-mods-shared=all" and hit return
4. Wait for the process to complete and then type "make" and return
5. Wait for the process to complete and then type "sudo make install" and return -
Compilation problem in solaris 10
Hi,
Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
The PATH and LD_LIBRAY_PATH are like this
# echo $PATH
/usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
in:/usr/man:/usr/include/
# echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
t/lib
Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
# make
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
### Ignore warnings about shift count negative/too large on line 36
gcc -O -ldl byteorder.c -o byteorder
byteorder.c: In function `main':
byteorder.c:36: warning: left shift count >= width of type
byteorder.c:25: warning: return type of `main' is not `int'
(./byteorder; cat ./ntohl.h) > ../include/byteorder.h
gcc -O -ldl types.c -o types
types.c: In function `main':
types.c:29: warning: return type of `main' is not `int'
/bin/sh ./types.sh "gcc -E" > ../include/inode.h
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/bin/sh help.sh help.txt > help.c
gcc -O -c config.parse.c
gcc -O -c main.c
main.c:704:2: warning: no newline at end of file
gcc -O -c list.c
gcc -O -c ignorevec.c
gcc -O -c dbase.build.c
gcc -O -c utils.c
gcc -O -c preen.c
gcc -O -c preen.interp.c
gcc -O -c preen.report.c
gcc -O -c nullsig.c
gcc -O -c config.prim.c
gcc -O -c dbase.update.c
lex config.pre.l
mv lex.yy.c config.lex.c
yacc config.pre.y
sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
rm y.tab.c
gcc -O -c config.pre.c
gcc -O -c help.c
(cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md5.c
gcc -O -I. -I.. -c md5wrapper.c
(cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c snefru.c
(cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc32.c
(cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc.c
(cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md4.c
gcc -O -I. -I.. -c md4wrapper.c
(cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md2wrapper.c
gcc -O -I. -I.. -c md2.c
(cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c sha.c
gcc -O -I. -I.. -c shawrapper.c
(cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c haval.c
gcc -O -I. -I.. -c havalwrapper.c
gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
nullsig.o utils.o
I think it is not showing any problem. But when I try to make install it is throwing some
error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
Can any one help me what could be the reason for this.
# make install
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/usr/local/bin/install -d /usr/local/bin
sh: /usr/local/bin/install: not found
*** Error code 1
make: Fatal error: Command failed for target `install'
SanjeevThis forum is about using Sun Studio. Your question is about tripwire, which is not a Sun product, and gcc, which is not Sun Studio. I suggest you take your question to a tripwire forum. Check the location where you got tripwire for a support forum.
-
Compilation problem with GCC 3.3.2 in solaris 10
Hi,
Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
The PATH and LD_LIBRAY_PATH are like this
# echo $PATH
/usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
in:/usr/man:/usr/include/
# echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
t/lib
Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
# make
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
### Ignore warnings about shift count negative/too large on line 36
gcc -O -ldl byteorder.c -o byteorder
byteorder.c: In function `main':
byteorder.c:36: warning: left shift count >= width of type
byteorder.c:25: warning: return type of `main' is not `int'
(./byteorder; cat ./ntohl.h) > ../include/byteorder.h
gcc -O -ldl types.c -o types
types.c: In function `main':
types.c:29: warning: return type of `main' is not `int'
/bin/sh ./types.sh "gcc -E" > ../include/inode.h
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/bin/sh help.sh help.txt > help.c
gcc -O -c config.parse.c
gcc -O -c main.c
main.c:704:2: warning: no newline at end of file
gcc -O -c list.c
gcc -O -c ignorevec.c
gcc -O -c dbase.build.c
gcc -O -c utils.c
gcc -O -c preen.c
gcc -O -c preen.interp.c
gcc -O -c preen.report.c
gcc -O -c nullsig.c
gcc -O -c config.prim.c
gcc -O -c dbase.update.c
lex config.pre.l
mv lex.yy.c config.lex.c
yacc config.pre.y
sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
rm y.tab.c
gcc -O -c config.pre.c
gcc -O -c help.c
(cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md5.c
gcc -O -I. -I.. -c md5wrapper.c
(cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c snefru.c
(cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc32.c
(cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc.c
(cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md4.c
gcc -O -I. -I.. -c md4wrapper.c
(cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md2wrapper.c
gcc -O -I. -I.. -c md2.c
(cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c sha.c
gcc -O -I. -I.. -c shawrapper.c
(cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c haval.c
gcc -O -I. -I.. -c havalwrapper.c
gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
nullsig.o utils.o
I think it is not showing any problem. But when I try to make install it is throwing some
error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
Can any one help me what could be the reason for this.
# make install
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/usr/local/bin/install -d /usr/local/bin
sh: /usr/local/bin/install: not found
*** Error code 1
make: Fatal error: Command failed for target `install'
SanjeevUnable to Deploy Toplink-EJB to Standalone OC4J (4605867)
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/early_access_addendum.htm#dep1 -
Compile / run problems with netbeans 6 but not netbeans 6 beta 1 or 5.5
When I compile my project in netbeans IDE 6.0 (Build 200711261600) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 i get quite often a "can not find symbol" error or during runtime a "netbeans 6 java.lang.NoClassDefFoundError" exception. also switching between F6 or ctrl-F5 mode can cause the problem to appear.
Compiling again or clean build resolves it.
However running the same project under netbeans 5.5 or 6 beta 1 never gives this problem.
any hint what might be wrong? i looked and compared the project settings but can't see any difference, but I assume that the upgrade script must have changed something.<?xml version="1.0" encoding="UTF-8" ?>
- <project name="BorderDemo" default="default" basedir=".">
<import file="nbproject/build-impl.xml" />
</project>This is 'build.xml' file. Check for 'project.xml' file in 'nbproject' folder. You will find it to be:
<?xml version="1.0" encoding="UTF-8" ?>
- <project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>BorderDemo</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
- <source-roots>
<root id="src.dir" />
</source-roots>
</data>
</configuration>
</project>Change it to:
<?xml version="1.0" encoding="UTF-8" ?>
- <project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>BorderDemo</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
- <source-roots>
<root id="src.dir" />
</source-roots>
<test-roots>
<root id="test.src.dir" />
</test-roots>
</data>
</configuration>
</project>I hope it works.....
thanks! -
Java Threads compilation problem
Hi everyone,
I've having problems getting a simple thread program to compile, the programs says " ; " expected when there is already one present. I've gone through the program many times and still can't put my finger on whats going wrong. If someone could take a quick look and if possible tell me where I am going wrong.
Many Thanks
Its class ThreadA that will not compile
***code********************************************
public class ThreadA extends Thread
private int id;
public ThreadA(int i) (id = i);
public void run()
for (int i=0}; i < 10; i++);
try {sleep(1000};)catch (InterruptedException e)();
System.out.println("Output from Thread " + id);
import java.io.*;
public class TestThreads1
public static void main (String args [] )
Thread t1 = new ThreadA (1);
Thread t2 = new ThreadA (2);
Thread t3 = new ThreadA (3);
t1.start();
t2.start();
t3.start();
**code***********************************************************public class ThreadA extends Thread
private int id;
public ThreadA(int i) (id = i); // <-- problem
public void run()
for (int i=0}; i < 10; i++); // <-- two problems
try {sleep(1000};)catch (InterruptedException e)(); // <-- more problems
System.out.println("Output from Thread " + id);
} -
Problem with JDK 6 update 5 - Error Message says cant find java compiler
Hi i am a complete beginner to programming and i am having trouble with the latest java development kit. jdk 6 update 5.
The problem is i have set the path and the program cant find my compiler.
I have installed the latest java development kit 6 update 5 on my windows xp machine.
I have created a simple program as shown below:
class Hello
public static void main(String[] args)
System.out.println("Hello from java");
saved the file to my desktop as Hello.java
I have set the path variable like so:
Go to control panel then click system icon then click advanced tab then click environmental variables.
Now in system variables the path is shown as this - %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
I then add this to the end;C:\Program Files\Java\jdk1.6.0_05\bin
This is the location to the things like compiler, applet viewer etc.
No in the command prompt i type javac Hello.java and i get this error message:
C:\> javac Hello.java
javac: file not found: Hello.java
Usage: javac <options> <source files>
use -help for a list of possible options
The jdk is installed properly im sure but it can find my compiler.
What mistake have i made in setting the path because im guessing that is related to the problem?
Could someone out there please help me?
Thank You
Rafeeqsaved the file to my desktop as Hello.java
C:\> javac Hello.javaC:\ is not the desktop!
The jdk is installed properly im sure but it can find my compiler.Of course it can! It just can't find the file you are trying to compile, because that's not in the root directory.
I suggest you make a directory C:\java and save your source file there rather than on the desktop. In the command prompt, enter cd \java to make it the current working directory and then enter javac Hello.java.
@Pravin: The question is about compiling, not running. CLASSPATH has nothing to do with this problem.
db -
Re: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text
substitution situations, and as a completely independent tool its use is not
restricted to migration situations (or file types for that matter).
Second, I sympathize with the unfortunate trouble you are experiencing due to
Jasper's (perhaps more strict) compilation, but in what way did the iMT
automated translation contribute to these inconsistencies that you cited?
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a
translation situation, the only way "OnClick" would have been introduced was if
it had been part of the pre-existing project's "extraHTML" (which was written
by the original customer and just passed through unchanged by the iMT) or if it
was added manually by the post-migration developer.
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
similar to the OnClick situation described above?
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no
equivalent in the NetDynamics world, so any content tags in your code must have
been introduced by your developers manually. Its a shame that jasper is so
particular, but the iMT could not help you out here even if we wanted to. The
constants that are used by the iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
[Non-text portions of this message have been removed]Thanks a lot Matt and Mike for your prompt replies.
I agree completely that iMT doesn't introduce the inconsistencies.
About the three cases I mentioned, the third one happens only in
manually created JSPs. So it has nothing to do with iMT. The first
two are mainly due to the existing HTML code, as you rightly pointed
out.
The reason I made the suggestion is since we know that case 1 and 2
won't pass the japser compiler in sp3, we have to do something about
it. The best place to do this, in my mind, is iMT. Of course, there
might be some twists that make it impossible or difficult to do this
kind of case manipulation or attribute discard.
Weiguo
--- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
tool its use is not restricted to migration situations (or file types
for that matter).
>
Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
in what way did the iMT automated translation contribute to these
inconsistencies that you cited?
>
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
introduced was if it had been part of the pre-existing
project's "extraHTML" (which was written by the original customer and
just passed through unchanged by the iMT) or if it was added manually
by the post-migration developer.
>
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
>
>
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
in your code must have been introduced by your developers manually.
Its a shame that jasper is so particular, but the iMT could not help
you out here even if we wanted to. The constants that are used by the
iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
see, the only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
>
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as
what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
>>
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
Service.
>
>
>
[Non-text portions of this message have been removed] -
Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem:
Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
If I know the song title I can select the songs tab and find the song that way,
I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
Thanks for your helpTry assigning Queen as the Album Artist on the compilations in iTunes on your computer.
-
Hi All,
Encounter a weird problem, scenario as below:
Programmer A:
(1) OS: WinXP
(2) Database A : Oracle 8i, HP-Unix machine
(2) report builder 6i: Create a report and connect to database A to compile and
generate the rep file.
(3)Distribute the rep file to branch office file server.
End User B:
(1)OS: WinXP
(2)Database B: Oracle 8I, HP-unix machine
(3)Execute rep file in report runtime which connect to database B
Fail to run the report when execute it disappear automatically.
But when connect to Database A, it can run it properly.
And get the source and compile in Database B, the rep can run in both
Database A and B ?
p/s: All the object are exactly same in database A and B !
Any idea ? Thanks in advance.Hi All,
I have done some simple testing:
function BeforeReport return boolean is
begin
if pu_check_ok then
return (TRUE);
else
return (FALSE);
end if;
end;
FUNCTION pu_check_ok RETURN BOOLEAN IS
BEGIN
return(pu_return);
END;
FUNCTION pu_return RETURN BOOLEAN IS
cursor c1 is
select 'TESTING'
from dual;
BEGIN
open c1;
fetch c1 into :CP_1;
close c1;
return(TRUE);
END;
When I compile this report in database1, and send to user to run run the report (*.rep) in database2, the report hang. FYI, when I check in System Monitor (tools in Win98), the Kernel Processor Usage reach to 100%.
But, if I compile again by connecting database2 and run in database2, it can run without problem.
Else, if I add another dummy cursor in function BeforeReport, it can be ran in both database1 and database 2.
Maybe you are looking for
-
Run-time error "CONVERSION_CODEPAGE_UNKNOWN" occurred in BW SapNetweaver.
Today I have problem with this error dump: Run-time error "CONVERSION_CODEPAGE_UNKNOWN" I got this problem from rspc chain manager but also from another place as place a filter on table VARI. I suspect that this include "IMPORT_VARIANT_STATIC" got pr
-
Greyed out wifi button on ipad 2
after updating ios 5 my wifi option is greyed out ! no airplane state ! restored everything on ipad and itunes ! but no result, does somebody have any tips ?
-
What are all the major SPRO parameters available for MRP run in SAP.
Dear Frndz, What are all the major SPRO parameters available for MRP run in SAP. Regards, Srini
-
Hi, Can Idocs be inbounded/ outbounded to sap in batch mode? If yes, how can we achieve that. Thanks, Kevin
-
Font in Google search results is extremely large. Happened after downloading latest Firefox
Results for Google searches are in an extremely LARGE font. It's made it impossible to use Google search. Results are normal size for Google in IE.