Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
97a1d257
Commit
97a1d257
authored
17 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
try out building with gtk2.10 for linux.
parent
6b80473b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/runconfig
+24
-23
24 additions, 23 deletions
src/runconfig
with
24 additions
and
23 deletions
src/runconfig
+
24
−
23
View file @
97a1d257
...
...
@@ -25,11 +25,11 @@ case $opsys in
# NOTE that currently the LDFLAGS stuff does not get through the configure step
# and so does not work....not sure why....
popt
=
/nfs/team71/acedb/zmap/prefix/ALPHA
cc
_args
=
'CC=cc'
CC
_args
=
'CC=cc'
# N.B. level5 messages just produces too much output for everyday use....
cflags
_args
=
"CFLAGS=-I
$popt
/include -msg_enable level4"
ld
_args
=
"LDFLAGS=-rpath /usr/local/gtk2/lib:
$popt
/lib"
CFLAGS
_args
=
"CFLAGS=-I
$popt
/include -msg_enable level4"
LDFLAGS
_args
=
"LDFLAGS=-rpath /usr/local/gtk2/lib:
$popt
/lib"
locals
=
/nfs/team71/acedb/zmap/prefix/ALPHA/lib/pkgconfig
PKG_CONFIG_PATH
=
"
$locals
:/usr/local/gtk2/lib/pkgconfig"
...
...
@@ -50,34 +50,35 @@ case $opsys in
LD_LIBRARY_PATH
=
"
$locals
/lib"
export
LD_LIBRARY_PATH
cc
_args
=
'
CFLAGS=-Wall
'
cflags
_args
=
''
CC
_args
=
''
CFLAGS
_args
=
'
CFLAGS=-Wall
'
# make sure zmap executable has path to foocanvas library.
ld
_args
=
"LDFLAGS=-Xlinker -rpath -Xlinker
$locals
/lib"
;;
LDFLAGS
_args
=
"LDFLAGS=-Xlinker -rpath -Xlinker
$locals
/lib"
;;
*
)
locals
=
~zmap/prefix/LINUX
software
=
/software/acedb
PATH
=
"
$locals
/bin:
$PATH
"
# comment out 4 gtk 2.10
#
PATH="$software/bin:$locals/bin:$PATH" # uncomment 4 gtk 2.10
#
PATH="$locals/bin:$PATH" # comment out 4 gtk 2.10
PATH
=
"
$software
/bin:
$locals
/bin:
$PATH
"
# uncomment 4 gtk 2.10
export
PATH
#
PKG_CONFIG=$software/bin/pkg-config # uncomment 4 gtk 2.10
PKG_CONFIG
=
$software
/bin/pkg-config
# uncomment 4 gtk 2.10
PKG_CONFIG_PATH
=
"
$locals
/lib/pkgconfig"
#
PKG_CONFIG_PATH="$software/lib/pkgconfig:/usr/lib/pkgconfig:$locals/lib/pkgconfig" # uncomment 4 gtk 2.10
#
PKG_CONFIG_PATH="$locals/lib/pkgconfig"
PKG_CONFIG_PATH
=
"
$software
/lib/pkgconfig:/usr/lib/pkgconfig:
$locals
/lib/pkgconfig"
# uncomment 4 gtk 2.10
export
PKG_CONFIG_PATH
LD_LIBRARY_PATH
=
"
$locals
/lib"
#
LD_LIBRARY_PATH="$software/lib:$locals/lib" # uncomment 4 gtk 2.10
#
LD_LIBRARY_PATH="$locals/lib"
LD_LIBRARY_PATH
=
"
$software
/lib:
$locals
/lib"
# uncomment 4 gtk 2.10
export
LD_LIBRARY_PATH
cc
_args
=
'
CFLAGS=-Wall
'
cflags
_args
=
''
CC
_args
=
''
CFLAGS
_args
=
'
CFLAGS=-Wall -pg
'
# make sure zmap executable has path to foocanvas library.
ld_args
=
"LDFLAGS=-Xlinker -rpath -Xlinker
$locals
/lib"
#ld_args="LDFLAGS=-Xlinker -rpath -Xlinker $locals/lib -Xlinker -rpath -Xlinker $software/lib" # uncomment 4 gtk 2.10
;;
#LDFLAGS_args="LDFLAGS=-Xlinker -rpath -Xlinker $locals/lib" ;;
# LDFLAGS_args="LDFLAGS=-Xlinker -rpath -Xlinker $locals/lib -L$software/lib" ;;
LDFLAGS_args
=
"LDFLAGS=-pg -Xlinker -rpath -Xlinker
$locals
/lib -Xlinker -rpath -Xlinker
$software
/lib -L
$software
/lib"
;;
esac
;;
Darwin
)
...
...
@@ -109,9 +110,9 @@ case $opsys in
PKG_CONFIG_PATH
=
$ZMAP_PREFIX
/lib/pkgconfig:/usr/local/gtk2/lib/pkgconfig:/sw/lib/pkgconfig
cc
_args
=
""
cflags
_args
=
"CFLAGS=-Wall -I
$ZMAP_PREFIX
/include"
ld
_args
=
'LDFLAGS=-Xlinker -bind_at_load -L/sw/lib'
# added -L/sw/lib for the imac desktop
CC
_args
=
""
CFLAGS
_args
=
"CFLAGS=-Wall -I
$ZMAP_PREFIX
/include"
LDFLAGS
_args
=
'LDFLAGS=-Xlinker -bind_at_load -L/sw/lib'
# added -L/sw/lib for the imac desktop
export
PKG_CONFIG_PATH
;;
...
...
@@ -120,14 +121,14 @@ case $opsys in
esac
echo
"
$script
: Running "
$root
/configure
--enable-debug
--enable-shtml-doc
$
cc
_args
"
$
cflags
_args
"
"
$
ld
_args
"
"
$@
"
echo
"
$script
: Running "
$root
/configure
--enable-debug
--enable-shtml-doc
$
CC
_args
"
$
CFLAGS
_args
"
"
$
LDFLAGS
_args
"
"
$@
"
echo
"=========================================================================="
# run the configure.......watch out for the quoting, sometimes we want the variable to
# be interpreted as a single cmdline arg, sometimes as multiple ones.
$root
/configure
--enable-debug
--enable-shtml-doc
$
cc
_args
"
$
cflags
_args
"
"
$
ld
_args
"
"
$@
"
||
msgAndExit
"configure script failed"
$root
/configure
--enable-debug
--enable-shtml-doc
$
CC
_args
"
$
CFLAGS
_args
"
"
$
LDFLAGS
_args
"
"
$@
"
||
msgAndExit
"configure script failed"
exit
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment