Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Oracle SQL Developer

13 views
Skip to first unread message

martinko

unread,
Dec 16, 2007, 7:58:41 AM12/16/07
to freebsd-...@freebsd.org, freebs...@freebsd.org, freebs...@freebsd.org
Hallo,

Would someone care to port Oracle's SQL Developer to FreeBSD, please ?

<http://www.oracle.com/technology/products/database/sql_developer/index.html>

Many thanks in advance!

Martin

martinko

unread,
Jan 13, 2008, 3:56:27 PM1/13/08
to freebs...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
Marcin Cieslak wrote:
> 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

Scott T. Hildreth

unread,
Jan 17, 2008, 2:48:39 PM1/17/08
to martinko, freebsd-...@freebsd.org, freebs...@freebsd.org, freebs...@freebsd.org

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 ?
> >>
> >> <http://www.oracle.com/technology/products/database/sql_developer/index.html>
> >>
> >>
> >> 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-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-databa...@freebsd.org"

Jose Garcia Juanino

unread,
Jan 17, 2008, 3:52:55 PM1/17/08
to Scott T. Hildreth, freebsd-...@freebsd.org, martinko, freebs...@freebsd.org, freebs...@freebsd.org
El jueves 17 de enero a las 20:48:39 CET, Scott T. Hildreth escribió:

>
> 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 ?
> > >>
> > >> <http://www.oracle.com/technology/products/database/sql_developer/index.html>
> > >>
> > >>
> > >> 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.

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.

>
> >
> > 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.

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,
>
> =============================================
>
> #!/usr/local/bin/zsh
>
> cd ~/src/Java/sqldeveloper/sqldeveloper/bin/
> bash ./sqldeveloper $@
>
> =============================================
>
> ...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=119756

Any feedback will be appreciated.


Regards

0 new messages