Re: Testing php5x-oracle In 64bit Mode?

2013-02-05 Thread Wilks, Daniel
I updated ticket https://trac.macports.org/ticket/37879 with patches to the 
oracle-instantclient and php Portfiles that I'm using to build a 64bit stack.  
It's working enough that I can log into our app and see the home page (and if 
it compiles it's good enough to ship, right?).

Dan

On Feb 1, 2013, at 12:24 AM, Petr Vaněk mailto:p...@yarpen.cz>> 
wrote:

On 2/1/13 2:33 AM, Ryan Schmidt wrote:
>
> On Jan 31, 2013, at 19:21, "Wilks, Daniel" 
>  wrote:
>
>> Looks like Oracle finally released a new version of the OSX Instant Client - 
>> 11.2.0.3.0. This one might work in 64-bit mode.
>
> Thanks for letting me know! Would you please file a ticket in the issue 
> tracker? I can look at it tomorrow.

Thanks, Daniel!
that's "the News of the Day"!

Ryan, is there any howto how to find all ports which were compiled as 
universal/i386 due 10.2 instantclient? Including dependencies of course. To 
cleanup the mixed environment...

thanks,
p.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Petr Vaněk
On 2/1/13 9:03 PM, Ryan Schmidt wrote:
> On Feb 1, 2013, at 13:35, Petr Vaněk wrote:
>
>> well, I talked about dependencies. I remember that qt4-mac has been
recompiled when I tried to install TOra. And it's true, it's 2 arch. And
when I look into "port installed" I see many ports in situation:
>>
>> openssl @1.0.1c_0
>> openssl @1.0.1c_0+universal (active)
>>
>> also qt4:
>
>> so I'll need to cleanup these universals. I can do it manually but
maybe there is something like "rebuild all by new variants..." command.
Is it?
>
>
> You don't *need* to clean them up. They'll work fine for you as
universal. You're welcome to uninstall the universal versions and
re-activate the non-universal versions, if you're sure you have no other
ports requiring them to be universal, but everything will still work
fine if you don't.
>
>

thanks all for your inputs.
FYI: I use macports as a base for redistributable packages so reducing
the size is important to me.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Ryan Schmidt
On Feb 1, 2013, at 13:35, Petr Vaněk wrote:

> well, I talked about dependencies. I remember that qt4-mac has been 
> recompiled when I tried to install TOra. And it's true, it's 2 arch. And when 
> I look into "port installed" I see many ports in situation:
> 
>   openssl @1.0.1c_0
>   openssl @1.0.1c_0+universal (active)
> 
> also qt4:

> so I'll need to cleanup these universals. I can do it manually but maybe 
> there is something like "rebuild all by new variants..." command. Is it?


You don't *need* to clean them up. They'll work fine for you as universal. 
You're welcome to uninstall the universal versions and re-activate the 
non-universal versions, if you're sure you have no other ports requiring them 
to be universal, but everything will still work fine if you don't.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Bradley Giesbrecht

On Feb 1, 2013, at 11:35 AM, Petr Vaněk wrote:

> so I'll need to cleanup these universals. I can do it manually but maybe 
> there is something like "rebuild all by new variants..." command. Is it?

Have a look at the --enforce-variants flag for "port upgrade" in the port man 
page.
$ sudo port upgrade --enforce-variants ... +universal


Regards,
Bradley Giesbrecht (pixilla)



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Lawrence Velázquez
On Feb 1, 2013, at 2:35 PM, Petr Vaněk  wrote:

> so I'll need to cleanup these universals. I can do it manually but maybe 
> there is something like "rebuild all by new variants..." command. Is it?

Try this. It should rebuild oracle-instantclient and its dependents as 
non-universal.

% sudo port -nR upgrade --force --enforce-variants oracle-instantclient 
-universal

Of course, don't do it until after Ryan checks that the new 
oracle-instantclient works as x86_64.

vq
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Petr Vaněk
On 2/1/13 5:25 PM, Ryan Schmidt wrote:
>
> On Feb 1, 2013, at 02:24, Petr Vaněk wrote:
>
>> Ryan, is there any howto how to find all ports which were compiled as
universal/i386 due 10.2 instantclient? Including dependencies of course.
To cleanup the mixed environment...
>
> $ port file all | sort -u | xargs grep :oracle-instantclient
> /Users/rschmidt/macports/dports/aqua/TOra/Portfile: depends_lib-append
port:oracle-instantclient
> /Users/rschmidt/macports/dports/databases/libzdb-mysql55/Portfile:
depends_lib-append port:oracle-instantclient
>
/Users/rschmidt/macports/dports/databases/ocilib/Portfile:depends_lib-append
port:oracle-instantclient
> /Users/rschmidt/macports/dports/databases/soci-devel/Portfile:
depends_lib-append port:oracle-instantclient
> /Users/rschmidt/macports/dports/lang/php/Portfile: depends_lib-append
port:oracle-instantclient
> /Users/rschmidt/macports/dports/lang/php52/Portfile:
port:oracle-instantclient
> /Users/rschmidt/macports/dports/lang/qore-oracle-module/Portfile:
port:oracle-instantclient
>
/Users/rschmidt/macports/dports/php/php5-oracle/Portfile:depends_lib-append
port:oracle-instantclient
>
>
> I remember them well, since I only recently fixed them to build
i386-only for this reason. So I can easily switch them back to allowing
x86_64, if in fact that will work with this new version of
oracle-instantclient. Please allow me a little time verify that this is
the case.
>

