Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e6739d06
Commit
e6739d06
authored
Nov 21, 2010
by
User Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FreeBSD build
parent
bf9f8290
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
2 deletions
+72
-2
build-howto.info
build-howto.info
+51
-0
build.sh
build.sh
+21
-2
No files found.
build-howto.info
View file @
e6739d06
...
...
@@ -241,3 +241,54 @@ Start wb and motif with
> wb_motif
> rt_xtt_motif
Build on FreeBSD
----------------
Install gnome2 (pkg_add -r gnome2)
Create a link /bin/bash to /usr/local/bin/bash (ln -s /usr/local/bin/bash /bin/bash)
Set default shell of the build user to bash (/usr/local/bin/bash)
Install BerkeleyDB 4.8 (pkg_add -r db48)
Install jdk (cd /usr/port/java/jdk16; make install clean)
Download and build source package antlr-2.7.7 from www.antlr.org
Hint: define MAKE to gmake before configure and build (export MAKE=gmake).
Install doxygen (cd /usr/devel/doxygen; make install clean)
Continue to build Proview following the instructions in section 2 or 3 above.
Increase the default value of kern.ipc.shmmax to 67108864. Add the following row to /etc/sysctl.conf
kern.ipc.shmmax=67108864
Build on Mac OS X 1.6
---------------------
Install xCode from the installation CD or download from ...
Download and install fink from www.finkproject.org.
Install gtk+2 (fink install gtk+2; fink install gtk+2-dev)
Download BerkeleyDB 4.8 from www.oracle.com/technetwork/database/berkeleydb/download
Install doxygen (fink install doxygen)
Download libiconv from http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
Continue to build Proview following the instructions in section 2 or 3 above.
Add the following rows to /etc/sysctl.conf
kern.sysv.symmax=167772160
kern.sysv.shmseg=16
kern.sysv.shmall=65536
build.sh
View file @
e6739d06
...
...
@@ -47,9 +47,27 @@ export pwre_env_db=$root/pwre_db
source
$pwre_bin
/pwre_function
# Add pwre environment
unamestr
=
`
eval uname
`
machine
=
`
eval uname
-m
`
if
[
$machine
==
"amd64"
]
;
then
machine
=
"x86_64"
fi
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
fi
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"macos"
hw
=
"x86_64"
elif
[
$unamestr
==
"FreeBSD"
]
;
then
os
=
"freebsd"
hw
=
$machine
else
os
=
"linux"
hw
=
$machine
fi
btype
=
"dbg"
os
=
"linux"
hw
=
"x86"
ename
=
$ver$hw
desc
=
$verl
...
...
@@ -58,6 +76,7 @@ pwre add $ename $root/src \"\" $root/rls $btype $os $hw "$desc"
pwre init
$ename
# Build
pwre configure
pwre create_all_modules
pwre build_all_modules
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment