From owner-freebsd-database@FreeBSD.ORG Sun Jan 13 21:00:08 2008 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ADED16A41B for ; Sun, 13 Jan 2008 21:00:08 +0000 (UTC) (envelope-from freebsd-database@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BF35A13C478 for ; Sun, 13 Jan 2008 21:00:07 +0000 (UTC) (envelope-from freebsd-database@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JE9w2-0007bL-8P for freebsd-database@freebsd.org; Sun, 13 Jan 2008 21:00:02 +0000 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 21:00:02 +0000 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 21:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-database@freebsd.org From: martinko Date: Sun, 13 Jan 2008 21:56:27 +0100 Lines: 39 Message-ID: <478A7AFB.8040604@users.sf.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20071204 SeaMonkey/1.1.7 In-Reply-To: Sender: news Cc: freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 21:00:08 -0000 Marcin Cieslak wrote: > martinko wrote: >> Hallo, >> >> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? >> >> >> >> >> Many thanks in advance! > > There is actually nothing to port, just download the non-JRE platform > independent zip file, unpack and run "bash sqldeveloper" from > sqldeveloper/sqldeveloper/bin directory. > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > --Marcin > Well, I've tried it on 6-STABLE (6.2.something) and it got stuck at splash screen. Btw, I've noticed output like this in terminal: expr: illegal option -- X usage: expr [-e] expression expr: illegal option -- D usage: expr [-e] expression Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. And I'd like to install it in /usr/local/... so that all users can use it and it can be included in portaudit checks and checked for upgrades via ports system, etc etc. Thanks, Martin From owner-freebsd-database@FreeBSD.ORG Thu Jan 17 19:58:36 2008 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6049716A418; Thu, 17 Jan 2008 19:58:36 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2CADC13C455; Thu, 17 Jan 2008 19:58:36 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.2/8.14.2) with ESMTP id m0HJmeFu063967; Thu, 17 Jan 2008 13:48:40 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.2/8.14.2/Submit) id m0HJmdxR063966; Thu, 17 Jan 2008 13:48:39 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: martinko In-Reply-To: <478A7AFB.8040604@users.sf.net> References: <478A7AFB.8040604@users.sf.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 17 Jan 2008 13:48:39 -0600 Message-Id: <1200599319.6367.75.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port Cc: freebsd-database@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 19:58:36 -0000 On Sun, 2008-01-13 at 21:56 +0100, martinko wrote: > Marcin Cieslak wrote: > > martinko wrote: > >> Hallo, > >> > >> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? > >> > >> > >> > >> > >> Many thanks in advance! > > > > There is actually nothing to port, just download the non-JRE platform > > independent zip file, unpack and run "bash sqldeveloper" from > > sqldeveloper/sqldeveloper/bin directory. > > > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > > > --Marcin > > > > > Well, > > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash > screen. Btw, I've noticed output like this in terminal: When I first ran it, I had the same problem. Then I noticed that there was a prompt window behind the splash screen. I was able to grab the edge and pull the window over and answer the prompt. > > expr: illegal option -- X > usage: expr [-e] expression > expr: illegal option -- D > usage: expr [-e] expression > Linux expr has different options then the FreeBSD expr. I ignore these errors since they are testing paths and my install is working. > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. I wrote a wrapper script to handle this, ============================================= #!/usr/local/bin/zsh cd ~/src/Java/sqldeveloper/sqldeveloper/bin/ bash ./sqldeveloper $@ ============================================= ...you could also link /usr/local/bin/bash to /bin/bash. > And I'd like to install it in /usr/local/... so that all users can use > it and it can be included in portaudit checks and checked for upgrades > via ports system, etc etc. > > Thanks, > > Martin > > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org" From owner-freebsd-database@FreeBSD.ORG Thu Jan 17 21:20:45 2008 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C7816A41A for ; Thu, 17 Jan 2008 21:20:45 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 0A0E213C4FA for ; Thu, 17 Jan 2008 21:20:44 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so686757fka.11 for ; Thu, 17 Jan 2008 13:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; bh=WO3vn5kRQz+gIyza7lZq7NwV0925i0tmsakh6IcHFVI=; b=DnbA8rOL/jibqqLFUYte0HVTh/C/mmDFyayqyVdnVbfDkO3dtjapwWVgoj5Zjuz11T/mQUTRXKhPvteQWKbsntVNQN+vkfm9PEFbsB6Pn0RvibrjVOu4Q5jML/jP388ITayHpwVQUZ11zEjDji4J9bvZ3RNphyduMM1P/hWhvZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=OSgYCdLF5OKzB+Kdvz7cPM9feCGssiReIetirPYWqa1a3CHJrQ5GlsjjP8Oi3FOH59YzXcFzL41zVwGJUY10kFOS/Rhw6Jpavt2yuUAJ/nnXeneqIwXnWJrBsqcqBOK12i4vUlHAsGXYC3iYVXS1CTKYXxGTpmScglz3Ufyrtkw= Received: by 10.78.170.17 with SMTP id s17mr3562004hue.35.1200603181206; Thu, 17 Jan 2008 12:53:01 -0800 (PST) Received: from gauss.sanabria.es ( [83.33.208.242]) by mx.google.com with ESMTPS id 5sm4997445nfv.32.2008.01.17.12.52.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Jan 2008 12:53:00 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 9DF58157C; Thu, 17 Jan 2008 21:52:55 +0100 (CET) Date: Thu, 17 Jan 2008 21:52:55 +0100 From: Jose Garcia Juanino To: "Scott T. Hildreth" Message-ID: <20080117205255.GA1480@gauss.sanabria.es> Mail-Followup-To: "Scott T. Hildreth" , martinko , freebsd-database@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org References: <478A7AFB.8040604@users.sf.net> <1200599319.6367.75.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <1200599319.6367.75.camel@scotth.emsphone.com> X-Operating-System: FreeBSD 7.0-RC1 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-database@freebsd.org, martinko , freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 21:20:45 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El jueves 17 de enero a las 20:48:39 CET, Scott T. Hildreth escribi=F3: >=20 > On Sun, 2008-01-13 at 21:56 +0100, martinko wrote: > > Marcin Cieslak wrote: > > > martinko wrote: > > >> Hallo, > > >> > > >> Would someone care to port Oracle's SQL Developer to FreeBSD, please= ? > > >> > > >> > > >> > > >> > > >> Many thanks in advance! > > >=20 > > > There is actually nothing to port, just download the non-JRE platform > > > independent zip file, unpack and run "bash sqldeveloper" from > > > sqldeveloper/sqldeveloper/bin directory. > > >=20 > > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > >=20 > > > --Marcin > > >=20 > >=20 > >=20 > > Well, > >=20 > > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash=20 > > screen. Btw, I've noticed output like this in terminal: >=20 > When I first ran it, I had the same problem. Then I noticed that > there was a prompt window behind the splash screen. I was able to=20 > grab the edge and pull the window over and answer the prompt. In my window manager I was able to move that window to another place and answer "No" to the question. The window is hidden by the splash screen, but it is possible to move it by mean of the menu window in the task bar. >=20 > >=20 > > expr: illegal option -- X > > usage: expr [-e] expression > > expr: illegal option -- D > > usage: expr [-e] expression > >=20 >=20 > Linux expr has different options then the FreeBSD expr. I ignore=20 > these errors since they are testing paths and my install is working. A workaround is to prefix the arguments of expr command with a double hyphen (--) > > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. It does not matter as the script are executed under sh shell: $ sh sqldeveloper > I wrote a wrapper script to handle this, >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > #!/usr/local/bin/zsh >=20 > cd ~/src/Java/sqldeveloper/sqldeveloper/bin/ > bash ./sqldeveloper $@ >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > ...you could also link /usr/local/bin/bash to /bin/bash. I think it would be possible to run sqldeveloper without any reference to bash shell. I have submitted a problem report to port sqldeveloper: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D119756 Any feedback will be appreciated. Regards --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHj8AnFOo0zaS9RnIRAlHTAJ9+/Flx09SqXH/mbTER/73UpT8DegCeP1m1 SHz3EnLXV94SIhReC1WJgZ0= =NVYf -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--