well, I talked about dependencies. I remember that qt4-mac has been
recompiled when I tried to install TOra. And it's true, it's 2 arch. And
when I look into "port installed" I see many ports in situation:

  openssl @1.0.1c_0
  openssl @1.0.1c_0+universal (active)

also qt4:

lister:Qorus pvanek$ otool -vf
/opt/local/Library/Frameworks/QtGui.framework/Versions/4/QtGui
Fat headers
fat_magic FAT_MAGIC
nfat_arch 2
architecture x86_64
cputype CPU_TYPE_X86_64
cpusubtype CPU_SUBTYPE_X86_64_ALL
capabilities 0x0
offset 4096
size 12478516
align 2^12 (4096)
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
capabilities 0x0
offset 12484608
size 12119712
align 2^12 (4096)

so I'll need to cleanup these universals. I can do it manually but maybe
there is something like "rebuild all by new variants..." command. Is it?

thanks,
p.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Ryan Schmidt

On Feb 1, 2013, at 02:24, Petr Vaněk wrote:

> Ryan, is there any howto how to find all ports which were compiled as 
> universal/i386 due 10.2 instantclient? Including dependencies of course. To 
> cleanup the mixed environment...

$ port file all | sort -u | xargs grep :oracle-instantclient
/Users/rschmidt/macports/dports/aqua/TOra/Portfile:depends_lib-append   
   port:oracle-instantclient
/Users/rschmidt/macports/dports/databases/libzdb-mysql55/Portfile:
depends_lib-append  port:oracle-instantclient
/Users/rschmidt/macports/dports/databases/ocilib/Portfile:depends_lib-append
  port:oracle-instantclient
/Users/rschmidt/macports/dports/databases/soci-devel/Portfile:
depends_lib-append  port:oracle-instantclient
/Users/rschmidt/macports/dports/lang/php/Portfile:depends_lib-append  
port:oracle-instantclient
/Users/rschmidt/macports/dports/lang/php52/Portfile:
port:oracle-instantclient
/Users/rschmidt/macports/dports/lang/qore-oracle-module/Portfile:   
 port:oracle-instantclient
/Users/rschmidt/macports/dports/php/php5-oracle/Portfile:depends_lib-append 
 port:oracle-instantclient


I remember them well, since I only recently fixed them to build i386-only for 
this reason. So I can easily switch them back to allowing x86_64, if in fact 
that will work with this new version of oracle-instantclient. Please allow me a 
little time verify that this is the case.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-02-01 Thread Petr Vaněk
On 2/1/13 2:33 AM, Ryan Schmidt wrote:
>
> On Jan 31, 2013, at 19:21, "Wilks, Daniel"  wrote:
>
>> Looks like Oracle finally released a new version of the OSX Instant
Client - 11.2.0.3.0. This one might work in 64-bit mode.
>
> Thanks for letting me know! Would you please file a ticket in the
issue tracker? I can look at it tomorrow.

Thanks, Daniel!
that's "the News of the Day"!

Ryan, is there any howto how to find all ports which were compiled as
universal/i386 due 10.2 instantclient? Including dependencies of course.
To cleanup the mixed environment...

thanks,
p.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Testing php5x-oracle In 64bit Mode?

2013-01-31 Thread Ryan Schmidt

On Jan 31, 2013, at 19:21, "Wilks, Daniel"  wrote:

> Looks like Oracle finally released a new version of the OSX Instant Client - 
> 11.2.0.3.0.  This one might work in 64-bit mode.  

Thanks for letting me know! Would you please file a ticket in the issue 
tracker? I can look at it tomorrow.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Testing php5x-oracle In 64bit Mode?

2013-01-31 Thread Wilks, Daniel
Hi,

Looks like Oracle finally released a new version of the OSX Instant Client - 
11.2.0.3.0.  This one might work in 64-bit mode.  

I might know just enough to be dangerous, how would one go about locally 
modifying php's Portfile to remove the supported_archs i386 in the oracle 
subport so I can see?

Thanks,
Dan
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users