How to compile 64-bit PHP 5?

Hi
Since having a nice 64-bit machine I thought I would installed MySQL 5.0.16 64-bit, only one problem PHP 5.1.1 will not compile with the 64-bit MySQL.
I realised after a bit of reading that I am trying to compile a standard 32-bit PHP, when it should be 64-bit also.
Are there Apple 64-bit libraries to allow me to compile a 64-bit PHP?
If so how, I am no unix geek unfortunatly just picked up basics from guides such as on http://www.phpmac.com/.

hi thanks for the quick responce cheers.

Similar Messages

  • How to compile and run a .java file from another java program

    hello,
    can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to compile Oracle Linux source?

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?
    I tried to search this forum as well as other places but couldn't find any information hence thought of opening a thread before I proceed to download correct file which will again take 10+ hrs with my Internet speed :(
    Any help is highly appreciated. Also I need to know which packages are required to be installed for compiling the source if at all that is possible. I am using Ubuntu 11.10 Desktop.
    Thanks in advance for any help and hope to get a reply soon :) I need to urgently install Oracle 11gR2 on it.
    Edited by: user6582219 on Apr 12, 2012 1:10 AM
    While browsing the forum for any possible solution I came to a thread that discuss installation of a package oracle-rdbms-server-11gR2-preinstall. When searched through search engine I came to know about recent certification Oracle 11gR2 on Oracle Linux 6, here is the link https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.
    I would still appreciate if someone could answer my question just for knowing the procedure compiling source. May be it can help someone else trying to achieve this.
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.
    Before proceeding here are my environment details:
    Machine: x86 32 bit with 2 GB RAM/250 GB HD.
    OS: Kubuntu 11.10 Desktop and Oracle Linux 6 Update 2 in dual boot mode.
    Here are my partition details for your reference but as I am planning to do the installation from the scratch following new ideal scheme you can jump to last paragraph following the line "*********************************" for my questions.
    Unfortunately my partition plan went wrong and here is what I have now:
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3d5ba9e1
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 1002047 500000 83 Linux
    /dev/sda2 151525080 361253654 104864287+ 7 HPFS/NTFS/exFAT
    /dev/sda4 1003518 151001087 74998785 5 Extended
    /dev/sda5 1003520 7002111 2999296 82 Linux swap / Solaris
    /dev/sda6 7004160 11001855 1998848 83 Linux
    /dev/sda7 11003904 51001343 19998720 83 Linux
    /dev/sda8 51003392 110041087 29518848 83 Linux
    Partition table entries are not in disk order
    /dev/sda1 here is /tmp, /dev/sda2 is my data partition, I have separate /home / (root) partition for Kubuntu and remianing around 20 GB in extended partition is used for Oracle Linux 6.2 with default Oracle suggested LVM partition. I also have separate /boot for Kubuntu and I chose not to install grub while installing Oracle Linux. I later modified grub.cfg to add entries for Oracle Linux and now I can boot both OSs successfully.
    My issue now is I cannot extend 20 GB space (in extended partition) that I have given to Oracle though I have around 40 GB space available. This is because I alreay have 4 primary partitions (one for /boot others for "data" and one extended partition). So I have to make primary partition out of free space and install Oracle in a single partition without following recommended partition layout scheme.
    Now I want to do the installation of both the OS from the scratch and really need an advice on partition layout scheme. Here is summary of what I wan to achieve:
    1. Keep the "data" partition (primary) intact and carve an ideal partition layout for both the OS with separate /boot, /tmp, /home, swap (and may be for /usr???). Also may be I can share swap?
    2. How do I go about using LVM and is it recommended for this case? What would be ideal locations for each partitions and sizes? I already used 100 GB for "data" so now I want to keep 60 GB for Oracle Linux (and Oracle DB for which I will again make few sub-partitions) and remaining will be for Kubuntu.
    Well, I am not sure if this is the right place to ask these questions but since I can see very knowlegeable top contributors here that are willing to help novice users I thought of posting these questions.
    I would really really appreciate if someone can provide me rough draft of partition scheme in my case considering the sub-partitions needed for Oracle DB. I went thorugh number of forums and documentations to come up with solutuion and finally thought of getting help after much confusion.
    I really need to carefully plan this time because it's third time I am doing reinstallation from the scratch because of poor plan I followed previously.
    Thank you very much in advance and please let me know in case more information is needed from my side.
    Regards,
    Ramesh

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?Google will be your best friend for such a question, for instance, "Creating a Custom centos Linux bootable ISO Image". There is no need to duplicate the effort. I recommend you download the correct installation DVD, e.g. 5.8
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.So you don't need to install 5.2 anymore, but you want the information how to compile a installation DVD from the 5.2 source anyway?!
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.Questions may be important for you, but not necessarily for others. No one will complain if you create a new thread for particular questions or subjects. It is better to separate your topics and questions rather than creating a multi-mega thread, which does little to help anyone else but you. It means more work on your end, but it will be easier for anyone to participate or answer your questions, and it will allow you to better award answers.
    Regarding your partitioning questions: It is generally difficult to address such topics in a forum. You are asking for a book of information. My advice is to drop the old fashioned concepts of dual or triple boot options and install Oracle VirtualBox instead. It will make all of these questions obsolete and you can use whatever defaults when installing your virtual machine guest OS. Its a far more superior way of dealing with multiple operating systems on one and the same computer.
    I am using Ubuntu 11.10 Desktop.
    I need to urgently install Oracle 11gR2 on it.For what it's worth, if you can combine the two source below you should be able to install and run 11gR2 on Ubuntu 11.10.
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    However, check out VirtualBox.

  • 64-Bit PHP on x86-Solaris 11.1

    Hi all,
    we have just set-up a x86-Solaris 11.1 based workgroup server which will be mainly used for web-based applications (like ownCloud, Moodle or openAtrium) at our university institute. As some of the members of our workgroup produce media (i.e. full HD videos), we have to deal with files larger than 2 GB. While it isn't any problem for Solaris' Apache to handle these file sizes, some PHP applications have quite big problems to work with files >2 GB correctly as long as the underlying PHP is a 32 bit binary.
    I wouldn't have expected that an Enterprise system like Solaris 11.1 still comes with 32 bit applications as the Solaris kernel itself is using the 64 bit mode on x86_64 for quite some time now. Nevertheless, as I really like Solaris' features especially for stable and large storage solutions, I want to stick with Solaris and will have to find a solution for the mentioned problem...
    Recompiling PHP from the sources as a 64 bit application is not a problem. I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP.
    My question is: Is there any "gold standard" to accomplish this? Of course, I can recompile all parts that I need by myself, completely independently from the packaging system, and put them to "/usr/local/..." or to "/opt/local/...". I am, however, not sure if this is the best way. Perhaps there are already packages I could install and I don't know about. I can't imagine that I am the first user who experiences that problem. Would it make sense to switch to an alternative package repository like OpenCSW? What I also thought about, was the following way to proceed: I'm going to take the source packages from Oracle and then compile Apache and PHP (and most probably also MySQL) with the option for 64 bit according to the instructions in the sources. So I can also build new packages which I can deploy into the zones where I need them in.
    Is there any better way which I might have overlooked, yet?
    Thank you in advance for any help!
    Kind regards,
    Steffen

    I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP. In S11.1 Apache is already 64-bit aware:
    ls -l /usr/apache2/2.2/bin/amd64
    total 4277
    -r-xr-xr-x 1 root bin 89584 Jan 12 20:47 ab
    -r-xr-xr-x 1 root bin 3649 Jul 19 2012 apachectl
    -r-xr-xr-x 1 root bin 22657 Jul 19 2012 apxs
    -r-xr-xr-x 1 root bin 16424 Jan 12 20:47 checkgid
    -r-xr-xr-x 1 root bin 8925 Jul 19 2012 dbmmanage
    -r-xr-xr-x 1 root bin 1348 Jan 12 20:47 envvars
    -r-xr-xr-x 1 root bin 1081 Jan 12 20:47 envvars-std
    -r-xr-xr-x 1 root bin 36728 Jan 12 20:47 htcacheclean
    -r-xr-xr-x 1 root bin 27232 Jan 12 20:47 htdbm
    -r-xr-xr-x 1 root bin 21616 Jan 12 20:47 htdigest
    -r-xr-xr-x 1 root bin 26432 Jan 12 20:47 htpasswd
    -r-xr-xr-x 1 root bin 841064 Jan 12 20:47 httpd
    -r-xr-xr-x 1 root bin 859224 Jan 12 20:47 httpd.worker
    -r-xr-xr-x 1 root bin 21576 Jan 12 20:47 httxt2dbm
    -r-xr-xr-x 1 root bin 17376 Jan 12 20:47 logresolve
    -r-xr-xr-x 1 root bin 21464 Jan 12 20:47 rotatelogs
    -r-x------ 1 root bin 21712 Jan 12 20:47 suexec.disabled
    The problem is that 64-bit PHP isn't bundled.
    You can try to rise an SR on that topic.
    It seems that it would be easier to integrate large file support only in 32-bit PHP instead.
    Any 32-bit application that is compiled with large file support (-D_LARGEFILE_SOURCE and
    -D_FILE_OFFSET_BITS=64) will work with > 2GB files.
    I think that SR could be realized relatively faster than integrating stable 64-bit PHP.
    Regards,
    Serghei

  • Sjsws 7 sp5 on fedora core 10 compile error on php 5.2.9

    I am trying to compile php 5.2.9 and get the following error during make: sapi/nsapi/nsapi.c:62:19: error: nsapi.h: No such file or directory
    There was a post (http://developers.sun.com/webtier/reference/techart/php2.html) which seemed to address this problem, but it didn't fix the issue. Also, I have searched for nsapi.h and it is not on the system anywhere... Has anyone come across this problem or have suggestions on how to resolve it?
    OS: fedora core 10
    SJSWS: 7.0 sp5
    ./configure with-mysql with-nsapi=/opt/iplanet/current enable-libgcc with-gd=/usr --enable-sockets
    /bin/sh /root/installs/php/php-5.2.9/libtool silent preserve-dup-deps --mode=compile /root/installs/php/php-5.2.9/meta_ccld  -IZend/ -I/root/installs/php/php-5.2.9/Zend/ -DPHP_ATOM_INC -I/rootinstalls/php/php-5.2.9/include -I/root/installs/php/php-5.2.9/main -I/root/installs/php/php-5.2.9 -I/opt/iplanet/current/include -I/opt/iplanet/current/plugins/include -I/usr/include/libxml2 -I/rot/installs/php/php-5.2.9/ext/date/lib -I/usr/include/mysql -I/root/installs/php/php-5.2.9/TSRM -I/root/installs/php/php-5.2.9/Zend  -D_REENTRANT -DTHREAD=1  -I/usr/include -g -O2 -pthread -DZTS  -refer-non-pic -c /root/installs/php/php-5.2.9/Zend/zend_objects_API.c -o Zend/zend_objects_API.lo
    /bin/sh /root/installs/php/php-5.2.9/libtool silent preserve-dup-deps --mode=compile /root/installs/php/php-5.2.9/meta_ccld  -IZend/ -I/root/installs/php/php-5.2.9/Zend/ -DPHP_ATOM_INC -I/rootinstalls/php/php-5.2.9/include -I/root/installs/php/php-5.2.9/main -I/root/installs/php/php-5.2.9 -I/opt/iplanet/current/include -I/opt/iplanet/current/plugins/include -I/usr/include/libxml2 -I/rot/installs/php/php-5.2.9/ext/date/lib -I/usr/include/mysql -I/root/installs/php/php-5.2.9/TSRM -I/root/installs/php/php-5.2.9/Zend  -D_REENTRANT -DTHREAD=1  -I/usr/include -g -O2 -pthread -DZTS  -refer-non-pic -c /root/installs/php/php-5.2.9/Zend/zend_default_classes.c -o Zend/zend_default_classes.lo
    /bin/sh /root/installs/php/php-5.2.9/libtool silent preserve-dup-deps --mode=compile /root/installs/php/php-5.2.9/meta_ccld  -IZend/ -I/root/installs/php/php-5.2.9/Zend/ -DPHP_ATOM_INC -I/rootinstalls/php/php-5.2.9/include -I/root/installs/php/php-5.2.9/main -I/root/installs/php/php-5.2.9 -I/opt/iplanet/current/include -I/opt/iplanet/current/plugins/include -I/usr/include/libxml2 -I/rot/installs/php/php-5.2.9/ext/date/lib -I/usr/include/mysql -I/root/installs/php/php-5.2.9/TSRM -I/root/installs/php/php-5.2.9/Zend  -D_REENTRANT -DTHREAD=1  -I/usr/include -g -O2 -pthread -DZTS  -refer-non-pic -c /root/installs/php/php-5.2.9/Zend/zend_execute.c -o Zend/zend_execute.lo
    /bin/sh /root/installs/php/php-5.2.9/libtool silent preserve-dup-deps --mode=compile /root/installs/php/php-5.2.9/meta_ccld  -Isapi/nsapi/ -I/root/installs/php/php-5.2.9/sapi/nsapi/ -DPHP_ATOMINC -I/root/installs/php/php-5.2.9/include -I/root/installs/php/php-5.2.9/main -I/root/installs/php/php-5.2.9 -I/opt/iplanet/current/include -I/opt/iplanet/current/plugins/include -I/usr/include/lbxml2 -I/root/installs/php/php-5.2.9/ext/date/lib -I/usr/include/mysql -I/root/installs/php/php-5.2.9/TSRM -I/root/installs/php/php-5.2.9/Zend  -D_REENTRANT -DTHREAD=1  -I/usr/include -g -O2 -pthrad -DZTS  -prefer-non-pic -c /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c -o sapi/nsapi/nsapi.lo
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:62:19: error: nsapi.h: No such file or directory
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:81: error: expected specifier-qualifier-list before 'pblock'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: In function 'nsapi_strdup':
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:130: warning: return makes pointer from integer without a cast
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: At top level:
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:206: error: expected ')' before '*' token
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsapi_servact_uri2path'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsapi_servact_pathchecks'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsapi_servact_fileinfo'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsapi_servact_service'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: In function 'php_nsapi_init_dynamic_symbols':
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:250: error: 'nsapi_servact_uri2path' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:250: error: (Each undeclared identifier is reported only once
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:250: error: for each function it appears in.)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:250: error: 'nsapi_servact_prototype' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:250: error: expected ';' before 'dlsym'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:251: error: 'nsapi_servact_pathchecks' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:251: error: expected ';' before 'dlsym'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:252: error: 'nsapi_servact_fileinfo' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:252: error: expected ';' before 'dlsym'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:253: error: 'nsapi_servact_service' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:253: error: expected ';' before 'dlsym'
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: In function 'zm_info_nsapi':
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:300: error: 'nsapi_servact_service' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: In function 'zif_nsapi_virtual':
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:318: error: 'Request' undeclared (first use in this function)
    /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:318: error: 'rq' undeclared (first use in this function)
    make: *** [sapi/nsapi/nsapi.lo] Error 1

    assuming you have installed web server 7 under /opt/iplanet/current (by choosing /opt/iplanet/current) within web server 7 installer, then php 5.2.9 installation along with its nsapi plugin should go through fine by doing
    ./configure --with-nsapi=/opt/iplanet/current
    you can verify this by looking for /opt/iplanet/current/include/nsapi.h . if you didn't find there, then you web server 7 installation did not go through successfully.
    on a side note, you might always want to use the gd that bundles within php. for example, enabling this directive causes php to use the bundled gd
    '--enable-gd-jis-conv' '--enable-gd-native-ttf'
    otherwise you will run into weird issues.

  • How to compile .java files in windows server

    Hi All,
    I want to compile my CO.java file in server directly how can i do that my server is windows server
    If it is Linux i can login through putty and go to java top and then file location then i use to do javac filename.java then i use to get filename.class but now same thing i did in windows server which is not working please sugget how to do its bit urgent.

    Why do you want to compile it on the server and not in jdeveloper? You should be able to issue the javac command from the prompt. Your unix account must have permissions to that command though.
    For more info on the javac command:
    http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javac.html
    Kristofer Cruz

  • How to compile java to exe by JDeveloper?

    How to compile java to exe by JDeveloper?

    You used to be able to use exegen to generate stand alone executables for Windows, but this no longer works in later versions of Windows. It works for Windows 98 and NT. For example
    exegen/main:schedserv /out:sched.exe schedserv.class scheduler.class
    will generate the executable sched.exe from the two class files.
    Probably MicroSoft decided to make life a bit harder for Java users.

  • How to compile only prism-es2 native on windows...

    Hi,
    I only desire to compile the JavaFX prism-es2 native for windows.
    (Because the prism-es2.dll is not included in JDK 8).
    The information I have from OpenJFX is:
    https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
    (Not very usefull).
    https://wiki.openjdk.java.net/display/Nashorn/Building+Nashorn
    http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html
    I do not wish to recompile the JDK 8 in totality !!!!!!
    Only the part Prism-es2 native... How I can do that ???
    I had taken the source code from:
    http://hg.openjdk.java.net/openjfx/8/master/rt
    Thank you ....

    -How to compile OpenJFX ?
    I try several ways (JDK1.6, JDK1.7, ...) to compile and all time,
    I receive a lot of errors.
    (Missing com.sun.javafx.font,
      I do not found these packages: com.sun.javafx.font and com.sun.javafx.text.
          (possibly auto-generated)
    And the use of ant with: -Dbuild.compiler=javac1.7 change absolutely nothing...
    =>This is how finally I compile sucessfully. (After one week of different tests !!!)
    +First, I follow the instructions of:
      https://wikis.oracle.com/display/OpenJDK/Building+OpenJFX
      http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#windows
    Take the source code:
      http://hg.openjdk.java.net/openjfx/8/master
      http://hg.openjdk.java.net/openjfx/8/master/rt
      http://hg.openjdk.java.net/openjfx/8/master/tests
    +From OpenJDK)
    -Basic Windows Check List:    (I follow all the instructions).
    1. Install the CYGWIN product.                          <--Done (The 64 bits version)
    2. Install the Bootstrap JDK, set ALT_BOOTDIR.          <--Done (JDK 1.8)
    3. Optional Import JDK, set ALT_JDK_IMPORT_PATH.    <--Not done(Not necessary for us)
    4. Install the Microsoft Visual Studio Compilers).  <--Done
       Visual Studio 2010 Express (Visual C++/C) installed.
       Windows SDK 7.1 installed (To build 64 bits). ==>WindowsSdkDir added.
       VS100COMNTOOLS is defined.
    5. Setup all environment variables for compilers (see compilers).   <--Done (64 bits)
        ...\Common7\Tools\vsvars32.bat not used because
            ...\VC\bin\amd64\vcvars64.bat is used for 64 bits.
       We set all manually for us)
        set CYGWIN=C:\ProgramFiles\cygwin64\bin
        set VSINSTALLDIR=C:\ProgramFiles(x86)\Microsoft_Visual_Studio10.0
        set WindowsSdkDir=C:\ProgramFiles\Microsoft_SDKs\Windows\v7.1
        set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%CYGWIN%;%PATH%
        set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
        set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
    6. Install Microsoft DirectX SDK.                         <--Done. (June 2010 version)
       (From: http://www.microsoft.com/en-ca/download/details.aspx?id=6812)
       set DXSDK_DIR=C:\ProgramFiles(x86)\MicrosoftDirectX_SDK(June2010)
       set INCLUDE=%INCLUDE%;%DXSDK_DIR%\Include;
       set LIB=%LIB%;%DXSDK_DIR%\Lib\x64;
    7. Install Ant 1.7.1 or newer, make sure it is in your PATH and set ANT_HOME. <--Done.
       (The version 1.9.1)
    And also)
      -So it's important that the Visual Studio paths in PATH preceed the CYGWIN path /usr/bin.
          (due to link.exe)        <--Done
      -And for the: MSVCR100.DLL   <--Done
       set ALT_MSVCRNN_DLL_PATH=%VSINSTALLDIR%\Common7\Packages\Debugger\X64 (This is the only place found)
       set LIB=%LIB%;%ALT_MSVCRNN_DLL_PATH%;
    +From OpenJFX)
    I follow all the instructions...
    But for antlr, I use the version from: http://www.antlr3.org/download/
    -Change inside build-src\genVSproperties.bat
    to include my zzz_batch1\c_settings1.bat
    c_settings1.bat)
    REM ------------------------------------------------------------------------
    REM PATCH ZZZ....Visual Studio 2010...
    Rem Must be called by master\build-src\genVSproperties.bat
    REM Result is inside vs.properties
    REM No .NET\Framework...
    REM These lines will be installation-dependent.
    set CYGWIN=C:\ProgramFiles\cygwin64\bin
    set VSINSTALLDIR=C:\ProgramFiles(x86)\Microsoft_Visual_Studio10.0
    set WindowsSdkDir=C:\ProgramFiles\Microsoft_SDKs\Windows\v7.1
    set DXSDK=C:\ProgramFiles(x86)\MicrosoftDirectX_SDK(June2010)
    set ALT_MSVCRNN_DLL_PATH=%VSINSTALLDIR%\Common7\Packages\Debugger\X64
    REM The following should be largely installation-independent.
    set VCINSTALLDIR=%VSINSTALLDIR%\VC
    REM
    set INCLUDE=%VCINSTALLDIR%\include;%WindowsSdkDir%\include;%DXSDK%\Include;%INCLUDE%
    set LIB=%VCINSTALLDIR%\lib\amd64;%WindowsSdkDir%\lib\x64;%DXSDK%\Lib\x64;%ALT_MSVCRNN_DLL_PATH%;%LIB%
    set LIBPATH=%VCINSTALLDIR%\lib;%LIBPATH%
    REM
    set DEVENVDIR=%VSINSTALLDIR%\Common7\IDE
    set DEVENVCMD=%DEVENVDIR%\VCExpress.exe
    REM
    set PATH=%VCINSTALLDIR%\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%CYGWIN%;%PATH%
    REM echo "%DEVENVDIR%" %DEVENVDIR%
    REM ------------------------------------------------------------------------
    genVSproperties.bat)
    if not exist "%DEVENVCMD%" set DEVENVCMD=%DEVENVDIR%\VCExpress.exe
    REM ZZZ Patch...
    call ..\zzz_batch1\c_settings1.bat
    REM Echo out a properties file
    Now I receive a lot of errors at the compilation:
    jar:
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\build\classes
        [javac] Compiling 43 source files to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\build\classes
        [javac] C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\src\com\sun\javafx\tk\quantum\SceneState.java:49: error: constructor PresentableState in class PresentableState cannot be applied to given types;
        [javac]         super();
        [javac]         ^
        [javac]   required: View
    etc ...
    After search, I found that the compilation process, use the file:
       C:\ProgramFiles\Java\jdk1.8.0\jre\lib\ext\jfxrt.jar
       I rename it: jfxrt.jarXXX
       (I don't know how this jar is included after some searchs).
       After the C:\zgroup1\userbase1\javafx1\open-jfx\master\artifacts\sdk\rt\lib\ext\jfxrt.jar
       causes the same errors. I create an empty jar named jfxrt.jar.
       Now I can recompile all, (After a clean)
       I clean all, I recompile but I have the another errors.
    I change the rt\build.xml:
           <condition property="include.ogl">
              <istrue value="${isWindows}"/>
            </condition>
         <!--
            Build targets...
          -->
        <target name="jar" depends="init">
            <ant antfile="${rt.root.dir}/javafx-accessible/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-logging/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/glass/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-beans/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-util-converter/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-anim/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-geom/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/pisces/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-compiler/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-runtime/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-sg-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-concurrent/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-util/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-quantum/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-sg-prism/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-embed-swing/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-controls/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-charts/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-decora-d3d"/>
            <antcall target="jar-decora-es2"/>
            <ant antfile="${rt.root.dir}/decora-jsw/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism-sw/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism-ps/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-decora-sse"/>
            <ant antfile="${rt.root.dir}/prism-util/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-j2d/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-ps/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-null/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-prism-sw"/>
            <antcall target="jar-prism-d3d"/>
            <antcall target="jar-prism-es2-all"/>
            <ant antfile="${rt.root.dir}/javafx-beans-dt/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-fxml/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-javafx-android"/>
            <antcall target="jar-javafx-embed-swt"/>
            <ant antfile="${rt.root.dir}/javafx-builders/build.xml" target="jar" inheritAll="false"/>
        </target>
    I recompile and now:
    jar:
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\build\classes
        [javac] Compiling 471 source files to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\build\classes
        [javac] C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\src\com\sun\webkit\dom\JSObject.java:30: error: cannot find symbol
        [javac] import netscape.javascript.JSException;
        [javac]                           ^
        [javac]   symbol:   class JSException
    --->Compile webview (and webview needs another packages, circular problems)...
    Recompile all is not really possible due to intersecting packages...
    I change rt\glass\glass\build.xml because missing)
        <property name="jfx.accessible.dir" value="${rt.dist.root.dir}/javafx-accessible"/>
        <property name="jfx.accessible.jar" value="${jfx.accessible.dir}/dist/javafx-accessible.jar"/>
    Now I recompile, I have errors but now I understand something.
    When master\artifacts\sdk\rt\lib\ext\jfxrt.jar is the empty version, I compile at a certain point.
    I copy the C:\ProgramFiles\Java\jdk1.8.0\jre\lib\ext\jfxrt.jar to master\artifacts\sdk\rt\lib\ext
    and I able to go to another point. When errors, I take the empty version and alternatively I pass
    from the empty to full version.
    Finally I compile all and:
    dist:
         [echo] Creating merged openjfxrt.jar file
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\lib
          [jar] Building jar: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\lib\openjfxrt.jar
         [echo] Copying binaries
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\bin
         [copy] Copying 1 file to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\bin
    BUILD SUCCESSFUL
    I have my ES2 (Decora,Prism) part compiled with prism-es2.dll inside prism-es2-native.jar
    Now I will test all !!!

  • Downloading compiled FPGA bit file to target

    Hello.
    I'm trying to use multiple FPGA VIs in a same project, same target.
    But, currently the Labview force me to re-compile when I want to run different FPGA VI in same project.
    Even after compiling two FPGAs, the Labview program attempts to re-compile when I trying to run differnt FPGA VI.
    So I refered http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahelp/compiling_fpga_vis_howto/ to download compiled FPGA bit file to the target to transit to another FPGA VI.
    However, still the Labview program trying to re-compile the FPGA VI when I click RUN on the VI after downloading compiled VI to the flash of the target.
    How can I solve this problem?
    P.S.:
    I checked off the option of the build specification that the FPGA VI does not automatically run when it is loaded to target and the target switch is on.

    Are you sharing VIs between the two top-level VIs?
    If they have any conditional disable structures with different settings then the sub-VIs will be marked as changed when opening the top-level VI  for your second target.
    Do you need to run the code in interactive mode or can you simply compile a bitfile and use that instead.  That was the compilation requirement disappears.
    I agree though that LVs rush to mark VIs as changed is a problem for interactive FPGA mode.
    Shane.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • How to compile a kernel module without recompiling the whole kernel?

    Hi,
    I'm pretty sure my question is a bit newbish, still I haven't been able to found any information/solution to my problem in 3days.
    The kernel I use doesn't come with the module I need for my hardware and I would like to know if there's a way to compile it without having to make a new kernel myself (since compiling the kernel takes ages on my machine).
    Even if your answer is a "Let me Google that for you", I'm so desperate that I'll be happy to see it.
    Thank you all in advance for your answers!

    Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
    Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
    Actually, try what those links suggest.
    Skip the configuration part, and just do:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
    (maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
    EDIT: Meh, that uses your config and won't build that driver... there must be some way though
    EDIT2: Try:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
    The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
    Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
    You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
    The last line in that screen should read:
    Selects: <list of options>
    As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with  your module.
    Last edited by Blµb (2012-03-02 15:14:16)

  • How to Install 64-bit "Generic / Text Only" print driver on a 32-bit Windows 2003 Server?

    Hi All,
    In a nutshell, I need to Install the 64-bit Generic / Text Only print driver on a 32-bit Windows 2003 Server’s “Generic / Text Only 32-bit print queue.
    The problem is that there is no Driver-Disk to get the drivers. I’ve been able to isolate 14 files related to the 64 bit drivers from a Windows 7 x64 computer and copy them to a temp folder on the Windows 2003 x32 server. When I try to add the 64 bit driver
    to the Windows 2003 x32 server,  it wants a *.inf file, which I don’t have and can’t find.
    Because Microsoft will no longer support Windows XP, my client is replacing all of their Point-of-Sale Windows XP x32 systems with Windows 7 x64. They use Terminal Services (Remote Desktop) to connect to a Windows 2003 x32 server to use the POS system. The
    POS software redirects LPT1 back to the local Generic / Text Only printer. This works great for XP x32.
    When we use the Terminal Services POS software on the new Windows 7 x64 system, none of the labels print out because it’s redirected in 32-bit back to the local Windows 7 x64 Generic / Text Only 64-bit printer.
    This will be a huge issue for me if I can’t get this to work.
    Thanks in advance for any suggestions and help! -Rob

    those may be helpful...
    http://social.technet.microsoft.com/Forums/en-US/a129f49a-0216-41f0-b190-3efb46fbb8ac/generic-text-only-driver-on-windows-2008-server-r2?forum=winserverprint
    http://blogs.technet.com/b/yongrhee/archive/2009/09/14/how-to-add-64-bit-print-drivers-on-32-bit-windows-server-2003-or-windows-server-2008-print-server.aspx
    Best,
    Howtodo

  • Visual Studio compiling 64 Bit Plugin for InDesign Server CS5

    Hello guys,
    Again I have a problem compiling 64 bit plugins, but this time in windows environments, the 32 bit compiling works fine (also on 64 bit machines). The first thing I've done was creating a new project configuration for 64 bit environments copying the 32 bit settings. Now I changed the precompiled libraries to use the 64 bit ones and changed the output directories. After that the compilation process completed without errors, but the resource files have not been copied to the output directory (the directory for them has been created, but it remains empty). Adding the created plugin into the servers directory ends up with a server message that the plugin could not be recognized. Have I missed something that is necessary for compiling 64 bit plugins?
    I'm using the 64 Bit Developer Version of the indesign server CS5. The operating system is a Windows Server 2008 x64 R2 with Visual Studio 2008.
    Thanks!
    P.S. a plugin compiled with 32 bit settings (including 32 bit libraries) also works for the 64 bit version of the server, so does it make any difference if I'm using 32 bit or 64 bit libraries?

    The libraries were all correct (all using 64-bit).  The problem was a pathing issue.  libxml2 needs iconv.dll, but it couldn't find the 64-bit version that I built.  Once it found it, everything worked correctly.
    The funny thing about depends.exe is that it isn't right all the time.  For example, if you open one of the 64-bit .aip files that ships with Illustrator (rename it to .dll first), you'll see what I'm talking about.  It complains that you're mixing x86 and x64 CPU types, even though you're not.
    The program I used to discover my issue is Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx).  I've been using it for years and love it.

  • How to compile and register a Java CFX tag with multiple class files?

    All-
    If this is the wrong forum for CFX questions, please let me
    know.
    I need to determine how to compile and register a Java CFX
    tag that contains multiple class files. One class file implements
    the CustomTag interface and the other class files implement various
    supporting classes. All of the documentation that I have found
    talks about using a single class file. I am assuming that a JAR
    file will be involved, but I am not sure of the specifics.
    Thanks in advance for your help.
    -Josh

    Yes, it will involve a jar. Use your java IDE (eclipse,
    etcetera ..) to create a jar containing all of the classes. Check
    your ide's documentation for how to create jar files. After you
    have created the jar, place the jar in the CF class path so CF will
    recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
    must be restarted before it will detect the new jar. After
    restarting CF, register the CFX tag in the ColdFusion Administrator
    using the name of the class that implements the CustomTag
    interface.
    Though it is worth noting you can also instantiate java
    classes directly from ColdFusion (ie without using a CFX
    tag).

  • How to compile a single file in a project

    I have placed my java connector file called "xxxTargetconnector .class" in the below mentioned path
    D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector
    I have converted the above class file in to a java file using a decompiler.Now i would like to recompile the java file to get the byte code.This class file imports many class files from jar files which is placed in the below mentioned path.
    D:\FSCM9DMO\webserv\Cybersource.
    Before compiling i set the path to include the jar files
    for ex , set path = D:\FSCM9DMO\webserv\Cybersource
    For compilation i went to the below path using command prompt and compiled the particular file.
    D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector>javac xxxTargetConnector.java
    Unfortunately i got around 99 errors saying
    xxxTargetConnector.java:187: cannot find symbol
    symbol : variable Logger
    location: class com.peoplesoft.pt.integrationgateway.targetconnector.xxxTargetConnector
    How to compile a single file in a project ?

    According to [http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html], "As a special convenience, a class path element containing a basename of * is considered equivalent to specifying a list of all the files in the directory with the extension .jar or .JAR. I have never tried using this feature.
    So if all of your dependent classes are in in jar files that are in D:\FSCM9DMO\webserv\Cybersource, a command like the following should work.
    javac -cp D:\FSCM9DMO\webserv\Cybersource\* xxxTargetConnector.java
    Note that setting your operating system path variable has no impact on where Javac looks for dependent classes.

  • How to compile all forms in a directoy at time?

    Hi friends, thank for your replies for the previous questions.
    Now
    How to compile all form modules located in a directory
    at a time? usually what I know is opening form one by one
    and compile it. But I want to compile all forms and create
    executable files at a time.
    Is project Builder helpfule to achive this??
    thanks
    madhu

    Yes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
    Here are several more links to other topics in this forum asking how to do the same thing:
    Re: How To Compile 370 forms ?
    Re: Creating Oracle 10g Forms and Reports Builds

Maybe you are looking for